Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
parcadei avatar

Agentica Claude Proxy

  • 466 installs
  • 3.9k repo stars
  • Updated January 26, 2026
  • parcadei/continuous-claude-v3

agentica-claude-proxy is an agent integration skill that wires Agentica SDK agents through a Claude Code CLI proxy for developers who need tool-calling agents with correct permissions and REPL response handling.

About

agentica-claude-proxy is a continuous-claude-v3 skill for developing and debugging Agentica-Claude proxy integration. Architecture routes Agentica agents through S_M_BASE_URL at localhost:2345 to a Claude proxy at localhost:8080, then claude -p into Claude CLI with tools. The skill covers setup, permission errors in file operations, agent hallucination debugging, and REPL response format requirements including --allowedTools configuration. Allowed tools are Read and Bash per the skill manifest. Developers reach for agentica-claude-proxy when building custom Agentica agents that must invoke Claude Code tools through a local proxy instead of direct API calls.

  • agentica-claude-proxy

Agentica Claude Proxy by the numbers

  • 466 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #905 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill agentica-claude-proxy

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs466
repo stars3.9k
Last updatedJanuary 26, 2026
Repositoryparcadei/continuous-claude-v3

How do you connect Agentica agents to Claude Code CLI?

Use agentica-claude-proxy for development tasks

Who is it for?

Agent developers wiring Agentica SDK to Claude Code CLI via a local proxy on ports 2345 and 8080.

Skip if: Developers using only direct Anthropic API calls without Agentica or Claude CLI should skip agentica-claude-proxy.

When should I use this skill?

A developer sets up Agentica agents with Claude Code tools, hits proxy permission errors, or debugs REPL response format issues.

What you get

Working proxy integration, corrected --allowedTools config, and debug notes for REPL responses.

  • Proxy integration config
  • REPL format debugging notes

Files

SKILL.mdMarkdownGitHub ↗

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:

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:

# 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:

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:

## ANTI-HALLUCINATION WARNING

**STOP AND READ THIS CAREFULLY:**

You have access to these tools: Read, Write, Edit, Bash

When the task asks you to create/modify/run something:
1. FIRST: Actually invoke the tool (Read, Write, Edit, or Bash)
2. SECOND: Wait for the tool result
3. THIRD: Then return your answer based on what actually happened

**DO NOT** skip the tool invocation and just claim success!

If you didn't invoke a tool, you CANNOT claim the action succeeded.

Path Sandboxing

Both Claude Code and Agentica have sandboxes:

  • /tmp/ paths are blocked by Claude Code
  • Files outside project directory blocked by Agentica

Solution: Use project-relative paths like workspace/ instead of /tmp/

Debugging

Check Agent Logs

cat logs/agent-<N>.log

Note: Logs only show final conversational response, not tool invocations.

Test Proxy Directly

curl -s http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "claude", "messages": [{"role": "user", "content": "Create file at workspace/test.txt"}], "stream": false}'

Verify File Operations

# After agent claims to create file
ls -la workspace/test.txt
cat workspace/test.txt

Server Commands

Start Servers

# Terminal 1: Proxy
uv run python scripts/agentica/claude_proxy.py --port 8080

# Terminal 2: Agentica Server
cd workspace/agentica-research/agentica-server
INFERENCE_ENDPOINT_URL=http://localhost:8080/v1/chat/completions uv run agentica-server --port 2345

Use Swarm

S_M_BASE_URL=http://localhost:2345 uv run python your_script.py

Health Checks

curl http://localhost:8080/health  # Proxy
curl http://localhost:2345/health  # Agentica

Reference Files

  • Proxy implementation: scripts/agentica/claude_proxy.py
  • REPL_BASELINE prompt: scripts/agentica/claude_proxy.py:49-155
  • Comprehensive test: workspace/test_swarm_all_tools.py
  • DependencySwarm: scripts/agentica/dependency_swarm.py

Common Errors

ErrorCauseFix
"Permission denied"Missing --allowedToolsAdd --allowedTools Read Write Edit Bash
Agent claims success but file not createdHallucinationAdd anti-hallucination prompt section
"Cannot access /tmp/..."Sandbox restrictionUse project-relative paths
"APIConnectionError"Wrong response formatUse SSE streaming (data: {...}\n\n)
"NameError: view_file"Agent using REPL functionsAdd REPL_BASELINE with native tool examples

Related skills

How it compares

Use agentica-claude-proxy when bridging Agentica SDK to Claude CLI locally instead of generic Anthropic API client setup guides.

FAQ

What is the agentica-claude-proxy architecture?

agentica-claude-proxy routes Agentica agents through S_M_BASE_URL at localhost:2345 to a Claude proxy at localhost:8080, then invokes claude -p on Claude CLI with tools for file and shell operations.

Which tools does agentica-claude-proxy allow?

The agentica-claude-proxy skill manifest lists allowed tools Read and Bash, and documents --allowedTools configuration needed to avoid permission errors during proxy integration.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.