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.2.2-py3-none-win_arm64.whl (1.2 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

agentsummons-0.2.2-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.2.2-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.2.2-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agentsummons-0.2.2-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.2.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: agentsummons-0.2.2-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

Hashes for agentsummons-0.2.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0c9226be3c149c35f9b150628786937e3ca7f833d09671b2201ed40ba2556b1a
MD5 02563848f1b3938ace7a6abe4a29dbe4
BLAKE2b-256 20c80a07fa37d1a7b14e0756ec610c5f18814655cfb00626153884ad5da44b46

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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.2.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: agentsummons-0.2.2-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

Hashes for agentsummons-0.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b6a6c3365bf283e68ac9b2d32f31d049486fddcf38af33ac405ebc6a2072f8b1
MD5 99e3ebe8cd7a51a6bb65b4dcebb10963
BLAKE2b-256 5eee7399071d1a8e6db18ce999f5a213c13d680edfa9e61fdc2333572a4e37f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for agentsummons-0.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7547e86f74ef25855b360a4a46830ca4f3c676d59ae06acfc5f92432e1d1376b
MD5 7a271300e0aa60e63f87ff31cdc7a276
BLAKE2b-256 ec26e712e20ae69028ea88fac5753a5c1f7ea33bbc2f75d07dbd771a61066baa

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for agentsummons-0.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 51ba2fad1190b3b61dd488792a4ef69a1339bc6d1ae95c18903fe5ffa82009cc
MD5 dafd78074344dc89fdccf2611575d55d
BLAKE2b-256 5a58c3a0183fd32a43ac76b60becaf2bca5a43a40b01574db6a07b0eeee21c0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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.2.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agentsummons-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c9576fec96f10b40ba54ff4c1d393319a7b6c39fd538057826cd3460994f93e
MD5 3684e23d241cf1bb12d4e0e1ec1e83cd
BLAKE2b-256 9587f523420c7db589159a8bb8c72942def4057a6aaa1a5009ccf2a26d2ef52e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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.2.2-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for agentsummons-0.2.2-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 586cf4e7e4e46e64da02a77190c3ff95782085fd3d7f9a229ec351d5fe18fc83
MD5 35771da08158fe107ce147de6c93537d
BLAKE2b-256 c2a639ab23405165d5d04e3fe350b99e9a65e3ec0e014791d6d72b021d4005e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.2-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