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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

agentsummons-0.3.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.3.0-py3-none-win_arm64.whl.

File metadata

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

File hashes

Hashes for agentsummons-0.3.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 24bccef3a7749f85f873363f46e5375638958077c6272efaa0d571d6ccfb4cda
MD5 ed5b15bc8f0fa5601f18304d6c4421f4
BLAKE2b-256 9d4ad5e42c1c009c549c3b760c42dac7bfc35e1a159c2bd1332060b8f80c32f5

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for agentsummons-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d4efc1e578e77544607f12b556371071863710004815a81db336339798e0d068
MD5 dfa5642db90cf82ebec4caf276f2702f
BLAKE2b-256 d41b6a930d9a8df0e07c273a22edffaf914e81b5da834b60a05acc5f3cb8dd97

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsummons-0.3.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.3.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.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 77ce30360dddb94940060a351ed2597a25c756a985961d378b1f8381125e7e5e
MD5 5c365f0b74c13b8079809e68b85d1034
BLAKE2b-256 81157a70ae7c3c7e61930e0ba4f6d1346fe147e3011739597eb45cd061180c02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0c6a4b5982f954a17529e27a56b2fdb3542ee39416e37068da735081acaf62d4
MD5 ddabda9844653834b42b8ab155ed4dd3
BLAKE2b-256 4696c1ba1556af110f11c0da70c1aa90ea72c85f6de2b6a5bb44803c0bbb9d4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 71b5f6f00be7cc1ea0dc9e8cca67016b41d9a83901711032d952cf1379cdb078
MD5 9db7a4866d52c8f495e720caaa72f46f
BLAKE2b-256 e4f30d09eeafa3364e18d984013341795b78708167cce81d99f6b8b899a74b4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentsummons-0.3.0-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 caf5fd7fd90296a9450b51e02f05898745337c3e0088a4e5312d8f806fdc5917
MD5 9798c21e307f90b292b2ce6cc1e625c7
BLAKE2b-256 42d9edab266aca71dde87457e929b05dfab00e058cd91d3e3758450debccda9e

See more details on using hashes here.

Provenance

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