Skip to content

Add cross-agent policy federation#11

Merged
nagasatish007 merged 1 commit into
agentguard-ai:mainfrom
lleonardo-franco:feature/policy-federation
May 26, 2026
Merged

Add cross-agent policy federation#11
nagasatish007 merged 1 commit into
agentguard-ai:mainfrom
lleonardo-franco:feature/policy-federation

Conversation

@lleonardo-franco
Copy link
Copy Markdown
Contributor

Resolves agentguard-ai/tealtiger#123.

Summary:

  • Adds a signed, transport-agnostic PolicyFederation token and child context helper for parent-to-child agent propagation.
  • Merges inherited budget ceilings, tool allowlists, data classification ceilings, and revocations into local TealEngine policy with the most restrictive rule winning.
  • Adds federation-aware decision metadata plus unit and integration coverage for budget, tool, revocation, and cross-SDK token compatibility.

Validation:

  • python3 -m py_compile src/tealtiger/core/engine/policy_federation.py src/tealtiger/core/engine/teal_engine.py tests/core/test_policy_federation.py
  • PYTHONPATH=src /private/tmp/tealtiger123-venv/bin/python -m pytest tests/core/test_policy_federation.py -q
  • PYTHONPATH=src /private/tmp/tealtiger123-venv/bin/python -m pytest tests/core/test_teal_engine.py tests/core/test_policy_federation.py -q
  • PYTHONPATH=src /private/tmp/tealtiger123-venv/bin/python -m pytest -q

Note:

  • The full pytest suite passes after installing the package and SDK client extras in a temporary venv; it still prints existing Pydantic deprecation warnings.

@nagasatish007 nagasatish007 merged commit b8efcb9 into agentguard-ai:main May 26, 2026
2 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement cross-agent policy federation for multi-agent systems

2 participants