Awesome AI AgentsAI Agent Operating System

wassim249/fastapi-langgraph-agent-production-ready-template

⭐ 2657 Python added to this list on 2025-04-19 repository created 2025-04-07

The project "fastapi-langgraph-agent-production-ready-template" is a comprehensive and production-ready template designed for building AI agent applications using FastAPI integrated with LangGraph. It offers a robust foundation for developing scalable, secure, and maintainable AI agent services. The template leverages FastAPI for high-performance asynchronous API endpoints and integrates LangGraph to facilitate AI agent workflows. It also incorporates Langfuse for observability and monitoring of large language models (LLMs), ensuring detailed insights into model performance and behavior. Key features include a production-ready architecture with structured logging tailored to different environments, rate limiting with configurable rules to protect the service, and PostgreSQL for reliable data persistence. The template supports Docker and Docker Compose for containerized deployment and includes Prometheus metrics and Grafana dashboards for comprehensive monitoring of API performance, rate limiting statistics, database performance, and system resource usage. Security is a major focus, with JWT-based authentication, session management, input sanitization, CORS configuration, and rate limiting to safeguard the application. The developer experience is enhanced through environment-specific configuration, a clear project structure, extensive use of type hints, and an easy setup process for local development. A standout component is the model evaluation framework, which automates metric-based evaluation of model outputs. It integrates with Langfuse to fetch traces and analyze them, producing detailed JSON reports that include success and failure metrics. The evaluation process is interactive via a command-line interface and supports customizable evaluation metrics defined in markdown files. Reports generated provide high-level statistics, per-metric performance, and trace-level details for debugging. The project includes thorough documentation on setup, including database configuration with PostgreSQL, local development, and Docker-based deployment. It also provides commands for running evaluations in various modes, making it a versatile and powerful template for AI agent application development with a strong emphasis on observability, security, and maintainability.

https://github.com/wassim249/fastapi-langgraph-agent-production-ready-template

agentagentic-aiai-agentautomated-evaluationclicorscustomizable-metricsdockerdocker-composeenvironment-specific-configurationfastapifastapi-templategrafanainput-sanitizationjson-reportsjwt-authenticationlangchainlangchain-pythonlangfuselanggraphlanggraph-pythonllmllm-observabilitymaintainablememorymodel-evaluationmonitoringpostgresqlproduction-readyprometheusrate-limitingscalablesecuresession-managementstructured-logging

Also in AI Agent Operating System

RightNow-AI/openfang

OpenFang is an open-source agent operating system, built in Rust, designed to facilitate the management and orchestration of AI agents.

Arindam200/awesome-ai-apps

A comprehensive repository showcasing practical examples, tutorials, and tools for building powerful AI applications using large language models and various AI agent frameworks.

OpenByteInc/QuantDinger

QuantDinger is an open-source AI trading operating system designed for independent traders, Python strategy authors, and small teams, offering backtesting, live trading, and multi-agent research ca...

MemTensor/MemOS

MemOS is an operating system for Large Language Models that enhances their capabilities with long-term memory, enabling more context-aware, consistent, and personalized AI interactions through a modular and extensible memory architecture.

holaboss-ai/holaOS

HolaOS is a local-first, AI-powered desktop agent that learns your work context, integrates with over 100 workplace tools, and manages memory efficiently to provide proactive assistance without for...

mcp-use/mcp-use

mcp-use is an open-source unified client library that enables seamless integration of any LangChain-supported LLM with MCP servers to build custom agents with tool access.

astrid-runtime/astrid

Astrid is a portable, capability-secure operating system for composable software components, providing an OS-grade boundary for AI agents and other untrusted code via WebAssembly capsules.

HKUDS/AutoAgent

AutoAgent is a fully-automated, zero-code framework for creating and deploying LLM agents using natural language, featuring top GAIA benchmark performance and broad LLM support.