Skip to content

fix: configure Claude access in the Python sandbox kit - #806

Draft
shelajev wants to merge 2 commits into
band-ai:mainfrom
shelajev:fix/claude-ready-python-kit
Draft

shelajev wants to merge 2 commits into
band-ai:mainfrom
shelajev:fix/claude-ready-python-kit

Conversation

@shelajev

Copy link
Copy Markdown

Why

Running a Claude-backed agent with the published Python sandbox kit currently requires additional provider networking and credential configuration. The kit should include that configuration so a workspace can use Claude after the user supplies their API key.

What

  • Allow api.anthropic.com in the kit's network policy.
  • Declare the optional, proxy-managed Anthropic credential and inject it into the x-api-key header for that host.
  • Document sbx secret set anthropic and add contract checks for the provider configuration.

Scope

Preserves the existing schema-v2 kit and workspace entrypoint. The credential is optional, so the echo example does not require an Anthropic key. Users still supply their agent code, dependencies, and credentials; other model providers keep their explicit configuration.

The restart fix in #786 is independent. This is a draft pending a live SBX create/run/restart check before publishing the updated kit.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant