Skip to main content

agentgov

The developer-laptop CLI for AgentGov.

Wraps Claude Code to bind sessions to work items and enforce governance from a signed policy snapshot. Runs alongside agentgov-gateway (the local proxy) — this CLI handles login, device registration, session wrapping, work-item binding, and diagnostics.

Part of the AgentGov project — see github.com/deepakahu/agentGov for the full monorepo.

Install

pip install agentgov agentgov-gateway

First-time setup

# Attach this machine to your AgentGov control tower
agentgov login --tower https://your-agentgov.vercel.app

# Register this device (generates an X25519 keypair, gets a gtw_ token)
agentgov register-device --name "$(hostname)"

# Drop Claude Code hooks + statusline + slash command into ~/.claude/
agentgov install

# Start the gateway (background)
agentgov-gateway &

Every day

# Run Claude Code through the governed gateway
agentgov wrap claude

# Bind the current session to a work item
# (or use the /workitem slash command inside Claude Code)
agentgov workitem PROJ-1234

Diagnose

agentgov status    # what's my current binding, tokens, quota
agentgov doctor    # is everything wired correctly

Commands

  • agentgov login — attach this machine to a user in the control tower
  • agentgov register-device — generate device keypair + register with tower
  • agentgov install — drop client assets into ~/.claude/
  • agentgov wrap <cmd> — wrap claude (or another command) in a governed session
  • agentgov workitem <ref> — bind the current session to a work item
  • agentgov status — show current binding + totals
  • agentgov doctor — diagnose the installation

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentgov_cli-0.1.8.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

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

agentgov_cli-0.1.8-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file agentgov_cli-0.1.8.tar.gz.

File metadata

  • Download URL: agentgov_cli-0.1.8.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for agentgov_cli-0.1.8.tar.gz
Algorithm Hash digest
SHA256 574efdde920f4748eaf5143dfd7c90deaf150f0eea7c40f3029b99e94d10240f
MD5 f1ff24b62fffd3a3ed1bc5d07e5b84ea
BLAKE2b-256 a6ade92d3948cc5f2b5f88f02bf2d998b00c3521cded0fad3733d2bffb34ebed

See more details on using hashes here.

File details

Details for the file agentgov_cli-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: agentgov_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for agentgov_cli-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6cba87409689f937c612ebdfa9f2b1f02ba1904bacf4a5453e1068ed44b21a
MD5 13b54da04514e82add2543c9872b4e81
BLAKE2b-256 f431f1ba9c1120b822d6d19eeaff05a6c5c199cbc44dc3a73d803a1a2c9726b7

See more details on using hashes here.

Supported by

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