Toolkit for building AI agent services
Top 14.7% on sourcepulse
This toolkit provides a comprehensive solution for building and deploying AI agent services, targeting developers and researchers who want to leverage LangGraph for complex agentic workflows. It simplifies the process from agent definition to a user-facing Streamlit application, offering a robust template for rapid development and deployment.
How It Works
The project utilizes LangGraph for agent orchestration, enabling advanced features like human-in-the-loop interactions (interrupt()
) and flow control (Command
, langgraph-supervisor
). A FastAPI service exposes the agent with both streaming and non-streaming endpoints, featuring a novel approach to handle token-based and message-based streaming. Pydantic is used for data structures and settings, ensuring type safety and clear configuration.
Quick Start & Requirements
pip install uv
then uv sync --frozen
(creates .venv
), source .venv/bin/activate
.OPENAI_API_KEY
) set in a .env
file.python src/run_service.py
streamlit run src/streamlit_app.py
docker compose watch
(recommended for development).Highlighted Details
interrupt()
, Command
, and langgraph-supervisor
.Maintenance & Community
The project is actively maintained by JoshuaC215. Contributions are welcome via pull requests. Testing instructions are provided for local development.
Licensing & Compatibility
Limitations & Caveats
Ollama support is experimental. Running tests requires the local development setup without Docker.
5 days ago
1 day