Skip to main content

AgentWeave

Python Version License: MIT PyPI version

AgentWeave is a local application where several AI coding agents work on your projects together, against specifications you approve. It runs on your machine: one process owns execution, state and identity, and serves the interface you work in.

Requires Python 3.11+.

Quick start

pip install agentweave-ai
agentweave

That is the whole thing. agentweave-ai brings the Hub — the local server and its interface — with it; there is no second package to install and no configuration to write.

The first launch creates user-local Hub state, runs database migrations, starts the native Hub, registers the current directory as a project, and opens its overview at http://localhost:8000. Run agentweave from another directory to add or reopen that project in the same instance. Projects keep separate agents, conversations, tasks, settings, caches, and runtime workspaces.

CLI

The CLI manages only the local application instance:

agentweave                 # Start or open the app
agentweave doctor          # Check installation and runtime readiness
agentweave status          # Show instance URL, port, and project collection
agentweave stop            # Stop the local instance
agentweave reset           # Delete local Hub state after confirmation
agentweave --version

Messages, tasks, agents, jobs, questions, and project settings are managed through the dashboard or the run-authenticated agent capability plane—not CLI subcommands.

What the dashboard provides

  • Agent roster, launch readiness, conversations, and streamed output
  • Task board, messages, questions, and scheduled jobs
  • Usage accounting, logs, traces, specifications, and project settings
  • Direct Hub-owned execution for configured runners
  • One least-privilege capability API, reached over HTTP or through equivalent MCP tools

Local state and configuration

The native instance stores state under ~/.agentweave/hub/:

  • .env — generated bootstrap identity and local configuration
  • data/agentweave.db — SQLite database
  • hub.pid — native process identity while running

Important environment settings include:

Variable Default Purpose
AW_BOOTSTRAP_API_KEY generated Instance-local operator credential
AW_BOOTSTRAP_PROJECT_ID unset Legacy migration bootstrap only
AW_WORKSPACE_ROOT unset Container-visible project root in explicit Docker mode
AW_WORKSPACE_HOST_ROOT ./workspaces Host directory mounted at /workspaces by Compose
AW_PORT 8000 Hub port
AW_HOST 127.0.0.1 Native bind address
DATABASE_URL generated SQLite URL Database connection

Provider credentials remain environment variables available to the Hub process. Secret values are never returned by readiness or diagnostic APIs.

Agent capability plane

Every running agent receives a short-lived run token. That identity can access only the project and agent actions permitted to that run, and is never accepted from a request body or header. Direct HTTP and MCP are two adapters over the same action set and authorization semantics — MCP because it is convenient, HTTP because some environments forbid MCP servers. The CLI is not one of them: it manages the local instance and has no agent capabilities.

Operator APIs use one instance credential and carry project identity in their URL; choosing a project is navigation, not authentication.

Development

pip install -e ./hub          # first: agentweave-ai depends on agentweave-hub
pip install -e ".[dev]"
py -3.11 -m pytest tests/ -q

cd hub
py -3.11 -m pytest tests/ -q

cd ui
npm install
npm run test -- --run
npm run build

The Hub is installed first so pip resolves the dependency from this checkout rather than fetching a release from PyPI.

Exercise stateful product commands only inside testbed/ or another throwaway directory, and never let this repository acquire a root agentweave.yml.

Repository layout

src/agentweave/   Python CLI and agent adapters
hub/hub/          FastAPI backend and Hub-owned execution
hub/ui/           React dashboard
tests/            CLI unit tests
hub/tests/        Hub tests
docs/             MkDocs documentation
openspec/         Current specifications and changes

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentweave_ai-1.0.0.tar.gz (154.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentweave_ai-1.0.0-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

Details for the file agentweave_ai-1.0.0.tar.gz.

File metadata

  • Download URL: agentweave_ai-1.0.0.tar.gz
  • Upload date:
  • Size: 154.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for agentweave_ai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f40c961e4518db152901d744f52b745116da5443c47d80690e3089133a58ea4a
MD5 3a08db360e56910a3ca7745a65f28767
BLAKE2b-256 16da624f6892f6c81cf99b8a7edf060886bdab318149e806cc45d171f0e52576

See more details on using hashes here.

File details

Details for the file agentweave_ai-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: agentweave_ai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 126.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for agentweave_ai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed72e8f06741dd4524510b3334aa48524f369252cdf7ce597700541bda267c45
MD5 8125468e8f76020235f17bc2cf7525f4
BLAKE2b-256 56c3936dde325f92512286f4ac2a0c36c361230df162b3aecc99cd0e84d519b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page