Skip to content
parcadei avatar

Agentica Claude Proxy

Guide for wiring Agentica agents to Claude Code CLI tools through a local proxy, with debugging checklists.

CCM score
53 of 100
skills.sh installs
487
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers proxy architecture, server startup, health checks, and a file-operation verification workflow for Agentica-to-Claude integration
  • Enforces --allowedTools Read Write Edit Bash on claude -p calls and SSE data: streaming responses, with REPL code blocks returning results
  • Includes an anti-hallucination prompt section and a common-errors table mapping permission, sandbox, and API connection failures to fixes
  • Designed for developers debugging agent tool misuse, permission errors, or /tmp sandbox restrictions in the Agentica proxy setup

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill agentica-claude-proxy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
AI Agents & LLM Apps, Debugging
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Agentica Claude Proxy

More AI Agents & LLM Apps