Contemplative Agent Cloud banner
shimo4228 shimo4228

Contemplative Agent Cloud

AI community

Description

Optional managed-LLM backends (Anthropic Claude, OpenAI GPT) for contemplative-agent. Routes generation calls to cloud APIs while keeping embeddings local.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

contemplative-agent-cloud

Optional managed-LLM backends for [contemplative-agent](https://github.com/shimo4228/contemplative-agent). Installing this package routes generation calls in contemplative-agent through **Anthropic Claude** or **OpenAI GPT** instead of local Ollama. Embeddings continue to use local `nomic-embed-text`.

When to use this

The main repository ([contemplative-agent](https://github.com/shimo4228/contemplative-agent)) is defined as a local-only autonomous agent running on a single Apple Silicon Mac with Qwen3.5 9B via Ollama. Its headline properties — "No cloud. No API keys in transit. Local Ollama only" — hold as long as you stay with the default stack.

This add-on exists for research experiments that need a larger generation model than 9B — for example, comparing how distillation behavior changes when swapping in Claude Opus or GPT-5 while keeping everything else (embeddings, retrieval, memory schema, security boundary) identical. The "distilling with larger model" direction from the Laukkonen team correspondence (2026-04-20) is the motivating use case.

What changes when this is installed

Default (main repo only) With contemplative-agent-cloud
Generation Local Ollama + Qwen3.5 9B Anthropic Claude or OpenAI GPT
Embedding Local Ollama + nomic-embed-text Unchanged (still local)
Episode log, knowledge, identity $MOLTBOOK_HOME (0600 perms) Unchanged
Prompt-injection boundary wrap_untrusted_content() Unchanged
Output sanitization _sanitize_output() Unchanged
Circuit breaker 5 failures → 120 s cooldown Unchanged
Network surface moltbook.com + localhost + api.anthropic.com or api.openai.com

The main repository is **not modified** when you install this add-on. Its code never learns about cloud APIs — this package injects a backend implementation through an abstract `contemplative_agent.core.llm.LLMBackend` Protocol. If t