- Keyword arguments to
egisai.init(...). - Environment variables read by
egisai.init(). - Defaults built into the package.
EGISAI_API_KEY and pass app= /
env= to init(). Everything else has a sensible default.
Initialization parameters
Every parameter has a corresponding section in the
init reference.
Environment variables
Recommended setups
Local development
Production with stub mode
Strict / restricted networks
If your environment blocks long-lived HTTP connections, disable the live update channel and rely on polling:Fail closed on judge outages
If your workload usessemantic_guard as its primary defense for a
sensitive category and you’d rather refuse a call than risk an
unvetted one when the judge is unreachable, switch the policy from
fail-open to fail-closed:
Custom HTTP clients only
If your application doesn’t use any official provider SDK and instead calls endpoints directly viahttpx or requests:
Verifying configuration at startup
The startup banner echoes the resolved configuration:init() was never called, or you passed
quiet=True. Set quiet=False and re-run to confirm the SDK is active.
What’s next
Blocking behavior
Choose between
raise and stub modes.Multi-agent context
Distinguish several agents in one process.