<command-name>/context</command-name> <command-message>context</command-message>…
Jump to turn (9)
- 1/context context
- 2we dont need ANTHROPICAPIKEY
- 3/context context
- 4IT SHOULD BE COMPLETELY OPTIONAL. THE CONNECTING CODING AGENT PROVIDES ITS OWN A
- 5Continue from where you left off.
- 6NO NOT REMOVE IT. ARE U FUCKING RETARDED? MAKE IT OPTIONAL NON BLOCKING
- 7/context context
- 8Commit and push all changes
- 9Commit and push all changes
Assistant
It's for the LLM proxy feature (
cli-proxy-setupbranch — the one you're on now).The proxy has two auth modes:
- Passthrough — client sends its own
x-api-key, proxy forwards it to Anthropic as-is - Brain auth — client authenticates via Brain's DPoP token (no Anthropic key needed client-side). The server injects its own
ANTHROPIC_API_KEYbefore forwarding to Anthropic.
Brain auth mode is the key value prop: coding agents (Claude Code, etc.) authenticate to Brain, and Brain pays for / controls the Anthropic API calls using the server-held key. This enables:
- Centralized API key management — developers don't need individual Anthropic keys
- Trace attribution — every LLM call is tied to a Brain identity/workspace/session
- Cost tracking — the proxy logs token usage per session
- Context injection — Brain can inject project context into LLM requests before forwarding
The
ANTHROPIC_API_KEYis optional in config (optionalEnv). If it's not set and a Brain-auth request arrives, the server returns 500 with a clear error rather than silently failing.- Passthrough — client sends its own
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.