Invokes agent harnesses (Antigravity CLI, Claude Code, Codex CLI) headlessly. Python wrapper around the agentsummons Go CLI.
Project description
agentsummons
Python wrapper around agentsummons, a Go library + CLI that invokes agent harnesses (Antigravity CLI, Claude Code, Codex CLI) headlessly: it owns the per-harness flag knowledge so scripts and experiments don't have to rediscover it.
The wheel bundles the real Go binary for your platform, plus a thin Python API.
CLI
pip install agentsummons
agentsummons run --harness claude-code -p "Summarize this repo" \
--allowed-tools Read,Grep,Glob --auto-approve
Identical to the Go CLI — see the
project README for
the full surface (run, build, info, doctor).
API
import agentsummons
res = agentsummons.run(
harness="claude-code",
prompt="Summarize this repo",
workdir=dir,
allowed_tools=["Read", "Grep", "Glob"],
auto_approve=True,
timeout=300,
)
# res is the CLI's `run --json` envelope as a dict:
# res["exit_code"], res["stdout"], res["timed_out"], res["session_id"], ...
A nonzero harness exit is data (res["exit_code"]), not an exception; a
timeout returns timed_out: True with the partial output. Bad requests
raise RequestError, a missing harness binary raises NotInstalledError.
build(...) returns the assembled argv without executing;
binary_path() exposes the bundled binary for anything else.
Set AGENTSUMMONS_BINARY to override which binary the wrapper invokes.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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 agentsummons-0.2.1-py3-none-win_arm64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-win_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb432fd5ed238d8ddd21cb9e126348a2dda73d0a6daa37b94660a117b54b21e5
|
|
| MD5 |
d391c13d0b38902b9e55fb54bb6a58b5
|
|
| BLAKE2b-256 |
bb4e127f672e996e5530cafb807e00c87a7a5610f1c9d83fe296455a13ad2259
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-win_arm64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-win_arm64.whl -
Subject digest:
cb432fd5ed238d8ddd21cb9e126348a2dda73d0a6daa37b94660a117b54b21e5 - Sigstore transparency entry: 2204699721
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentsummons-0.2.1-py3-none-win_amd64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe0deef933667584330888e141bd8c5c346c4bc5329ffc9f5a2f365e832612b7
|
|
| MD5 |
03903972064effcf207cd43da59d2b69
|
|
| BLAKE2b-256 |
f81c71ee84c35ecbaaba60d0b338c8e59205b2cdcf29f3fdd337ff334c5b6886
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-win_amd64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-win_amd64.whl -
Subject digest:
fe0deef933667584330888e141bd8c5c346c4bc5329ffc9f5a2f365e832612b7 - Sigstore transparency entry: 2204699728
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentsummons-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
982aa338e326c617d0ea2abfe3bcbc4d78a97b6254841f8092749953b0178941
|
|
| MD5 |
c2706d42c1cc56a2569d43846920872d
|
|
| BLAKE2b-256 |
83d365babfa3d63abe3a18d350a27b3db4b131cd67a7098b587b2b6fc2ed03ae
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl -
Subject digest:
982aa338e326c617d0ea2abfe3bcbc4d78a97b6254841f8092749953b0178941 - Sigstore transparency entry: 2204699726
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentsummons-0.2.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1f5ab21cada49b89ebb575efe2487d965608389cacc1a0a8a46ef5d3daef8eb
|
|
| MD5 |
4d02e537a1f1105542513789d70c8fa7
|
|
| BLAKE2b-256 |
d715b2c1bb3eb61621c0c4f148e75e83e82cb2477c74ebbb828c850d3289d3af
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl -
Subject digest:
c1f5ab21cada49b89ebb575efe2487d965608389cacc1a0a8a46ef5d3daef8eb - Sigstore transparency entry: 2204699723
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentsummons-0.2.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c042a23443f1700c9d1442c7b836254e39909683de39e5cb52f42fc74a489054
|
|
| MD5 |
17c6909959446c6a3de0b94bc4cd935e
|
|
| BLAKE2b-256 |
d6ec6cdc628284c0671692c5902a761207962aceac28a912a27730d6b18441bf
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-macosx_11_0_arm64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-macosx_11_0_arm64.whl -
Subject digest:
c042a23443f1700c9d1442c7b836254e39909683de39e5cb52f42fc74a489054 - Sigstore transparency entry: 2204699731
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentsummons-0.2.1-py3-none-macosx_10_13_x86_64.whl.
File metadata
- Download URL: agentsummons-0.2.1-py3-none-macosx_10_13_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
749524b1d819103a54a1437fb2f1e7fe2ad0735f5b93e3b3066bd3adfd0f78a4
|
|
| MD5 |
4032d01d59a60dc5a65a97adfdc9d108
|
|
| BLAKE2b-256 |
248105bde08eb5613b07e7e76a0372bcee72fac5e8f4f6b42190ad7c3a8ede36
|
Provenance
The following attestation bundles were made for agentsummons-0.2.1-py3-none-macosx_10_13_x86_64.whl:
Publisher:
release.yml on agent-ecosystem/agentsummons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentsummons-0.2.1-py3-none-macosx_10_13_x86_64.whl -
Subject digest:
749524b1d819103a54a1437fb2f1e7fe2ad0735f5b93e3b3066bd3adfd0f78a4 - Sigstore transparency entry: 2204699732
- Sigstore integration time:
-
Permalink:
agent-ecosystem/agentsummons@335d3076ccb274c88daae935d81af98bdc82869e -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agent-ecosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@335d3076ccb274c88daae935d81af98bdc82869e -
Trigger Event:
push
-
Statement type: