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.1.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.1-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentweave_ai-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 81ad77bedafa314d87d6a857e823c6df4273b8140507351f3faf1f4debeaf929
MD5 0fd2df970770717134663f02b9f610c8
BLAKE2b-256 aa8783ecbe90d8a58c3e4766193760cc860d4cef501ff8280f0775a30fd19a73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentweave_ai-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33f8cbd567d2559e5c068e9a891b07f4e0166170bf49d4fc73a18de62e9a3af3
MD5 1655db0bf96acd965b61ee44f7903ad3
BLAKE2b-256 bdb85fa5f390203e63ff2a863df3f82cf783b2d550c2b12ec586a78577120940

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