Skip to main content

Governance spine for AgentForge — identity (feat-029) and, as they land, registry / policy / audit drivers

Project description

agentforge-governance

The governance spine for AgentForge. The contracts live in agentforge-core; this package ships the default, offline, zero-dependency drivers.

feat-029 — identity. LocalIdentityProvider issues, resolves, and verifies Principals in-process with HMAC-signed credentials (no network, deterministic for tests). Principal ids use the portable URN scheme agentforge:agent:<org>/<name>@<version>.

from agentforge_governance import LocalIdentityProvider

idp = await LocalIdentityProvider.from_config(org="finance")
p = await idp.issue(name="invoice-reconciler", owner="finance-platform")
token = await idp.credential(p)
assert (await idp.verify(token)).id == p.id

Via YAML:

governance:
  identity:
    provider: local
    name: invoice-reconciler
    owner: finance-platform
    attributes: { env: prod }

Registry, policy, and audit drivers land here as their pillars ship.

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

agentforge_governance-0.4.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

agentforge_governance-0.4.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_governance-0.4.0.tar.gz.

File metadata

  • Download URL: agentforge_governance-0.4.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for agentforge_governance-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c1e32da9be44b5d9474caa6ffe3df7f36fd8643b8bca3ef468d1ac405fdad62c
MD5 cf03471a728a3622681f4718ce78685a
BLAKE2b-256 765440c20362698469f59f11c710bdefe52f00478d56001b58d3a1545235e28b

See more details on using hashes here.

File details

Details for the file agentforge_governance-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_governance-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc39309ce7a844b8452c69564337daf5f69ad6c3d0f003e925a6ee6e7d46e4a
MD5 a49afdd8f5e6d04188fd39c0aa1d860b
BLAKE2b-256 d552f34ae0445caf11ce49ca43ec8a32faa3995d7fb30488452c324378a2dc8b

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