Overview
The Coding capability lets CORE spawn coding agents like Claude Code on your machine. Start a coding session from WhatsApp, check its progress from the web dashboard, and let it work autonomously while you’re away from your computer. Sessions run in the background and persist their output, so you can resume or read results anytime.Supported Agents
Currently supported:- Claude Code - Anthropic’s CLI coding agent
Commands
Start a Session
- Agent to use (e.g.,
claude-code) - Working directory
- Initial prompt
List Sessions
Read Session Output
Resume a Session
Close a Session
Gateway Tools
When the gateway is running, CORE can use these coding tools:coding_start_session
Start a new coding session:model- Specific model to usesystemPrompt- Custom system prompt
coding_resume_session
Resume an existing session:coding_read_session
Read session output:coding_close_session
Close a session:coding_list_sessions
List all sessions (no parameters).Session Lifecycle
Configuration
Configure agents before first use:Use Cases
Remote bug fixing: You’re at dinner, a P0 bug comes in. Message CORE: “Fix the payment processing error in checkout.ts”. CORE spawns Claude Code, provides context from memory, and works on the fix. Async code reviews: “Review the changes in the auth PR and suggest improvements.” CORE starts a session, analyzes the code, and sends you a summary when done. Automated refactoring: “Migrate all API routes from Express to Hono.” CORE works through the codebase file by file, and you check in periodically to see progress. Night shifts: Set a reminder: “At 2am, run the database migration script and report any errors.” CORE handles it while you sleep.Notes
- Sessions are stored in
~/.corebrain/sessions.json - Session output is read from the agent’s native session files
- Multiple sessions can run concurrently
- Sessions persist across gateway restarts
