agent-weave README

The project's README from github.com/bushm2092-del/agent-weave. As one markdown file: README.md.

AgentWeave

English | 简体中文

AgentWeave is a local-first, spatial workspace for running individual AI agents and coordinating multi-agent teams. It combines a visual canvas, durable conversations, role presets, team orchestration, and an Electron desktop shell in one pnpm monorepo.

AgentWeave is currently under active development. APIs and persisted data formats may change before the first stable release.

Product Preview

Spatial multi-agent canvas

Place agents from different providers on one infinite canvas, keep each conversation independent, and arrange the workspace around the task.

Multiple AI agents arranged on the AgentWeave canvas

Live agent conversations

Work with an agent directly inside a resizable canvas node, including model controls, streamed responses, reasoning, tool calls, and workspace context.

A live Pi agent conversation with tool-call output

Agent Team orchestration

Coordinate a leader and multiple teammates in one team node, while inspecting members, tasks, and activity from the team panel.

An Agent Team with four independently managed members

Reusable role presets

Create persisted roles with provider-specific instructions, then assign them consistently when building new agent teams.

The AgentWeave role preset library

Highlights

Architecture

Package Responsibility
packages/web React 19 application, tldraw canvas, conversation UI, and team management
packages/server Express API, SQLite persistence, SSE streams, acpx integration, and team orchestration
packages/contracts Shared Zod schemas, request/response DTOs, events, and domain types
packages/desktop Electron shell and macOS/Windows packaging

The server communicates with agent runtimes through acpx. Team agents also collaborate through an authenticated stdio MCP bridge. Each team member owns an isolated managed conversation while the Team service coordinates runs, tasks, mailbox intents, spawn approvals, and replayable events.

Requirements

Quick Start

Install dependencies and start the web application and API:

pnpm install
pnpm dev

The web application is available at http://localhost:5173 by default.

To start only one side:

pnpm dev:web
pnpm dev:server

To run the Electron application, including its development web and API servers:

pnpm dev:desktop

Configuration

Copy the server environment example before overriding defaults:

cp packages/server/.env.example packages/server/.env

The server configuration covers the host, port, allowed CORS origins, SQLite database path, acpx state directory, and turn timeout. Desktop production builds use the platform user-data directory by default. Set AGENT_WEAVE_API_ORIGIN before launching the desktop application to connect it to an external API server.

Desktop Builds

Create unpacked application output:

pnpm desktop:pack

Build distributable packages under packages/desktop/release:

pnpm desktop:dist:mac
pnpm desktop:dist:win

The macOS build produces DMG and ZIP artifacts for Intel and Apple Silicon. The Windows build produces an x64 NSIS installer and portable executable.

Main APIs

The API is mounted under /api/v1 and includes:

Conversation and Team event streams support sequence cursors for reconnecting clients. Live content deltas are delivered as transient SSE events, while completed run content is stored as full blocks for efficient reloads.

Roadmap

Quality Checks

Run all repository checks from the project root:

pnpm typecheck
pnpm lint
pnpm test
pnpm build

Documentation

Community

Scan the QR code to join the AgentWeave WeChat group for product updates, usage discussions, and feedback. The invitation QR code is refreshed periodically.

Join the AgentWeave WeChat group

License

No license has been declared yet. Until one is added, all rights are reserved by the repository owner.

agent-weave (bushm2092-del/agent-weave)

Searching Database…

这是什么?AgentWeave 是一个本地优先的空间化工作区,用于运行单个 AI 智能体并协调多智能体团队,搭建在无限画布上,支持 Codex、Claude、OpenCode、Pi 等提供商。
这是 web 应用还是桌面应用?两者都是:它是一个由 Express API 支撑的 React web 应用,同一套 web UI 加内嵌 API 也可以打包成 macOS 和 Windows 上的 Electron 桌面应用。
怎么把它跑起来?克隆这个 pnpm monorepo,安装依赖,然后运行 pnpm dev 同时启动 web 应用和 API(或用 pnpm dev:web / pnpm dev:server 只启动一侧,用 pnpm dev:desktop 启动 Electron 外壳)。
运行前需要装好什么?需要 Node.js 24 或更高版本、pnpm 11(通过 packageManager 固定),以及你本地 acpx 安装所支持的某个 agent 提供商。
它适合日常生产使用吗?还不行——项目明确处于积极开发中,README 警告在首个稳定版发布前,API 和持久化数据格式仍可能变动。
我的对话数据最终存在哪里?对话、内容块、运行记录、画布快照和团队状态都本地保存在 SQLite 中,不会发送到远程服务。
acpx 是什么?智能体怎么通过它连接?acpx 是 AgentWeave 服务器用来驱动各个 agent 提供商的运行时;团队智能体还会通过一个经过身份验证的 stdio MCP 桥接进行协作。
智能体团队到底是怎么运作的?一个团队节点有一个 leader 和多个 teammate,每个成员都有独立的对话、共享的工作区上下文、任务和邮箱消息,新成员的生成受审批控制。
智能体能跨会话记住东西吗?共享记忆基础层会从已完成的智能体工作中提取可复用的知识,让其他智能体和未来的会话能够回顾之前的决策和发现,而不用重复研究。
Size
5.8 MB
Stars
205
Updated
CommitSep 03
Age
1mo
Commits · 90 Days