Overview
Coding agents are responsible for generating and modifying code based on prompts. Kapso supports multiple agents, each with different strengths.Available Agents
Agent Interface
All agents implementCodingAgentInterface:
Aider (Default)
Git-centric pair programming with diff-based editing.Features
- Automatic git commits
- Diff-based file editing
- Context-aware code understanding
- Cost tracking
Configuration
Usage
Claude Code
Anthropic’s Claude Code CLI for complex tasks.Features
- Advanced reasoning
- Complex refactoring
- MCP tool support
- Explicit OAuth, Anthropic API-key, and AWS Bedrock authentication
Installation
Configuration
auth_mode accepts four values:
The low-level Claude Code adapter defaults to
auto. Kapso’s generic search
presets continue to default to bedrock, so upgrading does not silently switch
an existing AWS experiment to a developer’s local subscription.
Explicit modes remove conflicting provider flags and higher-precedence
credentials from the Claude subprocess environment. For example, oauth
ignores an inherited ANTHROPIC_API_KEY, while api_key ignores an inherited
Bedrock flag. The parent process environment is never modified.
OAuth
Authenticate the local Claude CLI, then chooseoauth:
CLAUDE_CODE_OAUTH_TOKEN is also accepted.
See Anthropic’s authentication documentation
for token setup and the terms that apply to subscription credentials.
Anthropic API key
AWS Bedrock
For AWS Bedrock:AWS_BEARER_TOKEN_BEDROCK or AWS_PROFILE can be used instead of access keys.
Compatibility migration
use_bedrock remains supported for one compatibility period and emits a
DeprecationWarning:
auth_mode wins. New configurations should only
use auth_mode.
Gemini
Google Gemini SDK for fast generation.Features
- Fast response times
- Good for iterative refinement
- Cost-effective
Configuration
OpenHands
OpenHands agent with sandboxed execution.Installation
Features
- Sandboxed execution
- Docker-based isolation
- Full system access in sandbox
Configuration
CodingResult
All agents return a standardized result:Structured JSON Output
When used withkapso.evolve(), the developer agent must return a structured JSON at the end of its response: