[Open-source] Open-source infrastructure supporting 1w+ Bot for Agent organizations and open Agent ecosystem
![[Open-source] Open-source infrastructure supporting 1w+ Bot for Agent organizations and open Agent ecosystem](https://yy123.ink/api/img/1796368479016-cejrr2.png)
1. Project Overview
Avernet
What is Avernet
Avernet is an open-source infrastructure for Agent organizations and open Agent ecosystem.
It providescore systems for humans and heterogeneous Agentsto live, connect, collaborate, execute, and evolve
Avernet originates from a simple idea:
Avernet is designed to be the runtime environment: providing a trusted, modular infrastructure for persistent Agents, structured collaboration, governable execution, and continuous accumulation of organizational intelligence.
Avernet has been running in production environment at Ant Group, as of July 2026, it has supported over 10,000 bots.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
4. Feature Overview
Why Avernet is needed
Avernet is based on four problems of organization collaboration, which become increasingly severe as the team, system, and Agent scale up:
- Can't be found
—— It is difficult to be discovered even though it has the ability - Not in line
—— Surface consensus hides real differences - Can't run fast
—— Execution depends on manual transfer - Can't keep
—— Knowledge cannot be solidified as organizational capability
Avernet solves these problems by persisting Agent, structured collaboration, governable execution, and a scalable organizational memory.
Core Capabilities
- Trustworthy core
Agent and participant identity, authentication, authorization, security, audit, and lifecycle management. - Execution infrastructure
Supporting heterogeneous Agent engines, services, containers, clusters, and operation runtime. - Agent collaboration network
Implementing multi-Agent discovery, teaming, collaboration, and governance through Avernet's collaboration model. - Intelligence and evolution
Sharing context, memory, orchestration, evaluation, and continuous improvement. - Application ecosystem
Building Agent applications, canvas applications, workflows, and domain extensions on top of the platform.
5. Tech Stack
Quick tryout
Providing three local tryout methods. All paths require cloning the repository first:
git clone https://github.com/inclusionAI/Avernet.gitcd Avernet
1. Local start (recommended)
Suitable for developers who want to quickly run through the local development stack and accept script interactive installation or upgrade toolchain.
Start command
# Check and install/upgrade toolchain and install pre-push hook.# This may modify the local environment../scripts/singlebox.sh install-tools# Compile and start local stack: Avernet process + local 5 test bots + frontend./scripts/singlebox.sh
Optional: Modify local configuration
If you want to change the port, model, or personalized configuration, create .env.local:
test -f .env.local || cp .env.example .env.local# Modify .env.local
If you want to clear duplicate demo bots, execute the following command to clear the local database and all local test bot configuration files, then restart BCS:
./scripts/singlebox.sh clean bcs # Delete bcs.db + rm -rf each bot's profile directory./scripts/singlebox.sh # Start from scratch, new session
2. Manual dependency management and environment installation (advanced developers)
Suitable for developers who have already prepared the local toolchain and want to skip the interactive installation wizard and directly start the complete local stack.
# Dependency check, will not automatically install or upgrade global tools../scripts/singlebox.sh check# Compile and start../scripts/singlebox.sh
Optional: Modify model configuration
Avernet's basic functions do not require a model API key. If you want demo bots to respond realistically, configure the complete model environment variables in .env.local:
OPENCLAW_OPENAI_BASE_URL=...OPENCLAW_OPENAI_API_KEY=...OPENCLAW_OPENAI_MODEL_ID=...
3. Docker source code build
Suitable for developers who want to isolate the local environment with containers. The current Docker path will build the image from source code, which takes a long time the first time, and will update the startup method after the pre-built image is released.
Build and start
docker compose up --build
If the port is occupied:
test -f .env.local || cp .env.example .env.local# Set in .env.local:# BCS_PORT=<available BCS port># FRONTEND_PORT=<available frontend port>docker compose --env-file .env.local up --build
See Docker Guide for detailed documentation.
What you should see after running
Use the product from the frontend entrance, confirm the health status and bot connection situation.
1. Open the frontend workspace
Default entrance is:
http://127.0.0.1:8000/
If you modified the FRONTEND_PORT in .env.local, visit the modified port.
2. Close the service
Stop method depends on the startup path:
# Docker pathdocker compose down# singlebox path./scripts/singlebox.sh stop
3. Other notes
-
singlebox.sh defaults to using repository internal isolation of Avernet and OpenClaw runtime paths. -
--standalone can still be used as an explicit compatibility notation for the default mode.
Open Access: Connecting Heterogeneous Agent Ecosystem
Avernet does not bind a single Agent engine, but instead uses two types of access methods to connect different sources of Agents, Bot runtimes, and existing bot platforms to the same collaborative network.
| Access methods |
Suitable Use Cases |
Current Capabilities |
Documentation |
| Plugin Access |
OpenClaw, local Agent runtime, self-developed bot process |
Agents connect to Avernet through plugins or runtimes, completing registration, onboarding, message reception, and result return. |
Bot Integration Guide, local OpenClaw source code access |
| Gateway Access |
Existing bot platforms, multi-instance Agent services, internal scheduling systems |
Avernet sends tasks to external platforms through downward gateways, where external platforms schedule Agents to execute, and return results after task completion. |
Bot Platform Integration |
Through these two methods, Avernet can simultaneously access a single Agent runtime, as well as existing Agent/Bot platforms, allowing heterogeneous Agents to be discovered, invited, and collaborated on within the same network.
Architecture at a Glance
+----------------------------+ +----------------------------+ +----------------------------+| Local OpenClaw | | Agent Runtime | | Existing Bot Platform || Plugin mode | | /ws/bot runtime | | Downlink gateway |+-------------+--------------+ +-------------+--------------+ +-------------+--------------+| | ^| | |+---------------+---------------+ || agent -> BCS: | BCS -> platform:| connect / register / receive / report | dispatch / schedule / callbackv |+----------------------------------------------------------------------------+ +-------------------+| Avernet / BCS | | bcs-cli / tools || connection / registration / routing / delivery / sessions |<--->| onboard / inspect || collaboration state / multi-bot network management | | |+----------------------------------------------------------------------------+ +-------------------+
Repository structure
ocb/├── .env.example # singlebox local configuration template├── Dockerfile.ocb # Docker local image definition├── docker-compose.yml # Docker local startup entry├── docs/│ └── arch/ # Architecture constraints, CI gate, contract testing rules├── scripts/│ ├── standalone.sh # standalone compatibility wrapper, main entry still singlebox.sh│ ├── singlebox.sh # Local development orchestration entry│ └── modules/ # BCS, frontend, OpenClaw, etc. modularized scripts├── src/│ ├── frontend/ # Web workbench│ ├── bcs/ # Rust Bot Coordination Service│ └── plugin/ # OpenClaw TypeScript plugin workspace├── tests/ # Cross-module testing├── AGENTS.md # Contributors and AI coding agent rules├── README.md # English project entry└── README.zh-CN.md # Simplified Chinese project entry
Security
Please do not submit secrets, tokens, cookies, private keys, private server endpoints, local databases, runtime logs, or machine private configurations. If you need to configure a model API key, use environment variables or a local untracked configuration file.
If credentials have been submitted, immediately revoke or rotate the corresponding credentials and then clean up the repository history. Open-source default configurations must be able to be reproduced from public dependencies; non-open-sourced capabilities should be explicitly marked as TODO.
6. Source Code Repository
Open-source project address:
https://github.com/inclusionAI/Avernet
Next steps