Pre-built AI agents for opcode powered by Claude Code
Choose from these icon options when creating agents:
bot- 🤖 General purposeshield- 🛡️ Security relatedcode- 💻 Developmentterminal- 🖥️ System/CLIdatabase- 🗄️ Data operationsglobe- 🌐 Network/Webfile-text- 📄 Documentationgit-branch- 🌿 Version control
- In opcode, navigate to CC Agents
- Click the Import dropdown button
- Select From GitHub
- Browse available agents from the official repository
- Preview agent details and click Import Agent
- Download a
.opcode.jsonfile from this repository - In opcode, navigate to CC Agents
- Click the Import dropdown button
- Select From File
- Choose the downloaded
.opcode.jsonfile
- In opcode, navigate to CC Agents
- Find your agent in the grid
- Click the Export button
- Choose where to save the
.opcode.jsonfile
All agents are stored in .opcode.json format with the following structure:
{
"version": 1,
"exported_at": "2025-01-23T14:29:58.156063+00:00",
"agent": {
"name": "Your Agent Name",
"icon": "bot",
"model": "sonnet|opus",
"system_prompt": "Your agent's instructions...",
"default_task": "Default task description"
}
}The agent import/export system is built on a robust architecture:
- Storage: SQLite database stores agent configurations
- Export: Serializes agent data to JSON with version control
- Import: Validates and deduplicates agents on import
- GitHub Integration: Fetches agents via GitHub API
- UI Components:
CCAgents.tsx- Main agent management interfaceGitHubAgentBrowser.tsx- GitHub repository browserCreateAgent.tsx- Agent creation/editing form
- File Operations: Native file dialogs for import/export
- Real-time Updates: Live agent status and execution monitoring
- Version Control: Each agent export includes version metadata
- Duplicate Prevention: Automatic naming conflict resolution
- Model Selection: Choose between Opus, Sonnet, and Haiku models
- GitHub Integration: Direct import from the official repository
We welcome agent contributions! Here's how to add your agent:
Design and test your agent in opcode with a clear, focused purpose.
Export your agent to a .opcode.json file with a descriptive name.
- Fork this repository
- Add your
.opcode.jsonfile to thecc_agentsdirectory - Update this README with your agent's details
- Submit a PR with a description of what your agent does
- Single Purpose: Each agent should excel at one specific task
- Clear Documentation: Write comprehensive system prompts
- Model Aliases: Use
sonnetfor general purpose tasks (fast and efficient),opusfor complex reasoning and advanced capabilities. Model aliases automatically use the latest version of each model family. - Naming: Use descriptive names that clearly indicate the agent's function
These agents are provided under the same license as the opcode project. See the main LICENSE file for details.
Built with ❤️ by the opcode community