Skip to content

feat(claude-agent-sdk): add Claude Agent SDK integration#1582

Open
DK09876 wants to merge 1 commit into
mainfrom
feat/claude-agent-sdk-integration
Open

feat(claude-agent-sdk): add Claude Agent SDK integration#1582
DK09876 wants to merge 1 commit into
mainfrom
feat/claude-agent-sdk-integration

Conversation

@DK09876
Copy link
Copy Markdown
Contributor

@DK09876 DK09876 commented May 11, 2026

Summary

  • Adds hindsight-claude-agent-sdk package under hindsight-integrations/claude-agent-sdk/
  • In-process MCP server providing retain, recall, and reflect tools for Claude agents
  • Automatic memory hooks: auto-recall on UserPromptSubmit, auto-retain on Stop, tool output retention on PostToolUse
  • Global configuration via configure() with per-call overrides
  • 74 unit tests covering tools, hooks, config, and consumer usage patterns
  • CI job in test.yml and release script entry
  • Cookbook recipe added to docs site

Test plan

  • uv run pytest tests -v — 74 tests pass
  • Lint passes (ruff check, ruff format)
  • End-to-end notebook run with live Claude Agent SDK + Hindsight API verified all steps (retain, recall, reflect, hooks)
  • CI runs on this PR

🤖 Generated with Claude Code

…tools and hooks

Adds hindsight-claude-agent-sdk package providing:
- In-process MCP server with retain, recall, and reflect tools
- Automatic memory hooks (auto-recall on prompt, auto-retain on stop)
- Tool output retention via PostToolUse hooks
- Global configuration and per-call overrides
- 74 unit tests, CI job, and release script entry
- Cookbook recipe for docs site

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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