Agents
Claude Code
Using Claude Code CLI as your AI agent
Claude Code is Anthropic's official CLI for Claude. It provides full Claude capabilities including extended thinking and local file access.
Installation
Via npm
npm install -g @anthropic-ai/claude-codeVia Homebrew (macOS)
brew install anthropic/tap/claude-codeVerify Installation
claude --versionConfiguration
Anthropic API Key
Claude Code requires an Anthropic API key:
- Get a key from console.anthropic.com
- Set the environment variable:
Or configure in Project Settings under Environment Variables.export ANTHROPIC_API_KEY=sk-ant-...
Plugin Settings
In Project Settings > Plugins > Agent Integration Kit:
| Setting | Description |
|---|---|
| Claude Code Path | Path to claude executable (leave blank if in PATH) |
| Environment Variables | Set ANTHROPIC_API_KEY here |
Features
Extended Thinking
Claude Code supports Claude's extended thinking feature. When enabled:
- Claude shows its reasoning process
- Displayed in collapsible "Thought" blocks in the chat UI
- Useful for understanding complex decisions
Tool Calling
Claude Code has full tool calling support:
- All 9 plugin tools available
- Permission requests for sensitive operations
- Streaming tool call results
Session Management
- Conversations persist within a session
- Start new sessions to clear context
- Save/load sessions for later
Modes
Claude Code supports different operational modes:
| Mode | Description |
|---|---|
| Normal | Standard operation with all tools |
| Architect | Planning-focused, reduced tool access |
| Code | Code-generation focused |
Switch modes from the dropdown in the chat window.
Troubleshooting
"Claude Code not found"
- Ensure Claude Code is installed:
claude --version - Set the full path in Project Settings
- Check PATH environment variable
"Invalid API key"
- Verify ANTHROPIC_API_KEY is set
- Check the key is valid at console.anthropic.com
- Ensure key has sufficient credits
Connection Issues
- Claude Code communicates via stdio
- Check no other process is blocking stdin/stdout
- Try restarting the editor