Claude Code (local)
Run Anthropic's Claude Code agent on your machine — no API key, using your Claude login.
The claude-code provider runs Anthropic's Claude Code agent locally instead of calling a plain model. Scira's research loop, tools, and instructions run inside the Claude Code harness on your real files, authenticated by your existing claude login session — no API key, and your Pro/Max subscription is used as-is.
Set up
Install Claude Code
npm install -g @anthropic-ai/claude-codeSee Claude Code setup for other install options.
Log in
claude # then run /login inside the CLIAuthentication uses your Claude account session (stored under ~/.claude). Scira reads only the logged-in account, never an API key.
Select it in Scira
From the TUI, run /llm → Claude Code (local). Or set it in config:
{ "llmProvider": "claude-code", "model": "claude-sonnet-4-6" }Available models
| Model ID | Description |
|---|---|
claude-sonnet-4-6 | Default. Balanced speed and capability for research + code |
claude-opus-4-8 | Most capable, for harder reasoning |
claude-haiku-4-5 | Fastest and lowest cost |
Pick one with /model.
Thinking
Claude Code's extended thinking is controlled with /thinking, mapped to harness.thinking in config:
| Mode | Effect |
|---|---|
adaptive | Default. Think more on harder turns |
on | Always think |
off | Never think |
You can also cap internal turns per prompt with harness.maxTurns (unset uses the CLI default).
{
"llmProvider": "claude-code",
"harness": { "thinking": "adaptive", "maxTurns": 40 }
}Notes
- Web search runs through Scira's own Exa/Firecrawl/Parallel pipeline, not Claude Code's built-in search, so answers cite your configured sources.
- Runs use your local filesystem and process access in the current project directory — there's no cloud sandbox.
scira doctorreports whetherclaudeis on your PATH and which account is logged in.
No API key
Scira strips credential environment variables before launching the harness, so ANTHROPIC_API_KEY is ignored for this provider — your subscription login is used instead.