@anthropic-ai/claude-agent-sdk

SDK for building AI agents with Claude Code's capabilities. Programmatically interact with Claude to build autonomous agents that can understand codebases, edit files, and execute workflows.

tokenx

Fast token estimation at 94% accuracy of a full tokenizer in a 2kB bundle