Skip to main content

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.

Release files for agentsummons 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for agentsummons 0.3.4
File
agentsummons-0.3.4-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
agentsummons-0.3.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
agentsummons-0.3.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 Details
agentsummons-0.3.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details
agentsummons-0.3.4-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
agentsummons-0.3.4-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details

Total release size: 7.3 MB

Release files / agentsummons-0.3.4-py3-none-win_arm64.whl

Download URL agentsummons-0.3.4-py3-none-win_arm64.whl
Size 1.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
bbf5c693b3c8ebc4c50cd47fd11f1d4eaabe051d5abf43fd5391aff030e122c8
BLAKE2b-256 checksum
How to use checksums
9ac5f5796c224c53628848758494d24b11a616babf20460dccbdc248b730132d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / agentsummons-0.3.4-py3-none-win_amd64.whl

Download URL agentsummons-0.3.4-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
78ca0cd9fede0eea04c80a1c757f54f4e693e6b98ec7f3016efe17e2142df415
BLAKE2b-256 checksum
How to use checksums
df0c0d84e56a3cc94d56200359e64e088e7bac6fe7e6a4169b1b8d2f793290ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / agentsummons-0.3.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl

Download URL agentsummons-0.3.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Size 1.2 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5b6eb84dc9403db05c04ac50717efd6315035578b2ac046b28b164073f466b07
BLAKE2b-256 checksum
How to use checksums
76348ab30998d737e33f984545efd59a679dc8f7623ab09c8b6566cce01ebfc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / agentsummons-0.3.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl

Download URL agentsummons-0.3.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Size 1.1 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c965530797b199c894638c73f205e4adaec0facf0dd3ba885525247dfd095710
BLAKE2b-256 checksum
How to use checksums
d4f8ad74177cc912fc0da5e118985c14ae14fe9393ce0bf2582e3aaa5fcf097d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / agentsummons-0.3.4-py3-none-macosx_11_0_arm64.whl

Download URL agentsummons-0.3.4-py3-none-macosx_11_0_arm64.whl
Size 1.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
071226edeaa3ecea2ef2075f2c4b87a5c60b8b8c09c51c8d818b92791d08ed7c
BLAKE2b-256 checksum
How to use checksums
46e6976b7ceda769c121f7b84707add351acacdfef0e72d3d33557aa05be6008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / agentsummons-0.3.4-py3-none-macosx_10_13_x86_64.whl

Download URL agentsummons-0.3.4-py3-none-macosx_10_13_x86_64.whl
Size 1.2 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
811859f2934a7b503347aaad73668c38e157b6c96f6de196884ef452573cbe9f
BLAKE2b-256 checksum
How to use checksums
a6d413be9de9f4ca52bbd7117381d4299aaf0772afa86a140c140f5a58a6504e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

6 release files

0.3.5

6 release files

This release

0.3.4 This release

6 release files

0.3.3

6 release files

0.3.2

6 release files

0.3.1

6 release files

0.3.0

6 release files

0.2.2

6 release files

0.2.1

6 release files

0.2.0

6 release files

0.1.0

6 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page