agentica-claude-proxy
SolidGuide for integrating Agentica SDK with Claude Code CLI proxy
AI & Automation 501 stars
42 forks Updated yesterday MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Agentica-Claude Code Proxy Integration
Use this skill when developing or debugging the Agentica-Claude proxy integration.
## When to Use
- Setting up Agentica agents to use Claude Code tools
- Debugging agent hallucination issues
- Fixing permission errors in file operations
- Understanding the REPL response format
## Architecture Overview
```
Agentica Agent → S_M_BASE_URL → Claude Proxy → claude -p → Claude CLI (with tools)
(localhost:2345) (localhost:8080)
```
## Critical Requirements
### 1. --allowedTools Flag (REQUIRED)
Claude CLI in `-p` mode restricts file operations. You MUST add:
```python
subprocess.run([
"claude", "-p", prompt,
"--append-system-prompt", system_prompt,
"--allowedTools", "Read", "Write", "Edit", "Bash", # REQUIRED
])
```
Without this, agents will report "permission denied" for Write/Edit operations.
### 2. SSE Streaming Format (REQUIRED)
Agentica expects SSE streaming, not plain JSON:
```python
# Response format
yield f"data: {json.dumps(chunk)}\n\n"
yield "data: [DONE]\n\n"
```
### 3. REPL Response Format (REQUIRED)
Agents MUST return results as Python code blocks with a return statement:
```python
return "your result here"
```
Agentica's REPL parser extracts code between \`\`\`python and \`\`\`.
## Anti-Hallucination Prompt Engineering
Agents will hallucinate success without actually using tools unless you explicitly warn them:
```
## ANT...
Details
- Author
- vibeeval
- Repository
- vibeeval/vibecosystem
- Created
- 2 months ago
- Last Updated
- yesterday
- Language
- C#
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
agentica-claude-proxy
Guide for integrating Agentica SDK with Claude Code CLI proxy
3,809 Updated 4 months ago
parcadei AI & Automation Solid
agentica-server
Agentica server + Claude proxy setup - architecture, startup sequence, debugging
501 Updated yesterday
vibeeval AI & Automation Solid
agentica-server
Agentica server + Claude proxy setup - architecture, startup sequence, debugging
3,809 Updated 4 months ago
parcadei