agentkit  by BCG-X-Official

Starter kit for building constrained agents

Created 1 year ago
1,784 stars

Top 24.1% on SourcePulse

GitHubView on GitHub
Project Summary

AgentKit is a starter kit for building constrained agent applications using Next.js, FastAPI, and Langchain. It targets developers looking to rapidly prototype and deploy production-ready, chat-based AI agents with a focus on reliability and user experience. The kit provides a modular, configurable tech stack and a reactive UI for features like streaming, data visualization, and action status.

How It Works

AgentKit addresses agent reliability by constraining execution paths through pre-defined "Action Plans." These plans consist of linear or parallel tool executions, guided by a Meta Agent that selects the most suitable plan for a given user prompt. This approach leverages human domain expertise to steer agents, reducing unexpected behavior. Intermediary outputs from each step in an Action Plan can be streamed to the UI, enhancing user experience by providing real-time progress and data.

Quick Start & Requirements

  • Install/Run: docker-compose -f docker-compose.yml up -d (from the root directory after cloning and setting .env variables).
  • Prerequisites: Docker, OpenAI API Key, OpenAI Organization ID.
  • Setup: Estimated minutes to hours depending on Docker build times and API key setup.
  • Docs: Hosted Documentation

Highlighted Details

  • Tech stack: Next.js 14, FastAPI, Langchain/Langsmith, NextAuth, Celery/Redis, PostgreSQL with pgvector.
  • UI: React/Next.js chat interface with streaming, table/code rendering, and agent action status.
  • Reliability: Configurable routing architecture via Action Plans and a Meta Agent.
  • Scalability: Includes Queue Management, Auth, Caching, and Monitoring components.

Maintenance & Community

  • Active contributors listed in README.
  • Open to contributions via PRs.

Licensing & Compatibility

  • MIT License.
  • Permissive for commercial use and closed-source linking.

Limitations & Caveats

The project is a starter kit; enterprise-grade security functionalities should be added for production deployments, particularly concerning risks like prompt injection.

Health Check
Last Commit

6 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Elvis Saravia Elvis Saravia(Founder of DAIR.AI).

agent-service-toolkit by JoshuaC215

2.0%
4k
Toolkit for building AI agent services
Created 1 year ago
Updated 21 hours ago
Starred by Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
29 more.

browser-use by browser-use

0.6%
70k
SDK for AI agent browser control
Created 10 months ago
Updated 1 day ago
Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
9 more.

AgentGPT by reworkd

0.1%
35k
Autonomous AI agent platform in your browser
Created 2 years ago
Updated 4 months ago
Feedback? Help us improve.