Use CellCog as an AI execution layer for OpenClaw agents. This guide covers setup, usage, the full ClawHub skills catalog, and advanced features.
CellCog provides multimodal AI capabilities to OpenClaw agents through:
When an OpenClaw agent needs deep research, content creation, or multimodal output, it delegates to CellCog and continues with other tasks. CellCog notifies the agent when results are ready.
See API Keys Guide for detailed instructions.
bashpip install cellcog
Set via environment variable:
bashexport CELLCOG_API_KEY="sk_your_api_key_here"
The SDK auto-detects the environment variable:
pythonfrom cellcog import CellCogClient client = CellCogClient(agent_provider="openclaw")
Install the core skill (required):
bashclawhub install cellcog
Install capability-specific skills as needed:
bashclawhub install deep-research-cellcog # Deep research clawhub install video-generation-cellcog # Video generation clawhub install image-generation-cellcog # Image generation clawhub install audio-generation-cellcog # Audio/speech clawhub install dashboard-web-app-cellcog # Interactive dashboards clawhub install presentation-slides-cellcog # Presentations clawhub install pdf-document-generation-cellcog # Documents (PDF, DOCX) clawhub install coding-agent-cellcog # Coding agent (co-work)
See the full Skills Catalog below.
python# Agent sends request — returns IMMEDIATELY result = client.create_chat( prompt="Research quantum computing advances in 2026", notify_session_key="agent:main:main", task_label="quantum-research", chat_mode="agent" ) # Agent continues with other work... # CellCog daemon monitors progress via WebSocket # Agent receives notification when complete
create_chat() — returns instantlypythonresult = client.send_message( chat_id="abc123", message="Now create a PDF summary of the findings", notify_session_key="agent:main:main", task_label="summary" )
For sequential workflows where you need results before proceeding:
python# Block until CellCog finishes completion = client.wait_for_completion(chat_id="abc123", timeout=1800) # Returns: {"chat_id", "is_operating", "status", "status_message"}
is_operating is False, the chat has completed and results have been deliveredTrue, timeout was reached but CellCog is still working — the daemon will deliver results automaticallypython# Get full chat history history = client.get_history(chat_id="abc123") # Quick status check status = client.get_status(chat_id="abc123")
For tasks taking >4 minutes, agents automatically receive progress updates:
text⏳ quantum-research - CellCog is still working Recent activity from CellCog (newest first): • [just now] Generating comparison charts • [1m ago] Analyzing breakthrough in error correction • [3m ago] Searching for quantum computing research papers Chat ID: abc123
The daemon collects progress messages from CellCog's WebSocket and delivers them to your agent every 4 minutes, so your agent always knows what's happening.
| Skill | Install | Use Case |
|---|---|---|
cellcog 🧠 | clawhub install cellcog | Core — SDK setup, complete API reference |
deep-research-cellcog 🔬 | clawhub install deep-research-cellcog | Deep research, market analysis, competitive intelligence |
video-generation-cellcog 🎬 | clawhub install video-generation-cellcog | AI video generation, lipsync, marketing videos |
cinematic-video-cellcog 🎬 | clawhub install cinematic-video-cellcog | Grand cinematics, short films, music videos, brand films |
image-generation-cellcog 🎨 | clawhub install image-generation-cellcog | Image generation, consistent characters, style transfer |
audio-generation-cellcog 🎵 | clawhub install audio-generation-cellcog | Text-to-speech, voiceovers |
music-generation-cellcog 🎶 | clawhub install music-generation-cellcog | Original music — instrumentals, vocals, scores, jingles |
dashboard-web-app-cellcog 📊 | clawhub install dashboard-web-app-cellcog | Interactive dashboards, data visualization |
presentation-slides-cellcog 📽️ | clawhub install presentation-slides-cellcog | Presentations (PDF default, PPTX on request) |
excel-spreadsheet-cellcog 📈 | clawhub install excel-spreadsheet-cellcog | Spreadsheets, financial models |
pdf-document-generation-cellcog 📄 | clawhub install pdf-document-generation-cellcog | PDFs, reports, contracts, certificates |
meme-generator-cellcog 😂 | clawhub install meme-generator-cellcog | AI meme generation |
podcast-generation-cellcog 🎙️ | clawhub install podcast-generation-cellcog | Full podcast production (dialogue + intro/outro music) |
logo-brand-identity-cellcog 🏷️ | clawhub install logo-brand-identity-cellcog | Brand identity, logos, color palettes, brand kits |
comic-manga-generator-cellcog 📚 | clawhub install comic-manga-generator-cellcog | Comics, manga, webtoons, character consistency |
game-asset-generation-cellcog 🎮 | clawhub install game-asset-generation-cellcog | Game assets, sprites, tilesets, game design docs |
instagram-reels-tiktok-cellcog 📸 | clawhub install instagram-reels-tiktok-cellcog | Instagram/TikTok — Reels, carousels, Stories |
tutoring-education-cellcog 📚 | clawhub install tutoring-education-cellcog | Tutoring, study guides, homework help |
creative-writing-cellcog 📖 | clawhub install creative-writing-cellcog | Fiction, screenplays, world building |
brainstorming-strategy-cellcog 💭 | clawhub install brainstorming-strategy-cellcog | Collaborative thinking partner (conversational) |
youtube-video-cellcog 📺 | clawhub install youtube-video-cellcog | YouTube — Shorts, tutorials, thumbnails |
stock-analysis-cellcog 💰 | clawhub install stock-analysis-cellcog | Stock analysis, valuation models, financial research |
ui-prototype-wireframe-cellcog ✏️ | clawhub install ui-prototype-wireframe-cellcog | UI/UX wireframes, app mockups, interactive prototypes |
crypto-research-cellcog 🪙 | clawhub install crypto-research-cellcog | Token analysis, DeFi research, on-chain metrics |
data-analysis-cellcog 🔢 | clawhub install data-analysis-cellcog | Data science, statistical analysis, visualization |
3d-model-generation-cellcog 🧊 | clawhub install 3d-model-generation-cellcog | 3D model generation — any input to GLB |
resume-cover-letter-cellcog 📝 | clawhub install resume-cover-letter-cellcog | ATS-optimized resumes, cover letters |
legal-documents-cellcog ⚖️ | clawhub install legal-documents-cellcog | Contracts, NDAs, terms of service, compliance |
nano-banana-image-cellcog 🍌 | clawhub install nano-banana-image-cellcog | Banana × CellCog — image generation |
seedance-video-generation-cellcog 🌱 | clawhub install seedance-video-generation-cellcog | Seedance × CellCog — video production |
travel-planning-cellcog ✈️ | clawhub install travel-planning-cellcog | Trip itineraries, travel research |
news-briefing-cellcog 📰 | clawhub install news-briefing-cellcog | News briefings, digests, trend monitoring |
project-management-cellcog 📂 | clawhub install project-management-cellcog | Projects, documents, context trees, memory management |
coding-agent-cellcog 💻 | clawhub install coding-agent-cellcog | Coding agent — code generation, debugging, refactoring, co-work |
pair-programming-cellcog 🖥️ | clawhub install pair-programming-cellcog | Co-work — direct machine access via CellCog Desktop |
avatar-creation-cellcog 🧑🎤 | clawhub install avatar-creation-cellcog | Avatar management — images, voice cloning, personality for consistent characters |
diagram-flowchart-cellcog 📐 | clawhub install diagram-flowchart-cellcog | Diagrams — flowcharts, architecture, mind maps |
gif-generator-cellcog 🎞️ | clawhub install gif-generator-cellcog | GIF creation and animation |
sticker-generator-cellcog 🎟️ | clawhub install sticker-generator-cellcog | Sticker packs and custom emoji |
deep-research-cellcog): Citations are NOT automatic — explicitly request them in your prompt if needed.presentation-slides-cellcog): PDF is the default and recommended output. PPTX quality is lower (~30-40% of PDF). Only request PPTX if editing is essential.meme-generator-cellcog): Agent mode only. Comedy is hard for AI — agent curation after generation is mandatory.podcast-generation-cellcog): Agent mode. Default output: [Intro Music] → [Dialogue] → [Outro Music].brainstorming-strategy-cellcog): Conversational by design. Uses send_message() for back-and-forth, not fire-and-forget.cinematic-video-cellcog): Agent Team recommended. Full production pipeline — script, character design, scene generation, animation, score, editing.music-generation-cellcog): Agent mode. 5 seconds to 10 minutes. Royalty-free.stock-analysis-cellcog): Agent Team recommended for deep analysis. Agent mode for quick lookups.project-management-cellcog): Agent mode. Context tree markdown view is the key differentiator for agents building memory systems.coding-agent-cellcog): Agent mode. Requires CellCog Desktop (Co-work) for direct codebase access. Pass hc_enabled=True and hc_working_directory to create_chat(). Multimedia and document tools load on demand if needed.| Mode | API Value | Min Credits | Best For |
|---|---|---|---|
| Agent | "agent" | 60 | Fast tasks, most use cases — including coding and co-work |
| Agent Creative | "agent creative" | 60 | Web/UI design, 3D generation, creative work |
| Agent Team | "agent team" | 1,000 | Deep research, complex deliverables |
| Agent Team Max | "agent team max" | 2,000 | Maximum depth for high-stakes work |
Note:
"agent core"is deprecated — requests using it are automatically routed to Agent mode.
python# Agent mode (fast, 1x cost) client.create_chat(prompt="...", chat_mode="agent") # Agent Team mode (deep, 4x cost) client.create_chat(prompt="...", chat_mode="agent team")
Default to Agent mode for most tasks. Use Agent Team when you need deep, multi-angled research or complex multi-deliverable outputs.
You can include local file references in your prompt. The SDK automatically uploads them:
pythonprompt = """ Analyze this sales data and create a summary report. """ # Attach files via the SDK's file handling methods result = client.create_chat( prompt=prompt, notify_session_key="agent:main:main", task_label="analysis" )
When CellCog generates files (reports, images, videos, etc.), they are automatically downloaded to your specified output path when the task completes.
CellCog limits parallel chats to ensure reliable performance. Each 500 credits of effective balance allows 1 parallel (operating) chat, up to 8 max.
| Effective Balance | Max Parallel Chats |
|---|---|
| 0–499 | 1 |
| 500–999 | 2 |
| 1,000–1,499 | 3 |
| 3,500+ | 8 (cap) |
If the limit is exceeded, create_chat() raises MaxConcurrencyError. This is NOT a payment error — either wait for a running chat to finish or inform the user that adding credits unlocks more parallel slots.
CellCog's internal agents use a general-purpose memory system called Context Trees — hierarchical document stores attached to projects, agent roles, and organizations. The same system is now available to your OpenClaw agents.
The SDK includes full project, document, and context tree management. Your agents can:
Install the project-management-cellcog ClawHub skill:
bashclawhub install project-management-cellcog
This gives your agents access to project creation, document management, and context tree operations — the same memory infrastructure used across the entire CellCog platform.
See Memory System & Context Trees Guide for a detailed explanation of how context trees work and best practices for structuring agent memory.
Raised when the account has insufficient credits for the requested mode.
Attributes:
min_credits_required: Minimum credits neededcurrent_balance: User's current balancechat_mode_display: Human-readable mode nametop_ups: List of top-up payment linksPresent the top-up links to your human so they can add credits and retry.
Raised when too many chats are running in parallel.
Attributes:
operating_count: Currently running chatsmax_parallel: Maximum allowed with current balanceThis is temporary — wait for a chat to finish, or inform the user that more credits unlock more parallel slots. Do NOT present payment links for this error.
sk_)bash# Update the cellcog skill first clawhub update cellcog # Then install the required SDK version pip install cellcog
bash# Check if daemon is running cat ~/.cellcog/daemon.pid ps aux | grep cellcog # View daemon logs tail -f ~/.cellcog/daemon.log