parcadei avatar

Agentica Claude Proxy

This is integration glue for running Agentica agents through Claude Code's CLI as their tool provider. The main value is the documented gotchas: you need the allowedTools flag or file operations silently fail, agents will hallucinate success without the anti-hallucination prompt engineering, and the response format must be SSE streaming with Python code blocks containing return statements. It's essentially a reference implementation with a proxy server that bridges Agentica's expectations to Claude's REPL mode. Worth reading if you're chaining agents with Claude Code tools and hitting permission errors or phantom successes. The architecture diagram and error table are the most useful parts.

skills.sh installs
485
GitHub stars
3.9K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Backend & APIs, Documentation, CLI & Terminal
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108
1wvlvik avatarjimeng-api-video-genwvlvik/toy-skills(project - Skill) Generate AI videos using Volcengine Jimeng Video 3.0 Pro API. Use when users request video generation from text prompts or images, including t481skills.sh installs
2aj-geddes avatarapi-changelog-versioningaj-geddes/useful-ai-promptsDocument API changes, breaking changes, migration guides, and version history for APIs. Use when documenting API versioning, breaking changes, or creating API m477skills.sh installs
3aj-geddes avatardatabase-monitoringaj-geddes/useful-ai-promptsMonitor database performance and health. Use when setting up monitoring, analyzing metrics, or troubleshooting database issues.467skills.sh installs
4auth0 avatarauth0-fastapi-apiauth0/agent-skillsUse when protecting FastAPI endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates auth0-fastapi-api for stateless APIs receiving461skills.sh installs
5aj-geddes avatarapi-filtering-sortingaj-geddes/useful-ai-promptsImplement advanced filtering and sorting capabilities for APIs with query parsing, field validation, and optimization. Use when building search features, comple450skills.sh installs
6aj-geddes avatardatabase-shardingaj-geddes/useful-ai-promptsImplement database sharding for horizontal scalability. Use when scaling large databases, distributing data across multiple servers, or designing sharded archit446skills.sh installs