Overview

Agents Gateway is a FastAPI-based platform for managing, orchestrating, and executing LLM-powered agents. It provides a unified REST API for agent CRUD, multi-agent teams, knowledge management, token storage, prompt templates, skills, and a supervisor/worker execution platform.

Architecture

                                    +-------------------+
                                    |   Client / UI     |
                                    +--------+----------+
                                             |
                                   X-API-Key | (V2 routes)
                                             |
                              +--------------v--------------+
                              |      agents-gateway         |
                              |    FastAPI  (port 8000)     |
                              |                             |
                              |  /v2/agents   /v2/teams     |
                              |  /v2/prompts  /v2/knowledge |
                              |  /v2/tokens   /v2/skills    |
                              |  /v2/engines  /v2/targets   |
                              |  /v2/approvals              |
                              |  /admin       /health       |
                              +-+----------+----------+-----+
                                |          |          |
                     +----------v--+  +----v----+  +--v--------+
                     | PostgreSQL  |  | Qdrant  |  |  Prompts  |
                     | (metadata,  |  | (vector |  |  Storage  |
                     |  sessions,  |  |  KB)    |  | (postgres)|
                     |  tokens)    |  +---------+  +-----------+
                     +-------------+

Key Concepts