AuthGraph 0.3.1
Execution intelligence for autonomous systems — advisory, not authorization truth.
AuthGraph discovers execution surfaces, maps architecture, scores risk, and recommends policy-preserving remediation. TrigGuard remains the sole authorization authority (PERMIT / DENY / ESCALATE / SILENCE).
pip install authgraph==0.3.1
architecture → analyze → install → protect → simulate → explain → score → recommend
↓
human review
↓
TrigGuard authorize
0.3.1 does not rewrite repositories. No patch / apply / undo.
from authgraph import Plan, simulate, analyze_repository, guard
# Discovery (read-only)
report = analyze_repository(".")
# Simulation asks TrigGuard — never executes callables
plan = Plan()
plan.add("deploy.release", ship, title="ship")
print(simulate(plan))
CLI (advisory):
authgraph architecture .
authgraph analyze .
authgraph install . # writes .authgraph/ plan only
authgraph protect . # human review of plan (no source edits)
authgraph score .
authgraph recommend . # structured remediation — never bypass suggestions
authgraph report .
authgraph simulate examples/deployment.py
authgraph explain <receipt> --action deploy.release
authgraph doctor .
authgraph why AG-0001
Hard guarantees:
| Guarantee | Value |
|---|---|
AUTHGRAPH_POLICY_PRESERVATION |
TRUE |
| Local decisions without TrigGuard | decision = null / REQUIRES_TRIGGUARD_POLICY |
| Source mutation by advisory CLI | ZERO (only .authgraph/) |
| Circumvention suggestions | Forbidden |
Requires TRIGGUARD_API_KEY, TRIGGUARD_ORG_ID for live simulation/authorization.
Gateway default: https://api.trigguardai.com.
Full guide: docs/QUICKSTART.md · Policy preservation: docs/POLICY_PRESERVATION.md
APIs
| API | Role |
|---|---|
analyze_repository() / authgraph analyze |
Classify execution surfaces (read-only) |
Plan + simulate() |
Preview TrigGuard decisions (no side effects) |
explain() |
Explain a receipt / decision |
@guard() / authorization() |
Call-site instrumentation helper |
run_step / run_step_async / run_many |
Runtime execution after PERMIT |
authgraph recommend |
Scores + policy-preserving remediation |
from authgraph import guard, authorization, run_step, run_step_async, run_many
from authgraph import Plan, simulate, explain, analyze_repository
Not a CrewAI/LangGraph/Quanta product. Optional integration hooks live under
authgraph.integrations and do not bundle external runtimes.
Demos: examples/demos/
License
Apache-2.0 · TrigGuard AI
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 authgraph-0.3.1.tar.gz.
File metadata
- Download URL: authgraph-0.3.1.tar.gz
- Upload date:
- Size: 133.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c82dc78d81ba5144725331ac384de6ee659dab58e73eda07261124a1067f2c96
|
|
| MD5 |
e89491780a92dd70a6daea8fc5c2a6f6
|
|
| BLAKE2b-256 |
f3d4003f581015475def6696c7ef850f05661fee30ce9c5e6bfbe875f69b16ec
|
File details
Details for the file authgraph-0.3.1-py3-none-any.whl.
File metadata
- Download URL: authgraph-0.3.1-py3-none-any.whl
- Upload date:
- Size: 131.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b78e9594e12000c5e39a6805d0c5b1c845fca9ec437f09bc76cf26a65078c784
|
|
| MD5 |
59b1ff366fb0dce340c55859403fd5f7
|
|
| BLAKE2b-256 |
3b3f93c254d8788b15eaebce8aaa33725e4c70ed744124538bcf2d19523975cb
|