Skip to main content

Agent governance tooling

Project description

Bounded Agent Framework

This repository defines a repo-local, enforceable framework for using AI sub-agents as bounded workers.

This is not an application. This is not an orchestration service. This is not an autonomy experiment.

This is infrastructure.


What this system is

  • Agents are roles defined in Markdown
  • Agents are instantiated per model call
  • Nothing is persistent
  • Nothing runs automatically
  • Nothing is trusted without artifacts

The framework exists to:

  • force correct task decomposition
  • prevent scope creep
  • require evidence for completion
  • make agent behavior reproducible and auditable

Core invariants

  1. Repo-local

    • All agent rules, schemas, and tools live in the repo
    • No systemwide installs
    • No hidden dependencies
  2. Separation of concerns

    • Agent roles (Markdown) change frequently
    • Schemas change occasionally
    • Tooling changes rarely
  3. Artifacts over prose

    • Diffs, logs, commands, tests are required
    • Narrative text is secondary
  4. Orchestrator ≠ implementer

    • Orchestrator plans and validates
    • Workers produce changes
    • Single-writer rule per scope
  5. No schema, no run

    • Tasks and outputs must validate
    • Invalid packets are rejected

Repository layout (expected)

agents/ roles/ contracts/ checklists/ tools/ logs/ reports/ adr/


Usage summary

  1. Create a task packet (YAML)
  2. Validate it against schema
  3. Run the agent with role + task
  4. Collect output packet + artifacts
  5. Validate output
  6. Gate before merge

Tooling baseline: use agent-governance>=1.0.5.

Repo introspection

agentctl init scans the current repo to generate a policy overlay plus an evidence-backed report. It never edits repo files unless --write is set, and it never calls an LLM.

Bootstrap policy block

Use agentctl bootstrap to author or update the AGENTS.md policy block from the canonical role registry. It is preview-only unless --write is provided.

What it never does:

  • no network access
  • no repo mutation (except writing the three outputs when --write is set)
  • no heuristic guesses without a cited file + line range

Outputs (when --write):

  • .agents/generated/AGENTS.repo.overlay.yaml
  • .agents/generated/init_report.md
  • .agents/generated/init_facts.json

At runtime, the orchestrator merges the overlay with the base policy to add repo-specific verify commands and risk paths before dispatching work. This lets one global role set adapt to local tooling without changing the core policy.

Deterministic + auditable:

  • each detected fact includes a source file and line range
  • output ordering is stable for diff-friendly review
  • dry-runs show planned writes without touching disk

Update checks

The CLI can optionally warn if a newer agent_governance version exists. Defaults: once per 24h, skipped in CI, and never blocks command execution.

Disable with --update-check=off or AGENT_UPDATE_CHECK=off. Repos may set update_check: off in agents/repo_profile.yaml to fully disable network use.

This system replaces trust with structure.

Project details


Download files

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

Source Distribution

agent_governance-1.0.5.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

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

agent_governance-1.0.5-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_governance-1.0.5.tar.gz.

File metadata

  • Download URL: agent_governance-1.0.5.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for agent_governance-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d0d184ac32d4e8950c8928669cc5ffd63399e3dd14eb4620afc62dcd41aa17a6
MD5 97bf0a4f3c1b771440af7bd3b47b2735
BLAKE2b-256 d11c03974784de5d617f10066ce783d5dd3e1c41b1a320e3e5a71e271cf69745

See more details on using hashes here.

File details

Details for the file agent_governance-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_governance-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ad34f88ab65dada1ad76fb8e577eaee281fe25227a37254732e25ce88d75c2ff
MD5 253aeaf1daa1f954282741c74f51909f
BLAKE2b-256 b199222690459fe32558c4647861de022cc44150a99989ca5591c0aacf31059d

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 Pingdom Monitoring Sentry Error logging StatusPage Status page