Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ ANTHROPIC_API_KEY=your-api-key-here
# OPENROUTER_API_KEY=sk-or-your-openrouter-key
# ROUTER_DEFAULT=openrouter,google/gemini-3-flash-preview

# =============================================================================
# OPTION 3: Custom Anthropic-Compatible Endpoint (no router)
# =============================================================================
# Use any Anthropic-compatible API (Kimi K2.5, AWS Bedrock, etc.) directly
# without the router. Just set the base URL and your API key:
#
# ANTHROPIC_BASE_URL=https://your-custom-endpoint.com/v1
# ANTHROPIC_API_KEY=your-api-key-for-custom-endpoint
#
# Then run normally: ./shannon start URL=<url> REPO=<path>

# =============================================================================
# Available Models
# =============================================================================
Expand Down
13 changes: 13 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,19 @@ The tool should only be used on systems you own or have explicit permission to t
**Output:**
- `audit-logs/{hostname}_{sessionId}/` - Session metrics, agent logs, deliverables

### Custom Anthropic-Compatible Endpoint

Use any Anthropic API-compatible endpoint (Kimi K2.5, AWS Bedrock, etc.) without the router:

```bash
# In .env:
ANTHROPIC_BASE_URL=https://api.example.com/v1
ANTHROPIC_API_KEY=your-api-key

# Run normally (no ROUTER=true needed):
./shannon start URL=<url> REPO=<path>
```

### Router Mode (Multi-Model Support)

Shannon supports routing Claude Agent SDK requests through alternative LLM providers via [claude-code-router](https://github.com/musistudio/claude-code-router).
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,19 @@ rules:

If your application uses two-factor authentication, simply add the TOTP secret to your config file. The AI will automatically generate the required codes during testing.

### Custom Anthropic-Compatible Endpoint

Use any Anthropic API-compatible endpoint (Kimi K2.5, AWS Bedrock, etc.) without the router:

```bash
# In .env:
ANTHROPIC_BASE_URL=https://api.example.com/v1
ANTHROPIC_API_KEY=your-api-key

# Run normally:
./shannon start URL=https://example.com REPO=/path/to/repo
```

### [EXPERIMENTAL - UNSUPPORTED] Router Mode (Alternative Providers)

Shannon can experimentally route requests through alternative AI providers using claude-code-router. This mode is not officially supported and is intended primarily for:
Expand Down