Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
working-directory: python
run: python -m pytest tests/ -v --ignore=tests/test_aip_agents/

- name: aip-agents tests
# Otherwise these only run at publish time, and a broken test sat on master unnoticed.
working-directory: python
run: |
pip install -e aip_agents[dev]
python -m pytest tests/test_aip_agents/ -v

- name: Rust tests
working-directory: rust
run: cargo test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Benchmarked on compact and chained token operations (1000 iterations):
| Token size (compact) | 356 bytes | 356 bytes |
| Token growth per hop | +340 bytes | +388 bytes |

End-to-end overhead for a 2-hop delegation: AIP adds ~2.3 ms vs OAuth's ~20 ms (token exchange simulation). 100% rejection rate on unauthorized token operations across 100 attack scenarios. 160+ tests passing across both languages.
End-to-end overhead for a 2-hop delegation: AIP adds ~2.3 ms vs OAuth's ~20 ms (token exchange simulation). 100% rejection rate on unauthorized token operations across 100 attack scenarios. 285 tests passing across both languages (205 Python, 80 Rust, as of 0.5.0).

Full benchmark code in `paper/benchmarks/`.

Expand Down
2 changes: 1 addition & 1 deletion python/tests/test_aip_agents/test_adk_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_register_walks_sub_agents():
plugin = AIPAdkPlugin(AIPConfig(app_name="test-app"))
sub1 = MockAgent(name="summarizer", tools=[MockTool("summarize")])
sub2 = MockAgent(name="translator", tools=[MockTool("translate")])
root = MockAgent(name="coordinator", tools=[MockTool("route")], sub_agents=[sub1, sub2])
root = MockAgent(name="coordinator", tools=[MockTool("route"), MockTool("summarize"), MockTool("translate")], sub_agents=[sub1, sub2])
runner = MockRunner(agent=root)
plugin.register(runner)
assert plugin.identity_manager.get("coordinator") is not None
Expand Down
Loading