Installation¶
Install Sondera Harness with your preferred package manager. Choose the extra that matches your agent framework.
Requirements¶
- Python 3.12 or higher
- uv (recommended) or pip
Don't have uv? Install it:
Install¶
Pick your framework, then run one of the commands:
Verify Installation¶
Confirm the package installed correctly:
Configuration (Platform Only)¶
If you're using Sondera Platform (SonderaRemoteHarness), set your API credentials:
export SONDERA_HARNESS_ENDPOINT="your-harness.sondera.ai:443"
export SONDERA_API_TOKEN="<YOUR_SONDERA_API_KEY>"
Or create a .env file or ~/.sondera/env:
Local evaluation doesn't need this
The Quickstart uses CedarPolicyHarness for local policy evaluation, which doesn't require API credentials. See Deployment for details on choosing local vs platform.
Next Steps¶
- Integrations - Wire the harness into your framework
- Writing Policies - Learn Cedar syntax and patterns