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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

agentsummons-0.2.0-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.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: agentsummons-0.2.0-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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 f33b20aaa48fc4cad25f4282e3690953ea54ec7e33611722d533f957b9a3dd8f
MD5 45696fb2b09e03f67f79ed76f55c9192
BLAKE2b-256 f699e44a1d94260b159e0960a9c605cd0bc581487b4142ac7836edf407d93665

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agentsummons-0.2.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7ad726e082dcff769e49baf213d0ed039e7aee317c4c59d876a9ddcc829e03b1
MD5 36eb089deb91852bd39c28bff4b42a75
BLAKE2b-256 740081c40a04b24bb4db5cf61d14aec367feec89738d148fda45316ea08980ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.2.0-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.0-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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ec3497526b7ad984869e029a77d0b777ec467326ac8a0a0877742e3749f2dc6a
MD5 d8a9a2a4f9d3b84d0e8fa4f546ae7891
BLAKE2b-256 44e66b72779c1fed37740b2ce9df46f72981b659b10360ac57199febb5573637

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.2.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fc006066e8a7241a58c2485353d276c6dd907f20cdf89837a9f7f0c6300616a2
MD5 cf65a146567d9e0ca3e997e91f4b377f
BLAKE2b-256 d0bdc031fac90cafdda439f9fc7ab1825b36a8a69bf03140865b869fd51d18d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fedac0158158069a8f2e95eafef6444da8396ce4d7b7a08f7cbbf8e13ebf9395
MD5 3362ac74b71d295917706cc3ec98d11e
BLAKE2b-256 2a72ffc1b7f7b4d0a1aed6c572d742bd61d24e6caef9d4c5e23b117da9b3acad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.2.0-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 433aca5cf8b650301ce3c467a49e7954c10d2c5d8c75ec99114c5a92b51fceb4
MD5 10f5ede853f16f6b5f34728467426565
BLAKE2b-256 760cab45d9f42bbd5cdc564a16f105d1077e8bc5e46c7ffddb16fa5c2635404f

See more details on using hashes here.

Provenance

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