Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agentsummons-0.3.1-py3-none-win_arm64.whl (1.2 MB view details)

Uploaded Python 3Windows ARM64

agentsummons-0.3.1-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3Windows x86-64

agentsummons-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64musllinux: musl 1.1+ x86-64

agentsummons-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64musllinux: musl 1.1+ ARM64

agentsummons-0.3.1-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agentsummons-0.3.1-py3-none-macosx_10_13_x86_64.whl (1.2 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

File details

Details for the file agentsummons-0.3.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: agentsummons-0.3.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/7.0.0 CPython/3.13.14

File hashes

Hashes for agentsummons-0.3.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 84c2848232a817b4976b0906cffed7b85c88e89ac7c44a11c22d9d6eb9fac7df
MD5 47e1d5a27b676318f40ac1784fd3f5de
BLAKE2b-256 2d4980db01425524bf839b481db1f6e62cf81a6f3a71cc51a4742e0c75e89ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-win_arm64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsummons-0.3.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: agentsummons-0.3.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/7.0.0 CPython/3.13.14

File hashes

Hashes for agentsummons-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6a906e5265cc3026be7ba79eee71b8d6204eb2b7a1a168eea20d1fbabc670c0f
MD5 dc6aceaa0b571301df2700ba035b271b
BLAKE2b-256 d8d9ac6c24af86d1ffd359816aa46e928bbe9d158b2fad9ace495b8b36b00f06

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-win_amd64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsummons-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for agentsummons-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8dc39b624fa66d608f070c9b85d8bf530db102715277e07e0e2ddebcc0a3bcb0
MD5 08a89ae94ffc5df905ce4fe6c9277b5d
BLAKE2b-256 a9e8b888fced81b7afa30d454bbc36df84797c91ecd3662de39676766048a8ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsummons-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for agentsummons-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e9d0c7451e5c0a9d1a3366826f120806d3d51b210d6c6cd82a310e62f3b2a6c3
MD5 c6b240c3291b9460c24b9b09db72eedd
BLAKE2b-256 801e5d966fbdc9f458d955fdc7977fa5bb89081578aece5587a8b93fd3eb2d4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsummons-0.3.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agentsummons-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e3071102e33da240f549317f3fed14fa6ef21d8de83dd28814636658b1c93bc
MD5 7848bd8e9b29ef7f070a302e7c58cde9
BLAKE2b-256 4c34ec0c4d33198d8e53332c5c181385035d623b10b0043e667d3b9697adcdc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsummons-0.3.1-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agentsummons-0.3.1-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a2dc245820a694fd71b4a9b9881a7c123b1305d12a4e11f63c2136d713ca84ec
MD5 f479d08ba3d45f35592f4ca3880e520b
BLAKE2b-256 7f2db20fc0d2292a2f207acd6ee8c7fce6a8b5c77b4db97d5df4fab2c83fce6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.1-py3-none-macosx_10_13_x86_64.whl:

Publisher: release.yml on agent-ecosystem/agentsummons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page