Local-first multi-agent coordination and provenance for coding workflows
Project description
AgentMesh
Local-first multi-agent coordination and provenance for coding workflows.
AgentMesh adds deterministic coordination (claims, waits, steals), commit-linked lineage (AgentMesh-Episode trailers + weave events), and portable handoff bundles (.meshpack) on top of normal git workflows.
Install
pipx install agentmesh-core # recommended (isolated)
# or
pip install agentmesh-core
# optional: commit witness signing (Ed25519)
pipx install "agentmesh-core[witness]"
Quick Start
cd your-repo
agentmesh init --install-hooks # set up mesh + Claude Code hooks
agentmesh doctor # verify everything is wired correctly
agentmesh task start --title "Fix login timeout" \
--claim src/auth.py --claim tests/test_auth.py
# edit + stage as normal
git add src/auth.py tests/test_auth.py
agentmesh task finish --message "Fix login timeout handling" \
--run-tests "pytest -q tests/test_auth.py"
# ^ commits with AgentMesh-Episode trailer, emits capsule, releases claims
How It Works
When multiple AI agents (or humans) work in the same repo, AgentMesh prevents chaos:
- Claims: agents lock files/ports/resources before editing. Conflicts are blocked, not merged.
- Episodes: every work session gets a unique ID (
ep_...) that binds claims, capsules, and commits. - Capsules: structured context bundles (SBAR format) for zero-ramp-up handoffs between agents.
- Weaver: hash-chained provenance linking capsules to git commits. Every change is traceable.
- Commit trailers:
agentmesh commitinjectsAgentMesh-Episode:by default, and can attach signed witness trailers (AgentMesh-KeyID,AgentMesh-Witness,AgentMesh-Sig+ portable witness payload chunks) when witness support + keys are present.
Optional Witness Signing
If installed with agentmesh-core[witness], you can sign commit witnesses locally:
agentmesh key generate
agentmesh commit -m "Fix timeout handling"
agentmesh witness verify HEAD
Witness verification is portable: the signed witness payload is embedded in commit trailers, so CI and other machines can verify without local sidecar state.
CI Integration
Add agentmesh-action to check lineage coverage on PRs:
# .github/workflows/lineage.yml
name: Lineage Check
on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
lineage:
runs-on: ubuntu-latest
steps:
- uses: Haserjian/agentmesh-action@v1
The action posts a sticky PR comment showing commit coverage. Set require-trailers: "true" to enforce episode lineage, and verify-witness: "true" + require-witness: "true" to enforce cryptographic witness verification.
Documentation Policy
- Public/private split guidance:
docs/public-private-boundary.md - Decision matrix + release gate:
docs/public-private-decision-matrix.md - Alpha gate operator runbook:
docs/alpha-gate-runbook.md - License transition policy:
docs/license-policy.md
Generated canary artifacts (CI logs, raw gate reports) should be treated as private by default. Publish sanitized summaries/templates for OSS.
Use the classifier before publishing:
agentmesh classify --staged --fail-on-private --fail-on-review
Release preflight (deterministic gate for agents/automation):
agentmesh release-check --staged --require-witness --json
Sanitize private alpha gate artifacts before publishing:
agentmesh sanitize-alpha-gate-report \
--in .agentmesh/runs/alpha-gate-report.json \
--out docs/alpha-gate-report.public.json
CI rollout recommendation:
- Start with non-blocking
release-checkpreview artifacts. - Keep private-artifact blocking enabled.
- Switch
release-checkto blocking after policy tuning.
License
AgentMesh is licensed under Apache-2.0 for current and future development.
Published releases up to and including v0.7.0 remain under MIT as originally released.
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 agentmesh_core-0.9.0.tar.gz.
File metadata
- Download URL: agentmesh_core-0.9.0.tar.gz
- Upload date:
- Size: 180.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9305900bfb3113cd47b8a1661a6e8efad050bdbe04dc8f3600e721a462a72e1d
|
|
| MD5 |
f52afa5c3cd8114eb86c95d13510538b
|
|
| BLAKE2b-256 |
0cdcd9984009c9e5d6120635906e990d4aa542c807728fac6703b66a6e8778ff
|
Provenance
The following attestation bundles were made for agentmesh_core-0.9.0.tar.gz:
Publisher:
publish.yml on Haserjian/agentmesh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentmesh_core-0.9.0.tar.gz -
Subject digest:
9305900bfb3113cd47b8a1661a6e8efad050bdbe04dc8f3600e721a462a72e1d - Sigstore transparency entry: 990274511
- Sigstore integration time:
-
Permalink:
Haserjian/agentmesh@9beaf45bffefb75776e0c40a6995ac5760a0be20 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/Haserjian
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9beaf45bffefb75776e0c40a6995ac5760a0be20 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agentmesh_core-0.9.0-py3-none-any.whl.
File metadata
- Download URL: agentmesh_core-0.9.0-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519a2fa94787158632d20fbeff15150f992c689dddd442cee6876dcd652ad5ed
|
|
| MD5 |
aaa231065856b1561ab2461d444d22e0
|
|
| BLAKE2b-256 |
22ddf25757a17409f6fb5edb574c8ba770167f1d944d1cf4612834c0f8ee7fac
|
Provenance
The following attestation bundles were made for agentmesh_core-0.9.0-py3-none-any.whl:
Publisher:
publish.yml on Haserjian/agentmesh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentmesh_core-0.9.0-py3-none-any.whl -
Subject digest:
519a2fa94787158632d20fbeff15150f992c689dddd442cee6876dcd652ad5ed - Sigstore transparency entry: 990274515
- Sigstore integration time:
-
Permalink:
Haserjian/agentmesh@9beaf45bffefb75776e0c40a6995ac5760a0be20 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/Haserjian
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9beaf45bffefb75776e0c40a6995ac5760a0be20 -
Trigger Event:
release
-
Statement type: