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 toweragentgov register-device— generate device keypair + register with toweragentgov install— drop client assets into~/.claude/agentgov wrap <cmd>— wrapclaude(or another command) in a governed sessionagentgov workitem <ref>— bind the current session to a work itemagentgov status— show current binding + totalsagentgov 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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentgov_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: agentgov_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3418e5a9fe4bdbeda23e6201b85a76e3af32df99046ab22e2c4756a1a63f9d94
|
|
| MD5 |
4971d1674a6376afeecf5b0d41af7a09
|
|
| BLAKE2b-256 |
6192c60396427ec4cb8ee67791635e626ea4210a3b88e638e5ecbdece17ec049
|