{"id":27923955,"url":"https://github.com/VoltAgent/voltagent","last_synced_at":"2025-05-06T23:02:04.785Z","repository":{"id":288977471,"uuid":"967530387","full_name":"VoltAgent/voltagent","owner":"VoltAgent","description":"Open Source TypeScript AI Agent Framework","archived":false,"fork":false,"pushed_at":"2025-05-04T19:28:46.000Z","size":2742,"stargazers_count":936,"open_issues_count":22,"forks_count":100,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-05T02:48:28.510Z","etag":null,"topics":["agents","ai","chatbots","framework","javascript","llm","mcp","nodejs","tts","typescript"],"latest_commit_sha":null,"homepage":"https://voltagent.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VoltAgent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"voltagent"}},"created_at":"2025-04-16T15:41:18.000Z","updated_at":"2025-05-05T02:07:21.000Z","dependencies_parsed_at":"2025-04-28T08:25:31.823Z","dependency_job_id":null,"html_url":"https://github.com/VoltAgent/voltagent","commit_stats":null,"previous_names":["voltagent/voltagent"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoltAgent%2Fvoltagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoltAgent%2Fvoltagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoltAgent%2Fvoltagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoltAgent%2Fvoltagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VoltAgent","download_url":"https://codeload.github.com/VoltAgent/voltagent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782573,"owners_count":21803404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","ai","chatbots","framework","javascript","llm","mcp","nodejs","tts","typescript"],"created_at":"2025-05-06T23:01:16.035Z","updated_at":"2025-05-06T23:02:04.758Z","avatar_url":"https://github.com/VoltAgent.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://voltagent.dev/\"\u003e\n\u003cimg width=\"1800\" alt=\"435380213-b6253409-8741-462b-a346-834cd18565a9\" src=\"https://github.com/user-attachments/assets/452a03e7-eeda-4394-9ee7-0ffbcf37245c\" /\u003e\n\u003c/a\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://voltagent.dev\"\u003eHome Page\u003c/a\u003e |\n    \u003ca href=\"https://voltagent.dev/docs/\"\u003eDocumentation\u003c/a\u003e |\n    \u003ca href=\"https://github.com/voltagent/voltagent/tree/main/examples\"\u003eExamples\u003c/a\u003e |\n    \u003ca href=\"https://s.voltagent.dev/discord\"\u003eDiscord\u003c/a\u003e |\n    \u003ca href=\"https://voltagent.dev/blog/\"\u003eBlog\u003c/a\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003eVoltAgent is an open source TypeScript framework for building and orchestrating AI agents.\u003c/strong\u003e\u003cbr\u003e\nEscape the limitations of no-code builders and the complexity of starting from scratch.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \n[![npm version](https://img.shields.io/npm/v/@voltagent/core.svg)](https://www.npmjs.com/package/@voltagent/core)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](CODE_OF_CONDUCT.md)\n[![Discord](https://img.shields.io/discord/1361559153780195478.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://s.voltagent.dev/discord)\n[![Twitter Follow](https://img.shields.io/twitter/follow/voltagent_dev?style=social)](https://twitter.com/voltagent_dev)\n    \n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://voltagent.dev/\"\u003e\n\u003cimg width=\"896\" alt=\"flow\" src=\"https://github.com/user-attachments/assets/f0627868-6153-4f63-ba7f-bdfcc5dd603d\" /\u003e\n\u003c/a\u003e\n\n\u003c/div\u003e\n\n## What is VoltAgent?\n\n\u003e An **AI Agent Framework** provides the foundational structure and tools needed to build applications powered by autonomous agents. These agents, often driven by Large Language Models (LLMs), can perceive their environment, make decisions, and take actions to achieve specific goals. Building such agents from scratch involves managing complex interactions with LLMs, handling state, connecting to external tools and data, and orchestrating workflows.\n\n[![VoltAgent Developer Console Demo](https://github.com/user-attachments/assets/0adbec33-1373-4cf4-b67d-825f7baf1cb4)](https://github.com/VoltAgent/voltagent/blob/main/CONSOLE.md)\n\n**VoltAgent** is an open-source TypeScript framework that acts as this essential toolkit. It simplifies the development of AI agent applications by providing modular building blocks, standardized patterns, and abstractions. Whether you're creating chatbots, virtual assistants, automated workflows, or complex multi-agent systems, VoltAgent handles the underlying complexity, allowing you to focus on defining your agents' capabilities and logic.\n\nInstead of building everything from scratch, VoltAgent provides ready-made, modular building blocks:\n\n- **Core Engine (`@voltagent/core`)**: The heart of VoltAgent, providing fundamental capabilities for your AI agents Define individual agents with specific roles, tools, and memory.\n- **Multi-Agent Systems**: Architect complex applications by coordinating multiple specialized agents using Supervisors.\n- **Extensible Packages**: Enhance functionality with packages like `@voltagent/voice` for voice interactions.\n- **Tooling \u0026 Integrations**: Equip agents with tools to connect to external APIs, databases, and services, enabling them to perform real-world tasks. **Supports the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) for standardized tool interactions.**\n- **Data Retrieval \u0026 RAG**: Implement specialized retriever agents for efficient information fetching and **Retrieval-Augmented Generation (RAG)**.\n- **Memory**: Enable agents to remember past interactions for more natural and context-aware conversations.\n- **LLM Compatibility**: Works with popular AI models from OpenAI, Google, Anthropic, and more, allowing easy switching.\n- **Developer Ecosystem**: Includes helpers like `create-voltagent-app`, `@voltagent/cli`, and the visual [VoltAgent Console](https://console.voltagent.dev) for quick setup, monitoring, and debugging.\n\nIn essence, VoltAgent helps developers build sophisticated AI applications faster and more reliably, avoiding repetitive setup and the limitations of simpler tools.\n\n## Why VoltAgent?\n\nBuilding AI applications often involves a trade-off:\n\n1.  **DIY Approach:** Using basic AI provider tools offers control but leads to complex, hard-to-manage code and repeated effort.\n2.  **No-Code Builders:** Simpler initially but often restrictive, limiting customization, provider choice, and complexity.\n\nVoltAgent provides a middle ground, offering structure and components without sacrificing flexibility:\n\n- **Build Faster:** Accelerate development with pre-built components compared to starting from scratch.\n- **Maintainable Code:** Encourages organization for easier updates and debugging.\n- **Scalability:** Start simple and easily scale to complex, multi-agent systems handling intricate workflows.\n- **Flexibility:** Full control over agent behavior, LLM choice, tool integrations, and UI connections.\n- **Avoid Lock-in:** Freedom to switch AI providers and models as needed.\n- **Cost Efficiency:** Features designed to optimize AI service usage and reduce redundant calls.\n- **Visual Monitoring:** Use the [VoltAgent Console](https://console.voltagent.dev) to track agent performance, inspect state, and debug visually.\n\nVoltAgent empowers developers to build their envisioned AI applications efficiently, from simple helpers to complex systems.\n\n## ⚡ Quick Start\n\nCreate a new VoltAgent project in seconds using the `create-voltagent-app` CLI tool:\n\n```bash\nnpm create voltagent-app@latest\n```\n\nThis command guides you through setup.\n\nYou'll see the starter code in `src/index.ts` to get you started with the VoltAgent framework.\n\n```typescript\nimport { VoltAgent, Agent } from \"@voltagent/core\";\nimport { VercelAIProvider } from \"@voltagent/vercel-ai\"; // Example provider\nimport { openai } from \"@ai-sdk/openai\"; // Example model\n\n// Define a simple agent\nconst agent = new Agent({\n  name: \"my-agent\",\n  description: \"A helpful assistant that answers questions without using tools\",\n  // Note: You can swap VercelAIProvider and openai with other supported providers/models\n  llm: new VercelAIProvider(),\n  model: openai(\"gpt-4o-mini\"),\n});\n\n// Initialize VoltAgent with your agent(s)\nnew VoltAgent({\n  agents: {\n    agent,\n  },\n});\n```\n\nAfterwards, navigate to your project and run:\n\n```bash\nnpm run dev\n```\n\nWhen you run the dev command, tsx will compile and run your code. You should see the VoltAgent server startup message in your terminal:\n\n```\n══════════════════════════════════════════════════\nVOLTAGENT SERVER STARTED SUCCESSFULLY\n══════════════════════════════════════════════════\n✓ HTTP Server: http://localhost:3141\n\nDeveloper Console: https://console.voltagent.dev\n══════════════════════════════════════════════════\n```\n\nYour agent is now running! To interact with it:\n\n1. Open the Console: Click the [VoltAgent Console](https://console.voltagent.dev) link in your terminal output (or copy-paste it into your browser).\n2. Find Your Agent: On the VoltAgent Console page, you should see your agent listed (e.g., \"my-agent\").\n3. Open Agent Details: Click on your agent's name.\n4. Start Chatting: On the agent detail page, click the chat icon in the bottom right corner to open the chat window.\n5. Send a Message: Type a message like \"Hello\" and press Enter.\n\n[![VoltAgent Developer Console Demo](https://github.com/user-attachments/assets/0adbec33-1373-4cf4-b67d-825f7baf1cb4)](https://console.voltagent.dev/)\n\n## Key Features\n\n- **Agent Core:** Define agents with descriptions, LLM providers, tools, and memory management.\n- **Multi-Agent Systems:** Build complex workflows using Supervisor Agents coordinating multiple specialized Sub-Agents.\n- **Tool Usage \u0026 Lifecycle:** Equip agents with custom or pre-built tools (functions) with type-safety (Zod), lifecycle hooks, and cancellation support to interact with external systems.\n- **Flexible LLM Support:** Integrate seamlessly with various LLM providers (OpenAI, Anthropic, Google, etc.) and easily switch between models.\n- **Memory Management:** Enable agents to retain context across interactions using different configurable memory providers.\n- **Observability \u0026 Debugging:** Visually monitor agent states, interactions, logs, and performance via the [VoltAgent Console](https://console.voltagent.dev).\n- **Voice Interaction:** Build voice-enabled agents capable of speech recognition and synthesis using the `@voltagent/voice` package.\n- **Data Retrieval \u0026 RAG:** Integrate specialized retriever agents for efficient information fetching and **Retrieval-Augmented Generation (RAG)** from various sources.\n- **Model Context Protocol (MCP) Support:** Connect to external tool servers (HTTP/stdio) adhering to the [MCP standard](https://modelcontextprotocol.io/) for extended capabilities.\n- **Prompt Engineering Tools:** Leverage utilities like `createPrompt` for crafting and managing effective prompts for your agents.\n- **Framework Compatibility:** Designed for easy integration into existing Node.js applications and popular frameworks.\n\n## Use Cases\n\nVoltAgent is versatile and can power a wide range of AI-driven applications:\n\n- **Complex Workflow Automation:** Orchestrate multi-step processes involving various tools, APIs, and decision points using coordinated agents.\n- **Intelligent Data Pipelines:** Build agents that fetch, process, analyze, and transform data from diverse sources.\n- **AI-Powered Internal Tools \u0026 Dashboards:** Create interactive internal applications that leverage AI for analysis, reporting, or task automation, often integrated with UIs using hooks.\n- **Automated Customer Support Agents:** Develop sophisticated chatbots that can understand context (memory), use tools (e.g., check order status), and escalate complex issues.\n- **Repository Analysis \u0026 Codebase Automation:** Analyze code repositories, automate refactoring tasks, generate documentation, or manage CI/CD processes.\n- **Retrieval-Augmented Generation (RAG) Systems:** Build agents that retrieve relevant information from knowledge bases (using retriever agents) before generating informed responses.\n- **Voice-Controlled Interfaces \u0026 Applications:** Utilize the `@voltagent/voice` package to create applications that respond to and generate spoken language.\n- **Personalized User Experiences:** Develop agents that adapt responses and actions based on user history and preferences stored in memory.\n- **Real-time Monitoring \u0026 Alerting:** Design agents that continuously monitor data streams or systems and trigger actions or notifications based on defined conditions.\n- **And Virtually Anything Else...**: If you can imagine an AI agent doing it, VoltAgent can likely help you build it! ⚡\n\n## Learning VoltAgent\n\n- **[Documentation](https://voltagent.dev/docs/)**: Dive into guides, concepts, and tutorials.\n- **[Examples](https://github.com/voltagent/voltagent/tree/main/examples)**: Explore practical implementations.\n- **[Blog](https://voltagent.dev/blog/)**: Read more about technical insights, and best practices.\n\n## Contribution\n\nWe welcome contributions! Please refer to the contribution guidelines (link needed if available). Join our [Discord](https://s.voltagent.dev/discord) server for questions and discussions.\n\n## Community ♥️ Thanks\n\nYour stars help us reach more developers! If you find VoltAgent useful, please consider giving us a star on GitHub to support the project and help others discover it.\n\n## License\n\nLicensed under the MIT License, Copyright © 2025-present VoltAgent.\n","funding_links":["https://github.com/sponsors/voltagent"],"categories":["AI Agent Frameworks","VoltAgent: Build AI Agents Fast and Flexibly","ai","📚 Projects (1974 total)","TypeScript","typescript","Frameworks","Building","AI Agent Frameworks \u0026 SDKs","MCP Frameworks and libraries","Platforms","Platforms \u0026 Frameworks"],"sub_categories":["General Agent Frameworks","MCP Servers","Frameworks","Tools","Orchestration Frameworks","TypeScript","Open Source Platforms","Self-hosted Agent Frameworks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoltAgent%2Fvoltagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVoltAgent%2Fvoltagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoltAgent%2Fvoltagent/lists"}