Agent 开发框架

BindAI|模块化Python AI应用开发框架

BindAI

BindAI 是一个开源模块化 Python 框架,用可复用组件构建 Agent、工具、工作流、记忆、知识库与 RAG 等 AI 应用。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测

BindAI(仓库 BindBrain/BindAI)是一个开源的模块化 Python 框架,用于构建 AI 软件。README 自述“Build AI software”,提供可复用组件覆盖 agents、tools、workflows、memory、knowledge 和 RAG、模型提供方、集成、自动化与运行时基础设施。当前版本为 v0.1,README 称其为首次公开发布的基础版本;项目状态标注为“under active development”(活跃开发中)。

需要说明的是:BindAI 是框架而非单一 Agent、MCP 服务或 Skill,收录时应按框架归类。README 中部分路线图能力(如分布式队列、Kubernetes 部署、可视化工作流工具、企业能力、语音 AI)明确为后续版本工作,不应视为已具备。

核心能力

点击能力名称查看输入、输出和原文依据。

按 README 的 v0.1 说明,现有能力包括:Agent 构建与执行、工具与工具调用、工作流及编排(顺序、条件分支、循环、并行、重试、超时、人工任务、调度)、记忆(内存、SQLite、PostgreSQL、向量、Pinecone、Chroma)、知识与 RAG(文档加载、分块、嵌入、向量检索、BM25、混合检索、重排、会话式检索)、多模型提供方(OpenAI、Anthropic、Google Gemini、Groq、Ollama、OpenRouter)、多智能体执行、外部服务连接(Webhook、GitHub、Slack、Notion、Jira、Discord、Resend、Vercel、Netlify、Google Sheets/Docs/Gmail/Drive)、自动化定义与事件触发、后台工作线程、REST 服务 API(含 API Key 认证与流式响应)、Docker 与 Docker Compose 部署、运行时事件与可观测性基础。

README 特别说明:其 MCP 支持是一个轻量 HTTP 桥接,用于发现和调用 MCP 风格 HTTP 服务上的工具,而非完整 MCP 服务器或完整协议实现;可观测层不应视为完整生产监控平台;后台 worker 目前为进程内线程池。

实际应用场景

适用场景

适合希望以 Python 代码自行搭建 AI 助手、文档处理应用、工作流自动化或多智能体系统的开发者,尤其是需要统一 Agent、工具、RAG 与部署层的团队。也可用于研究与教学场景。对于只想开箱即用聊天界面、不愿编写代码的用户,README 未提供此类使用方式,适配性待核验。

安装与接入

README 给出两条路径:其一通过 PyPI 安装主包 python -m pip install bindai,并用 bindai version 校验;其二从 GitHub 克隆后按 uv workspace 方式开发安装(先安装 uv 再 uv sync,随后激活虚拟环境)。README 明确指出仓库根目录是包含多个包的工作区,不要在根目录执行 pip install -e .,各子包位于 packages/ 下。

服务端运行示例为 Uvicorn 启动 bindai_api 应用,健康检查 GET /health 公开,受保护路由使用 Authorization: Bearer <BINDAI_API_KEY>;部署可用 Dockerfile 构建镜像与 docker-compose 配置。以上命令均出自 README 原文,未做改写。README 未给出 MCP 服务的现成配置文件,GitHub 采集时 mcp_config 与 server_config 均为 404,接入 MCP 的具体参数待核验。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

框架本身按 MIT 许可开源,但开源不等于其依赖的模型、云服务或第三方集成免费。使用 OpenAI、Anthropic、Gemini、Groq、OpenRouter 等提供方通常需要各自 API Key 与账户额度,Ollama 为本地模型选项;具体价格与配额须向各提供方官方核验。连接层涉及 GitHub、Slack、Notion、Jira 等,需相应账号与授权,权限范围待核验。

限制方面:v0.1 的分布式、企业级与可视化编排能力尚未完成;可观测性仅为基础事件记录;MCP 为轻量 HTTP 桥接;后台自动化使用进程内线程池,缺少分布式队列与水平扩展。性能、并发上限与安全加固情况 README 未给出,待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

LICENSE 文件与 GitHub 元数据均显示为 MIT License,版权归 BindBrain。国内使用方面,README 未说明对国内网络、云厂商或本地化部署的支持情况,PyPI 与 GitHub 访问、境外模型服务的网络可达性及合规要求均需自行核验。项目未说明是否提供中文文档。

官方入口:文档 https://docs.bindai.dev ,GitHub 仓库 https://github.com/BindBrain/BindAI ,网站 https://bindai.dev 。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · python -m pip install bindai

project_type:来源确认 · BindAI is an open-source, modular Python framework for building AI applications with reusable components for agents, tools, workflows, memory, knowledge and RAG, model providers, integrations, automation, and runtime infrastructure.

原始 README(折叠技术参考)
# BindAI

Build AI software.

BindAI is an open-source, modular Python framework for building AI applications with reusable components for agents, tools, workflows, memory, knowledge and RAG, model providers, integrations, automation, and runtime infrastructure.

Whether you're building an AI assistant, document-processing application, workflow automation, or multi-agent system, BindAI provides building blocks that can grow with your application.

## v0.1

BindAI v0.1 establishes the first public release foundation for building and deploying AI applications.

The v0.1 release includes:

- AI agents and agent execution
- Tools and tool calling
- Workflows and workflow orchestration
- Memory
- Knowledge and RAG
- Multiple model providers
- Multi-agent execution
- External service connections
- MCP HTTP tool integration
- Automation definitions and event triggers
- Background automation workers
- REST Service API
- API authentication
- Project, agent, workflow, and run execution APIs
- Streaming API responses
- Docker and Docker Compose deployment
- Runtime execution events and observability foundation

Some advanced distributed infrastructure and enterprise capabilities remain post-v0.1 roadmap work.

## Installation

### Install from PyPI

Install the main BindAI package:

```bash
python -m pip install bindai
```

Verify the installation:

```bash
bindai version
```

> Note: use `bindai version` to display the installed CLI version.

### Install from GitHub for development

Clone the repository:

```bash
git clone https://github.com/BindBrain/BindAI.git

cd BindAI
```

BindAI is organized as a multi-package **uv workspace**.

Install the development workspace with:

```bash
python -m pip install uv

uv sync
```

Activate the environment.

#### Windows PowerShell

```powershell
.\.venv\Scripts\Activate.ps1
```

#### macOS / Linux

```bash
source .venv/bin/activate
```

Verify the development installation:

```bash
python -c "import bindai; print('BindAI import OK')"

bindai version
```

The repository root is a workspace containing multiple BindAI packages. Do not use `pip install -e .` from the repository root.

Individual packages are located under:

```text
packages/
```

and are managed together through the workspace configuration.

## Quick Start

The recommended agent construction API is `Agent.builder()`:

```python
from bindai import Agent

agent = (
    Agent.builder()
    .name("assistant")
    .instructions("You are a helpful AI assistant.")
    .build()
)

response = agent.run("Explain what BindAI is.")

print(response.output)
```

You can incrementally add capabilities such as:

- Tools
- Memory
- Knowledge and RAG
- Workflows
- Human approval
- Scheduling
- Multiple AI providers
- Multi-agent execution
- Automation
- External integrations
- MCP tools

## Core Capabilities

### Agents

BindAI agents provide the foundation for AI application execution.

Current capabilities include:

- Agent construction and configuration
- Conversation management
- Prompt management
- Tool calling
- Structured outputs
- Streaming responses
- Memory integration
- Knowledge and retrieval integration
- Agent delegation
- Multi-agent team execution

### Tools

Tools allow agents and workflows to interact with application functionality and external systems.

Current capabilities include:

- Automatic tool registration
- Function schema generation
- Tool metadata
- Context-aware execution
- Tool results
- MCP-discovered tools
- Tool execution through the runtime

### Workflows

BindAI workflows provide orchestration around agents and other workflow nodes.

Supported workflow patterns include:

- Sequential execution
- Conditional branching
- Loops
- Parallel execution
- Retry policies
- Timeouts
- Human tasks
- Scheduling

### Memory

BindAI provides pluggable memory infrastructure for conversation and long-term application context.

Current memory implementations include:

- In-memory memory
- SQLite
- PostgreSQL
- Vector memory
- Pinecone
- Chroma

### Knowledge and RAG

BindAI provides a Knowledge and Retrieval architecture for document-based AI applications.

Current capabilities include:

- Document loading
- Document chunking
- Embeddings
- Vector retrieval
- BM25 retrieval
- Hybrid retrieval
- Reranking
- Conversational retrieval
- Knowledge ingestion pipelines
- RAG integration

### AI Providers

BindAI supports a modular provider architecture for connecting AI applications to different model providers.

Current providers include:

- OpenAI
- Anthropic
- Google Gemini
- Groq
- Ollama
- OpenRouter

The provider architecture is modular so additional providers can be added independently.

### Connections

BindAI provides a connection layer for external services.

Current v0.1 integrations include:

- Webhooks
- GitHub
- Slack
- Notion
- Jira
- Discord
- Resend
- Vercel
- Netlify
- Google Sheets
- Google Docs
- Gmail
- Google Drive

Connections can be used as reusable integration components for applications, agents, workflows, and automation.

### MCP

BindAI v0.1 includes a lightweight MCP HTTP integration for discovering and calling tools exposed through an MCP-compatible HTTP service.

The MCP package provides:

- MCP tool discovery
- Remote tool definitions
- Tool schema propagation
- HTTP-based tool execution
- Integration with BindAI's tool system

The current implementation is intentionally lightweight. It is an HTTP bridge for MCP-style tool discovery and execution rather than a complete MCP server or full MCP protocol implementation.

### Automation

BindAI provides an automation layer for defining, executing, tracking, and running automations in the background.

Current automation capabilities include:

- Automation definitions
- Event trigger framework
- Unified trigger management
- Automation execution runs
- Persistent automation state abstractions
- Automation run history
- In-memory state storage
- In-memory run history
- Background automation workers

The current background worker uses a process-local thread pool. Distributed queues and horizontally scalable worker infrastructure are planned for later releases.

Automation execution is built on top of BindAI's existing executable and runtime architecture rather than introducing a separate execution model.

### Service API

BindAI v0.1 includes a REST API package for exposing BindAI applications and execution capabilities as a service.

The API currently provides:

- Health checks
- API key authentication
- Agent execution
- Workflow execution
- Project execution
- Run tracking
- Streaming responses
- Background execution

The API uses FastAPI and can be run with Uvicorn.

Example:

```bash
uv run uvicorn bindai_api.app:app --host 0.0.0.0 --port 8000
```

The health endpoint is publicly accessible:

```text
GET /health
```

Protected API routes use:

```text
Authorization: Bearer <BINDAI_API_KEY>
```

The Service API is intended to provide the foundation for deploying BindAI applications as services.

### Deployment

BindAI v0.1 includes Docker and Docker Compose support for running the Service API and its supporting runtime.

Build the Docker image:

```bash
docker build -t bindai .
```

Run the API container:

```bash
docker run --rm -p 8000:8000 bindai
```

The repository also includes Docker Compose configuration for local multi-service development and deployment.

The v0.1 deployment model is intentionally straightforward. Distributed queues, Kubernetes deployment, and horizontally scalable worker infrastructure are planned for later releases.

### Observability

BindAI v0.1 includes an event-driven observability foundation across runtime and agent execution.

Current capabilities include:

- Runtime execution events
- Event bus infrastructure
- Execution context
- Agent lifecycle events
- Model request and response events
- Tool execution events
- In-memory event recording
- Event retrieval by execution

The current observability layer provides the foundation for future tracing, metrics, dashboards, and external observability integrations.

It should not yet be considered a complete production monitoring platform.

## Package Ecosystem

BindAI is built as a modular package ecosystem.

| Package | Purpose |
| --- | --- |
| `bindai` | Main framework package |
| `bindai-agent` | AI agent framework |
| `bindai-application` | Application layer |
| `bindai-automation` | Automation definitions, triggers, execution state, history, and workers |
| `bindai-cli` | Command-line interface |
| `bindai-config` | Configuration |
| `bindai-connections` | External connections and integrations |
| `bindai-core` | Core framework abstractions |
| `bindai-embeddings` | Embedding providers |
| `bindai-group` | Agent groups and multi-agent execution |
| `bindai-host` | Hosting infrastructure |
| `bindai-knowledge` | Knowledge and RAG |
| `bindai-mcp` | MCP HTTP tool integration |
| `bindai-memory` | Memory providers |
| `bindai-model` | Model abstractions |
| `bindai-project` | Project management |
| `bindai-prompt-builder` | Prompt construction |
| `bindai-prompts` | Prompt system |
| `bindai-providers` | Provider abstractions and registry |
| `bindai-retrieval` | Retrieval implementations |
| `bindai-runtime` | Runtime infrastructure and execution events |
| `bindai-task` | Tasks and human tasks |
| `bindai-tool` | Tool system |
| `bindai-workflow` | Workflow engine |

The repository is structured as a workspace so individual packages can evolve independently while remaining part of the BindAI ecosystem.

## Architecture

```text
                         AI Application
                               |
              +----------------+----------------+
              |                |                |
            Agents          Workflows         Tools
              |                |                |
              +----------------+----------------+
                               |
                 +-------------+-------------+
                 |                           |
              Memory                    Knowledge
                 |                           |
                 +-------------+-------------+
                               |
                         Retrieval / RAG
                               |
              +----------------+----------------+
              |                |                |
          Providers       Connections          MCP
              |                |                |
              +----------------+----------------+
                               |
                          Automation
                               |
                 +-------------+-------------+
                 |             |             |
              Triggers       Runs         Workers
                 |             |             |
                 +-------------+-------------+
                               |
                    Service API / Deployment
                               |
                    Runtime / Core
                               |
                         Observability
```

The architecture is intentionally modular. Applications can use individual components or combine them into larger AI systems.

Automation builds on the same executable and runtime abstractions used by the rest of BindAI, while keeping automation state and historical run records in the automation layer.

The Service API provides an application-facing HTTP layer over the underlying framework and runtime.

## Project Structure

```text
BindAI/
|
+-- packages/
|   +-- bindai/
|   +-- bindai-agent/
|   +-- bindai-application/
|   +-- bindai-automation/
|   +-- bindai-cli/
|   +-- bindai-config/
|   +-- bindai-connections/
|   +-- bindai-core/
|   +-- bindai-embeddings/
|   +-- bindai-group/
|   +-- bindai-host/
|   +-- bindai-knowledge/
|   +-- bindai-mcp/
|   +-- bindai-memory/
|   +-- bindai-model/
|   +-- bindai-project/
|   +-- bindai-prompt-builder/
|   +-- bindai-prompts/
|   +-- bindai-providers/
|   +-- bindai-retrieval/
|   +-- bindai-runtime/
|   +-- bindai-task/
|   +-- bindai-tool/
|   +-- bindai-workflow/
|
+-- docs/
+-- examples/
+-- scripts/
|
+-- CHANGELOG.md
+-- CONTRIBUTING.md
+-- CODE_OF_CONDUCT.md
+-- SECURITY.md
+-- LICENSE
+-- README.md
+-- RELEASE.md
+-- docs.json
+-- Dockerfile
+-- docker-compose.yml
+-- pyproject.toml
```

## Documentation

Full documentation is available at:

https://docs.bindai.dev

The documentation currently covers:

- Getting Started
- Core Concepts
- Agents
- Tools
- Memory
- Knowledge and RAG
- Workflows
- Projects
- Connections
- Automation
- Service API
- API Authentication
- Streaming
- Background Runs
- Deployment
- MCP
- Roadmap

The `examples/` directory also contains runnable examples covering many current BindAI capabilities.

## Roadmap

BindAI is being developed incrementally.

### v0.1 release foundation

The v0.1 release establishes the foundation for:

- AI agents
- Workflows
- Tools
- Memory
- Knowledge and RAG
- Model providers
- Multi-agent execution
- External connections
- MCP HTTP integration
- Automation
- Background workers
- REST Service API
- Docker and Compose deployment
- Runtime observability foundation

### Post-v0.1 development

Future development areas include:

- Distributed queues
- Horizontally scalable workers
- Kubernetes deployment
- Advanced tracing and metrics
- Advanced agent capabilities
- Expanded automation infrastructure
- Additional integrations
- Visual workflow tooling
- Enterprise capabilities
- Voice AI
- Templates and business solutions

See the current roadmap in the documentation for implementation status and priorities.

## Examples

The repository contains examples demonstrating current framework capabilities.

```text
examples/
```

Examples cover areas such as:

- Basic agents
- Tools
- Streaming
- Memory
- Knowledge and RAG
- Workflows
- Multi-agent execution
- Human approval
- Retry and timeout handling
- FastAPI integration
- CLI usage
- MCP
- Custom providers
- Custom embeddings
- Custom memory
- Custom retrievers
- Configuration
- Automation
- Production-oriented application structure

The examples are intended to demonstrate framework usage and should be evaluated according to the maturity of the underlying APIs.

## Contributing

Contributions are welcome.

Before contributing, please read:

- `CONTRIBUTING.md`
- `CODE_OF_CONDUCT.md`
- `SECURITY.md`

Typical development setup:

```bash
uv sync
```

Run the test suite with:

```bash
uv run pytest
```

Run linting with:

```bash
uv run ruff check .
```

Check formatting with:

```bash
uv run ruff format --check .
```

Run type checking with:

```bash
uv run mypy packages examples
```

Please add or update tests when changing framework behavior.

## Community

- Documentation: https://docs.bindai.dev
- GitHub: https://github.com/BindBrain/BindAI
- Website: https://bindai.dev

## License

BindAI is released under the **MIT License**.

See [`LICENSE`](LICENSE) for the complete license text.

## Vision

BindAI aims to become a complete open-source ecosystem for building AI software.

The long-term vision includes:

- Production-oriented AI applications
- Modular AI infrastructure
- Advanced agent and multi-agent systems
- AI workflow automation
- Enterprise integrations
- Visual workflow tooling
- Developer-focused AI application infrastructure

## Status

BindAI is under active development.

**BindAI v0.1 establishes the first public release foundation** for building, integrating, automating, and deploying AI applications.

The current release provides a substantial foundation for:

- Agents
- Workflows
- Tools
- Memory
- Knowledge and RAG
- Model providers
- Multi-agent execution
- External connections
- MCP tool integration
- Automation
- Background workers
- REST APIs
- Docker deployment
- Runtime observability

The v0.1 automation system includes automation definitions, event triggers, execution state, run history, and background workers.

The v0.1 Service API provides authenticated REST endpoints for application execution, projects, workflows, agents, runs, streaming, and background execution.

Some roadmap areas remain under development and should not yet be considered complete distributed or enterprise platform capabilities.

**Build AI Software. Scale Everywhere.**

Made with ♥ by **BindBrain**
历史前置条件说明(补充参考)

Python 环境;PyPI 安装需可访问 PyPI,开发安装需 uv 与可访问 GitHub;使用云端模型需 OpenAI/Anthropic/Gemini/Groq/OpenRouter 等 API Key 与费用(价格待核验),Ollama 为本地模型选项;REST API 使用需配置 BINDAI_API_KEY;Pinecone 等向量库与外部连接需相应账号授权;支持的 Python 最低版本、系统兼容性及 Windows 支持细节待核验。

项目来源与清单版权许可

https://github.com/BindBrain/BindAI

https://bindai.dev

https://docs.bindai.dev

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.