Files
DeepTutor/deeptutor/runtime/agentic
quocldce-sys b16b187244 feat: add Claude Code provider backed by the Claude Agent SDK
Adds a `claude_code` LLM provider that runs turns through the local Claude
Code CLI via `claude-agent-sdk`, so DeepTutor can use the account signed in
with `claude /login` (including a Claude subscription) without an Anthropic
API key.

- One long-lived Claude Code process per DeepTutor session, mirroring the
  CodeBuddy SDK provider's owner-task pattern.
- Claude Code's built-in tools, settings, CLAUDE.md and hooks are disabled;
  DeepTutor tools are exposed through an in-process SDK MCP server and tool
  calls are returned to DeepTutor's dispatcher.
- Tool turns end via max_turns=1 and are drained instead of interrupted, so
  the transcript does not record an interrupted request.
- System messages become Claude's real system prompt.
- Optional extra: `pip install deeptutor[claude-code]`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 15:07:04 +07:00
..
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00