What Are Coding Agents?
Coding agents are specialized programs that can communicate with LLM APIs in an intelligent loop and execute tool calls. When you mention@blocks, one of these agents processes your request, understands your codebase, and provides assistance. Each agent has different capabilities, model architectures, and optimal use cases.
Available Agents
Blocks currently supports six coding agents:Claude Code
The go-to for many developers
Codex
High-reasoning capabilities for complex tasks and critical reviews
Gemini CLI
Best for simple tasks
OpenCode
Open source supporting Anthropic and OpenAI
Cursor CLI
VS Code-based with parallel agents
Sisyphus
Multi-agent orchestration system
Agent Comparison
Here’s a quick comparison to help you choose:| Feature | Claude Code | Codex | Gemini CLI | OpenCode | Cursor CLI | Sisyphus |
|---|---|---|---|---|---|---|
| Provider | Anthropic | OpenAI | Anthropic, OpenAI | Cursor | Multi-provider | |
| Latest Models | Claude 4.5 Sonnet, Claude 4.5 Opus | GPT 5.2 | Gemini 3 Pro | Claude 4.5, GPT-5 | Cursor 2.0, GPT-5, Claude 4.5 | Multi-agent system |
| Best For | High-performance and consistency | High complexity work | Simple tasks | Privacy, open source | VS Code integration | Complex multi-agent tasks |
| Status | Stable | Stable | Experimental | Experimental | Stable | Experimental |
| Can Set as Default Agent? | Yes | Yes | No | Yes | No | No |
Gemini CLI, Cursor CLI, and Sisyphus cannot be set as default agents. Use slash commands to invoke them. OpenCode is experimental but can be set as default.
Setting Up Agents
To use any agent, you need to configure authentication:Choose Authentication Method
Each agent supports different authentication options:Claude Code:
- Anthropic API key (Get one)
- Anthropic subscription (Claude Pro/Team)
- AWS Bedrock API key (for enterprise)
- OpenAI API key (Get one)
- OpenAI subscription (ChatGPT Plus/Team)
- Google AI API key (Get one)
- Cursor API key (requires Cursor Pro/Team subscription)
Configure in Dashboard
- Go to Blocks Dashboard
- Navigate to Dashboard → Agents
- Select your agent and authentication method
- Enter credentials or connect subscription
Set Default Agent
When multiple agents are configured, choose which agent to use by default:
- In Dashboard → Agents
- Select “Set as default agent” from the preferred agent’s dropdown menu
Using Different Agents
Once configured, you have two ways to use specific agents:1. Default Agent
Your default agent is used automatically for all requests unless you specify otherwise:2. Slash Commands
Override the default agent for specific requests using slash commands:Agent-Specific Details
Each agent has unique capabilities and configuration options. Learn more about each:Claude Code
Detailed guide to Claude Code capabilities, models, and best practices
Codex
Complete Codex documentation including model selection and tips
Gemini CLI
Experimental Gemini CLI features and setup instructions
OpenCode
Open source agent with Anthropic and OpenAI support, privacy-focused
Cursor CLI
VS Code-based agent with parallel execution capabilities
Sisyphus
Multi-agent orchestration system for complex workflows
Security
Your API keys and subscription tokens are:- Encrypted at rest and in transit
- Never shared with other users
- Only used to authenticate the agent on your behalf
- Workspace-specific (each workspace has its own keys)
Cost Considerations
When you use Blocks:- API calls are made using your API keys or Subscriptions
- You are billed directly by the AI provider (Anthropic, OpenAI, or Google)
- Blocks does not charge for API usage
- Monitor your usage in each provider’s console
- Check Anthropic Pricing for Claude Code
- Check OpenAI Pricing for Codex
- Check Google AI Pricing for Gemini CLI
Switching Between Agents
You can change your default agent at any time:- Go to Blocks Dashboard → Agents
- Change the Default Agent selection
Next Steps
Claude Code Guide
Learn about Claude Code’s capabilities and best practices
Codex Guide
Explore Codex’s features and optimal use cases
Gemini CLI Guide
Discover experimental Gemini CLI features
OpenCode Guide
Anthropic and OpenAI support with open source transparency
Cursor CLI Guide
VS Code integration with parallel agent support
Sisyphus Guide
Advanced multi-agent orchestration system
Set Default Agent
Configure your preferred default agent

