π Initial release of the AgentGuard Python SDK!
Features
- π‘οΈ Runtime security enforcement for AI agents
- π Policy-based access control
- π Comprehensive audit trails
- β‘ High performance (<100ms latency)
- π§ Full type hints with Pydantic
- π― Request transformation
- π Async/sync support
- π Built-in statistics tracking
Installation
pip install agentguard-sdk
Quick Start
from agentguard import AgentGuard
guard = AgentGuard(
api_key="your-api-key",
ssa_url="https://ssa.agentguard.io"
)
result = await guard.execute_tool(
tool_name="web-search",
parameters={"query": "AI security"},
context={"session_id": "session-123"}
)
Links
PyPI: https://pypi.org/project/agentguard-sdk/
GitHub: https://github.com/agentguard-ai/agentguard-python
TypeScript SDK: https://github.com/agentguard-ai/agentguard-sdk