TheDocumentation Index
Fetch the complete documentation index at: https://docs.egisai.co/llms.txt
Use this file to discover all available pages before exploring further.
egisai package exposes a small public surface. Everything you need for
day-to-day use is listed below; everything else is private and may change
between releases.
Functions
| Function | Use |
|---|---|
egisai.init() | Activate the SDK for the current process. |
egisai.set_context() | Attach request-scoped metadata (agent identity, user, session). |
egisai.shutdown() | Stop background workers and flush remaining events. Idempotent. |
egisai.evaluate_policies() | Run input-side policies synchronously and return a PolicyDecision. |
egisai.evaluate_output_policies() | Run output-side policies synchronously and return a PolicyDecision. |
Types
| Type | Use |
|---|---|
PolicyRule | A single active rule. |
PolicyContext | Inputs for input-side rule evaluation. |
OutputPolicyContext | Inputs for output-side rule evaluation. |
PolicyDecision | Verdict and matched rules returned by the evaluator. |
Module attributes
| Attribute | Description |
|---|---|
egisai.__version__ | Installed SDK version, for example "0.10.0". |
Stability
egisai’s public surface follows semantic versioning. Anything documented on
this site is part of the public API. Anything not documented here — including
modules whose names start with an underscore — is private and may change
without notice.
Where to start
init
Activate the SDK with one call.
set_context
Attach per-request metadata to governed calls.
shutdown
Cleanly stop background workers.
Types
PolicyRule, PolicyContext, PolicyDecision, …