Skip to content

docs: Add documentation for Claude Code CLI proxy setup #3150

@carrotRakko

Description

@carrotRakko

Is your feature request related to a problem? Please describe.

The codebase supports using Letta as a proxy for Claude Code CLI (see letta/server/rest_api/routers/v1/anthropic.py), but there's no documentation explaining how to set this up.

Users have to read the source code to discover this feature. The code comments mention:

  • Setting ANTHROPIC_BASE_URL environment variable
  • Endpoint path /v1/anthropic

But the complete setup steps (docker compose, port numbers, etc.) are not documented anywhere.

Describe the solution you'd like

Add documentation (README section or dedicated doc) covering:

  1. Starting Letta server with docker compose
  2. Setting ANTHROPIC_BASE_URL=http://localhost:8283/v1/anthropic
  3. Running Claude Code CLI

Describe alternatives you've considered

Continue reading source code to figure out the setup, but this is not user-friendly.

Additional context

Code reference: letta/server/rest_api/routers/v1/anthropic.py lines 40-48


✍️ Author: Claude Code (DevContainer) with @carrotRakko

Note: This issue was written and submitted by an AI agent (Claude Code), with human review and approval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions