agent-api  by agno-agi

Agent API for serving AI agents

created 3 months ago
289 stars

Top 90.9% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a minimal, production-ready setup for serving AI agents via a FastAPI API, leveraging PostgreSQL for data persistence. It's designed for developers seeking a clear, fast, and enjoyable experience building and deploying agent-based applications.

How It Works

The system utilizes FastAPI for efficient API request handling and PostgreSQL to store agent sessions, knowledge, and memories. It includes pre-built agents as starting points, allowing users to customize or extend functionality by modifying agents in the /agents folder. The architecture prioritizes speed and clarity, facilitating rapid development and deployment.

Quick Start & Requirements

  • Install/Run: Clone the repository, set the OPENAI_API_KEY environment variable, and run docker compose up -d.
  • Prerequisites: Docker Desktop must be installed and running.
  • Setup: The project provides scripts for local development setup, including environment creation and dependency installation using uv.
  • Docs: Agno Docs

Highlighted Details

  • Supports GPT 4.1 by default, but is configurable for any model provider.
  • Includes example agents like Web Search, Agno Assist, and Finance Agent.
  • Offers a Dockerfile for building production-ready container images.
  • Provides guidance for deployment on various cloud platforms (Cloud Run, App Runner, GKE, etc.) and PaaS solutions (Railway, Render).

Maintenance & Community

  • Community support is available via Discord, Discourse, and GitHub Issues.
  • The project is actively maintained by agno-agi.

Licensing & Compatibility

  • The repository does not explicitly state a license in the provided README.

Limitations & Caveats

The README mentions using GPT 4.1 as the default model, implying a dependency on OpenAI's API, though it notes that other providers can be used. Specific instructions for configuring alternative model providers beyond setting the OPENAI_API_KEY are not detailed.

Health Check
Last commit

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
18 stars in the last 30 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
created 2 years ago
updated 6 months ago
Feedback? Help us improve.