Python SDK
agenticdome-python-sdk
One SDK for the 15 Python framework and runtime paths, with framework-specific installation extras. Includes the local demo and onboarding CLI.
Add action policy to typed tools and agent execution.
agenticdome-python-sdk
One SDK for the 15 Python framework and runtime paths, with framework-specific installation extras. Includes the local demo and onboarding CLI.
Attach the firewall to the agent and decorate the intended tools. Type validation describes an argument’s shape; action policy evaluates its business context.
A correctly typed refund request names the wrong recipient. Check role, purpose and destination before calling the payment system.
Illustrative workflow, not a customer deployment or a measured result.
Adapt this existing SDK pattern to your application. Names such as the agent, handler and session refer to your own objects. Follow the package documentation for compatible versions and complete setup.
# Install PydanticAI support.
python -m pip install "agenticdome-python-sdk[pydanticai]"
from agenticdome_sdk.pydantic import CyberSecFirewall
firewall = CyberSecFirewall()
firewall.attach_to_agent(customer_support_agent)
@firewall.secure_tool
async def refund_customer(ctx, customer_id: str, amount: int) -> dict: ...
agenticdome-demo --framework pydanticai --scenario refund_hijackPython demo commands evaluate fixed inputs against a bundled local policy; they do not instantiate the selected framework or prove a live integration. The TypeScript client and OpenClaw runtime plugin need their documented tenant configuration.
Try a local scenario, then bring your workflow to a deployment review. Start with one agent and one tool, and see exactly where the action can be stopped.