Skip to main content

Framework Adapters

AG-Kit provides framework-specific adapter packages that enable integration with popular agent frameworks. Each adapter package is independently installable, allowing you to include only the frameworks you need in your project.

Available Adapters

Installation

Each adapter requires the core @ag-kit/agents package plus the specific adapter:
npm install @ag-kit/agents @ag-kit/adapter-langgraph

Design Philosophy

The adapter packages are designed to:
  • Reduce bundle size - Install only the frameworks you need
  • Independent versioning - Each adapter has its own version lifecycle
  • Clear dependencies - Explicit framework dependencies per adapter
  • Easy migration - Consistent API with previous subpath exports

Core Package

The @ag-kit/agents core package provides:
  • Core Agent implementation
  • Abstract interfaces (AbstractAgent, AgentConfig)
  • AG-UI integration
  • Storage functionality (memory, long-term memory)
  • Model providers
Framework-specific code has been moved to adapter packages.

See Also