Skip to content

Eunomia Docs

This section contains the documentation for the main package containing the Eunomia server.

The Eunomia server is a standalone service to handle the authorization logic of your AI Agent. The server can be self-hosted, exposing a REST API to your application.

Installation

pip install eunomia-ai

Usage

Run the server with:

eunomia server

Components

The Eunomia server is composed of the following components:

Component Description Jump to
APIs Exposes endpoints for applications to interact with the server. Page
Config Offers a customizable settings class to configure the server. Page
DB Instantiates a SQL database to store policies and principals/resources metadata. Defaults to SQLite. Page
Engine Handles the communication with the OPA policy engine server. Page
Server Contains the core logic for the server. Page