BindAI
Build AI applications with agents, tools, workflows, memory, knowledge, and retrieval.
A modular Python framework for building AI applications from assistants and RAG systems to automation and multi-agent workflows.
Documentation · Website · PyPI · GitHub
Overview
BindAI is an open-source Python framework for building AI applications from composable components.
The framework brings together:
- AI agents
- Model providers
- Tool calling
- Workflows
- Memory
- Knowledge and RAG
- Embeddings
- Retrieval
- Multi-agent delegation and teams
- External connections
- MCP integration
- CLI and project configuration
- AI automation
The architecture is modular, so applications can start with a simple agent and grow into more sophisticated AI systems without requiring a completely different application structure.
Installation
Install the main framework package:
pip install bindai
The BindAI ecosystem also provides separate packages for providers and integrations.
For development from the repository:
git clone https://github.com/BindBrain/BindAI.git
cd BindAI
uv sync
The repository root is a uv workspace. The root workspace itself is not installed with pip install -e ..
Quick Start
The recommended programmatic construction API is Agent.builder():
from bindai import Agent
agent = (
Agent.builder()
.name("assistant")
.instructions("You are a helpful AI assistant.")
.provider("openai", model="gpt-4.1-mini")
.build()
)
result = agent.run("Explain what BindAI is.")
print(result.output)
Provider/model selection can also use the provider:model format:
from bindai import Agent
agent = (
Agent.builder()
.name("assistant")
.instructions("You are a helpful AI assistant.")
.model("openai:gpt-4.1-mini")
.build()
)
Set the required provider environment variable before running the application.
For example:
OPENAI_API_KEY=your-key
See the documentation for provider-specific configuration and additional providers.
Core Capabilities
Agents
BindAI agents provide the primary runtime abstraction for AI application logic.
Agents support:
- Instructions and prompts
- Model providers
- Tool calling
- Structured output
- Streaming
- Memory
- Knowledge and retrieval
- Middleware
- Hooks and events
- Agent delegation
- Multi-agent teams
- Workflow integration
Example:
from bindai import Agent
agent = (
Agent.builder()
.name("researcher")
.instructions("You are a research assistant.")
.model("openai:gpt-4.1-mini")
.build()
)
result = agent.run("Explain retrieval-augmented generation.")
print(result.output)
Tools
Tools allow agents to call application-defined Python functions and external services.
from bindai import Agent
def get_status() -> str:
return "All systems operational."
agent = (
Agent.builder()
.name("assistant")
.instructions("You are a helpful assistant.")
.model("openai:gpt-4.1-mini")
.tool(get_status)
.build()
)
Tools can be combined with workflows, Memory, Knowledge, Connections, and multi-agent systems.
Workflows
BindAI provides workflow orchestration capabilities for composing AI and application operations.
Supported workflow patterns include:
- Sequential execution
- Conditional branching
- Loops
- Parallel execution
- Retries
- Timeouts
- Human-in-the-loop tasks
- Scheduling
- External integrations
Workflows can coordinate agents, tools, retrieval, memory, and external services.
Memory
Memory provides provider-based storage and retrieval of application records.
Current memory providers include:
- In-memory
- SQLite
- PostgreSQL
- Vector memory
- Pinecone
- Chroma
Memory can store application state, long-term information, metadata, relationships, embeddings, and other records.
Example:
from bindai import Agent
from bindai_memory import Memory, SQLiteMemoryProvider
memory = Memory(SQLiteMemoryProvider("memory.db"))
agent = (
Agent.builder()
.name("assistant")
.instructions("You are a helpful assistant.")
.model("openai:gpt-4.1-mini")
.memory(memory)
.build()
)
Knowledge and RAG
BindAI includes a Knowledge layer for retrieval-augmented applications.
The Knowledge and retrieval stack supports:
- Document loading
- Ingestion
- Parsing
- Chunking
- Metadata
- Embeddings
- Vector retrieval
- BM25 retrieval
- Hybrid retrieval
- Metadata filtering
- Reranking
- Conversational retrieval
- Knowledge pipelines
- Agent integration
The framework also provides an OpenAI embedding provider and a deterministic local embedding provider for development and testing.
Embeddings and Retrieval
Embeddings and retrieval are available as modular packages.
Retrieval capabilities include:
- Vector search
- BM25 search
- Hybrid search
- Similarity scoring
- Metadata filtering
- Search configuration
- Reranking
These components can be used independently or combined with the Knowledge and agent layers.
Multi-Agent Systems
Agents can delegate work to other agents and participate in agent teams.
Current capabilities include:
- Agent delegation
- Team delegation
- Specialist agents
- Role-based chains
- Retrieval-enabled agents
More advanced planning and hierarchical coordination remain part of the roadmap.
External Connections
The Connections package provides a common abstraction for integrating external services.
Current integrations include:
- Webhooks
- GitHub
- Slack
- Notion
- Jira
- Discord
- Resend
- Vercel
- Netlify
Connections are modular and can be used by application logic, tools, workflows, and agents.
MCP
BindAI includes a basic MCP client integration for connecting applications to MCP-compatible tool services.
Current MCP capabilities include:
- Tool discovery
- Tool calling
- Basic HTTP connections
Additional MCP capabilities are planned as the integration evolves.
AI Providers
BindAI currently includes provider integrations for:
- OpenAI
- Anthropic
- Google Gemini
- Groq
- Ollama
- OpenRouter
Providers are packaged independently so applications can select the provider they need.
Typical model identifiers use:
provider:model
Examples:
openai:gpt-4.1-mini
anthropic:claude-sonnet-4
google:gemini-2.5-flash
groq:llama-3.3-70b-versatile
ollama:llama3
openrouter:openai/gpt-4.1-mini
Provider packages are separate from the main bindai package.
Package Ecosystem
BindAI is organized as a modular package ecosystem.
| Package | Purpose |
|---|---|
bindai |
Main framework |
bindai-agent |
AI agents |
bindai-application |
Application abstractions |
bindai-cli |
Command-line interface |
bindai-config |
Configuration |
bindai-connections |
External service connections |
bindai-core |
Core framework primitives |
bindai-embeddings |
Embedding providers |
bindai-group |
Agent groups |
bindai-host |
Hosting-related components |
bindai-knowledge |
Knowledge and RAG |
bindai-mcp |
MCP integration |
bindai-memory |
Memory providers |
bindai-model |
Model abstractions |
bindai-project |
Project abstractions |
bindai-prompt-builder |
Prompt construction |
bindai-prompts |
Prompt system |
bindai-providers |
Provider infrastructure |
bindai-retrieval |
Retrieval |
bindai-runtime |
Runtime |
bindai-task |
Tasks |
bindai-tool |
Tool system |
bindai-workflow |
Workflow orchestration |
Provider integrations are packaged separately under the provider namespace:
bindai-provider-openai
bindai-provider-anthropic
bindai-provider-google
bindai-provider-groq
bindai-provider-ollama
bindai-provider-openrouter
Architecture
Application
|
+-----------+-----------+
| | |
Agent Workflow Tools
| | |
+-----------+-----------+
|
+----------+----------+
| |
Memory Knowledge
|
Retrieval / RAG
|
+------------+------------+
| |
Embeddings Reranking
|
Model Providers
|
+---------+---------+---------+---------+
| | | | |
OpenAI Anthropic Google Groq Ollama
|
OpenRouter
External Connections and MCP can be integrated alongside these application components.
The architecture is designed around composable packages so individual capabilities can evolve independently.
Project Structure
BindAI/
├── packages/
│ ├── bindai/
│ ├── bindai-agent/
│ ├── bindai-core/
│ ├── bindai-memory/
│ ├── bindai-tool/
│ ├── bindai-workflow/
│ ├── bindai-knowledge/
│ ├── bindai-connections/
│ ├── bindai-mcp/
│ └── ...
├── docs/
├── scripts/
├── README.md
├── docs.json
└── pyproject.toml
Documentation
Complete documentation is available at:
Documentation includes:
- Getting Started
- Installation
- Core Concepts
- Agents
- Tools
- Memory
- Knowledge and RAG
- Workflows
- Projects
- Connections
- MCP
- API Reference
Roadmap
BindAI is being developed incrementally.
Current roadmap areas include:
- AI application foundation
- AI provider ecosystem
- Memory, storage, and retrieval
- Advanced Knowledge and RAG
- Connections and integrations
- MCP
- Advanced agents and multi-agent systems
- AI automation
- Public API and deployment
- Observability
Future areas include:
- Enterprise capabilities
- Visual workflow platform
- Voice AI
- Templates and business solutions
See the current roadmap in the documentation for implementation status and upcoming work.
Contributing
Contributions are welcome.
To contribute:
- Fork the repository.
- Create a feature branch.
- Implement your changes.
- Add or update tests when appropriate.
- Verify the test suite.
- Submit a pull request.
Bug reports, documentation improvements, feature requests, and code contributions are welcome.
Community
- Documentation: https://docs.bindai.dev
- Website: https://bindai.dev
- GitHub: https://github.com/BindBrain/BindAI
Follow BindAI and BindBrain for project updates and future ecosystem announcements.
License
BindAI is released under the MIT License.
Vision
BindAI aims to provide an open-source foundation for building AI software with composable, provider-independent components.
The long-term vision is to support increasingly sophisticated AI applications while keeping the underlying architecture modular, testable, and extensible.
Build AI Software. Scale Everywhere.
Made with ❤️ by BindBrain
https://bindai.dev
Release files for bindai 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bindai-0.1.8.tar.gz | 28.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bindai-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.6 kB
Release files / bindai-0.1.8.tar.gz
| Download URL | bindai-0.1.8.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2291b9984adea8d95b19250e5cedac962ca21ad3f137bf1ebf12c1f5626069a
|
|
BLAKE2b-256 checksum How to use checksums |
10d9c1ba301fe66fd65448179660470a142f76433fac62e73d4c66670890fbec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / bindai-0.1.8-py3-none-any.whl
| Download URL | bindai-0.1.8-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c91e5403a26c8ed87fa5065d3684544578bfdb40cb63565133394cddd63cfe2
|
|
BLAKE2b-256 checksum How to use checksums |
3e2c44fc6a129808ec05ff0707446c17ce9f9875b798c557847589a15d74e5f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|