> ## Documentation Index
> Fetch the complete documentation index at: https://ikun.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent API: FastAPI 和 Postgres

Agent API 工作区提供了一个简单的 RestAPI + 数据库用于服务 Agent。它包含：

* 一个用于服务 Agent、Teams 和 Workflows 的 FastAPI 服务器。
* 一个用于会话和向量存储的 postgres 数据库。

<Snippet file="setup.mdx" />

<Snippet file="create-agent-api-codebase.mdx" />

<Snippet file="run-agent-api-local.mdx" />

<Snippet file="stop-local-workspace.mdx" />

## 后续

恭喜您已在本地运行 Agent API。后续步骤：

* 在 AWS 上运行您的 Agent API：[Run your Agent API on AWS](/workspaces/agent-api/aws)
* 阅读如何更新工作区设置：[update workspace settings](/workspaces/workspace-management/workspace-settings)
* 阅读如何为您的工作区创建 git 代码仓库：[create a git repository for your workspace](/workspaces/workspace-management/git-repo)
* 阅读如何管理开发应用程序：[manage the development application](/workspaces/workspace-management/development-app)
* 阅读如何格式化和验证您的代码：[format and validate your code](/workspaces/workspace-management/format-and-validate)
* 阅读如何添加 Python 库：[add python libraries](/workspaces/workspace-management/install)
* 在 [discord](https://agno.link/discord) 上与我们交流
