Terminal-first multi-agent orchestration library built around OpenHands remote workers and Vertex AI.
Project description
AutoWeave: Multi-Agent Orchestration Library
AutoWeave is the robust execution engine for multi-agent software engineering teams. It orchestrates specialized AI agents as a coherent team, managing workflow compilation, task graphs, queue-backed durable execution, and human-in-the-loop approvals.
Core Features
- Workflow Orchestration: Define, compile, and execute Directed Acyclic Graphs (DAGs) of agentic tasks.
- Durable State: Resume paused runs, track individual attempts, and safely persist context to PostgreSQL.
- Human-in-the-Loop: Built-in primitives to pause execution and request approvals or clarifications from a human.
- Queue Dispatch: Offload long-running autonomous tasks to Celery workers backed by Redis.
- Local Monitoring: Inspect active and historic runs via a beautiful, lightweight local developer dashboard.
Installation
Install AutoWeave directly from PyPI using pip or uv:
pip install autoweave
Quick Start (CLI)
AutoWeave provides a comprehensive CLI for local orchestration.
- Initialize a new project in a fresh directory:
autoweave new-project
- Bootstrap the local environment and configuration files:
autoweave bootstrap
- Start the control plane UI and background Celery worker:
autoweave start
- Execute a workflow from the terminal:
autoweave run-workflow --root . --request "Create a Python script that calculates Fibonacci numbers"
Programmatic Usage
AutoWeave exposes a clean Python API for integrating orchestration into your own applications.
1. Launching a Workflow
from autoweave.orchestration.runtime import build_local_runtime
# Initialize the runtime for your project directory
runtime = build_local_runtime(root_path="./my-weave-project")
# Dispatch a new workflow to the agents
workflow_run = runtime.launch_workflow(
request="Review the backend contract and propose next steps"
)
print(f"Successfully started workflow run: {workflow_run.id}")
2. Inspecting the State
from autoweave.monitoring.service import MonitoringService
service = MonitoringService(db_path="./my-weave-project/autoweave.db")
# Fetch a snapshot of all active runs
state_snapshot = service.snapshot(limit=5)
print(state_snapshot)
Dashboard & Monitoring
AutoWeave includes a built-in monitoring dashboard to trace agent executions, view generated artifacts, and resolve human-in-the-loop approvals.
To start it independently:
autoweave ui --root ./my-weave-project
Then navigate to http://localhost:8766 in your browser.
Support & Architecture
For comprehensive architecture specs, deployment instructions, and advanced configuration options, visit our GitHub Repository Documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autoweave-0.1.2.tar.gz.
File metadata
- Download URL: autoweave-0.1.2.tar.gz
- Upload date:
- Size: 332.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c349cd55f6286683d8166abc4612b5ed91fb9dd66f6c24f8ad563c42c45fdb3
|
|
| MD5 |
9f7a6d1724c5c9fa380cbdd2ad4d4f02
|
|
| BLAKE2b-256 |
1eebc9f4fc4708ed2dc2c9ddcb0f330e15dee70e471e835634e19a13962f200c
|
File details
Details for the file autoweave-0.1.2-py3-none-any.whl.
File metadata
- Download URL: autoweave-0.1.2-py3-none-any.whl
- Upload date:
- Size: 173.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8985ffe7a5c9c85c4420a06ca8d5bd84ab68a275c238a245ffbf28815fa9294
|
|
| MD5 |
b40a75e93a6181ff3c60a9fadf7f0a87
|
|
| BLAKE2b-256 |
3ec309d3b6fb2a6157b3d281a07e531ce2268946bb5242c0bde4e41d571c3004
|