{"repo":"sslava/ai-sdk-agents","free":true,"listed":false,"github":"https://github.com/sslava/ai-sdk-agents","clone":"git clone https://github.com/sslava/ai-sdk-agents.git","description":"A flexible toolkit for building, running, and managing AI-powered agents - built on top of the Vercel AI SDK. Integrates seamlessly with your favorite frameworks.","language":"TypeScript","stars":43,"topics":["anthropic","expressjs","generative-ai","javascript","llms","nextjs","openai","typescript","vercel-ai","nodejs"],"license":"MIT","category":"ai-agents","readme_excerpt":"AI SDK Agents AI SDK Agents is an extension of the standard Vercel AI SDK API. It enables you to build advanced generative applications using patterns and agent compositions that are not supported by the Vercel AI SDK out of the box. With this library, you can define your own agents, compose them together, and call agents as tools within other agents, unlocking complex reasoning and orchestration flows. Features - 🚀 Extends the Vercel AI SDK API to support new generative app patterns - 🤖 Define and compose agents (agents can call each other as tools) - 🔄 Flexible flow and step management - 🛠️ Extensible tool system - 📝 Context and memory between steps - 🔄 Streaming response support Installation Prerequisites This package requires the Vercel AI SDK and zod as a peer dependency: Usage Here's a basic example of how to use the library: This example demonstrates how to build a streaming chat API where the assistant agent can automatically use the math agent as a tool to solve math problems in user queries. The response is streamed in real time to the client. Other examples - examples/contexts Demonstrates how to extend the agent context with custom values (like dates) and inject them into system prompts. Shows how to use both regular tools and other agents as tools within your assistant, enabling dynamic, context-aware behavior and multi-step reasoning. - examples/express Shows how to build a streaming chat API using Express, powered by two agents: a main assistant and a mat","default_branch":null,"files":null,"tree":[],"storefront":"/r/sslava","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sslava/ai-sdk-agents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}