RuntimeError: egisai.init() requires api_key
The SDK couldn’t find an API key.
Calls succeed but nothing shows up on the dashboard
Most often: the SDK is talking to a different organization than the one you’re viewing on the dashboard, or audit delivery is failing.Calls succeed but no policies are enforced
Either the SDK couldn’t fetch policies at startup, or your org has none enabled.Policies never update
When the SDK can’t establish the live update channel, it falls back to polling atrefresh_interval_seconds (default 10).
Blocked call raises unexpectedly
APermissionError you didn’t anticipate usually means an active policy fired.
Streaming responses look wrong
The wrapper preserves your existingfor chunk in stream: loop. If chunks
look truncated or duplicated, check for:
A specific provider isn’t being governed
The integration banner lists every provider and framework whose package is patched in this process.Sub-agent isn’t appearing on the dashboard
Where to look next
- The startup banner — confirms which integrations are active and how many policies are enabled.
- The dashboard — every governed call is recorded with verdict, matched policy, latency, and tokens. Most “why did this happen?” questions are answerable from one row.
- The SDK release notes — version-specific changes that may affect behavior.
What’s next
Configuration
Re-read the configuration knobs.
Releases
What changed in the version you’re running.