Skip to main content

SDK Overview

SDK Packages

TypeScript SDK

@ag-kit/agents

Built-in agents and adapters for LangGraph, LangChain, OpenAI, and CrewAI

@ag-kit/server

Node.js server for AI agents

@ag-kit/tools

Unified tool integration for code execution, file operations, and more

@ag-kit/shared

Shared TypeScript types, utilities, and common interfaces

Python SDK

ag_kit.agents

Python implementation of agent adapters and frameworks

ag_kit.server

Python server for hosting and managing AI agents

ag_kit.tools

Python tool integrations and utilities

Headless UI Components

@ag-kit/ui-react

React components for building agent interfaces

@ag-kit/ui-miniprogram

WeChat Mini Program components for mobile agent interfaces

Quick Start

TypeScript Installation

npm install @ag-kit/agents @ag-kit/server @ag-kit/tools

Python Installation

pip install ag_kit_py

UI Components Installation

npm install @ag-kit/ui-react @ag-kit/ui-miniprogram

Key Features

  • Multi-Framework Support - Works with LangGraph, LangChain, OpenAI, and CrewAI
  • Cross-Platform - TypeScript and Python implementations
  • Headless UI - Framework-agnostic UI components
  • Tool Integration - Unified interface for various tools and services
  • Type Safety - Full TypeScript support with comprehensive type definitions
  • Scalable Architecture - Built for production-ready agent systems
  • Real-time Communication - WebSocket support for interactive agents
  • Extensible - Plugin architecture for custom agents and tools

Getting Started

  1. Choose your framework - Select from LangGraph, LangChain, OpenAI, or CrewAI
  2. Install the SDK - Use TypeScript or Python based on your preference
  3. Create an agent - Use built-in adapters or create custom agents
  4. Add tools - Integrate code execution, file operations, and more
  5. Build the UI - Use React or Mini Program components
  6. Deploy - Use the server package to host your agents
For detailed guides and examples, check out our Getting Started section or explore the Playground for interactive examples.