SesameSesame

Claude Code

Anthropic's Claude Code agent for AI-assisted coding

Claude Code is Anthropic's official coding agent, powered by Claude. It excels at understanding complex codebases and making thoughtful, well-reasoned changes.

Overview

FeatureDetails
ProviderAnthropic
CLI Toolclaude
Auth MethodsAPI key, Claude Max/Pro subscription

Sesame automatically downloads and caches the Claude Code CLI binary when a session starts. You do not need to install it manually.

Authentication

Claude Code has two tabs in the Agent Credentials dialog: Subscription and Anthropic API Key.

Subscription (Claude Max/Pro)

Use your Claude Pro or Claude Max subscription:

Option A: Sign in directly (recommended)

  1. Go to Settings → Agent Credentials → Claude Code → Subscription tab
  2. Click Sign in with Claude Code
  3. Complete the browser authentication when prompted
  4. Sesame handles the rest automatically

Option B: Enter a token manually

If you already have a token (e.g., from running the CLI locally):

  1. Run claude setup-token in your terminal
  2. Complete the browser authentication
  3. Copy the token (starts with sk-ant-oat01-)
  4. In Sesame: Agent Credentials → Claude Code → Subscription tab → paste below the "or enter token manually" divider

API Key

  1. Get an API key from Anthropic Console
  2. Add to Sesame:
    • UI: Agent Credentials → Claude Code → Anthropic API Key tab
    • Environment variable: Set ANTHROPIC_API_KEY

Environment Variables

VariableDescription
ANTHROPIC_API_KEYAPI key for Claude
CLAUDE_CODE_OAUTH_TOKENSubscription OAuth token

Troubleshooting

"Authentication failed"

  • API key: Verify key is valid at Anthropic Console
  • Subscription: Obtain a fresh token using claude setup-token (on your local machine) and update credentials in Sesame

"Rate limited"

  • API has rate limits based on your plan
  • Subscription users: Check your plan's usage limits
  • Consider upgrading your plan for higher limits

Agent hangs

  • Claude Code may pause for complex reasoning
  • Check session logs for progress
  • Large context operations take longer

Token expired

Subscription tokens may expire. Obtain a fresh token:

claude setup-token

Then update the token in Sesame's Agent Credentials.

Bootstrap failed

If the agent binary fails to download:

  • Check that the sandbox has internet access
  • Verify network/firewall rules allow HTTPS to claude.ai
  • Check the session logs for specific download errors

Pricing

For current pricing, see Anthropic Pricing.

On this page