Edictum

Edictum

Agency control layer for production AI agents. Workflow Gates, rulesets, and adapters that turn documented profiles into runtime boundaries.

AI Assistance

Right page if: you need an overview of Edictum or help finding the right docs page. Wrong page if: you want to install and run Edictum -- see https://docs.edictum.ai/docs/quickstart instead. Gotcha: Edictum is not prompt engineering and not an orchestrator. Agent frameworks build the agent. Edictum bounds the agency. Python, TypeScript, and Go share the same `rules.yaml` format.

Edictum is the agency control layer for production AI agents. Agent frameworks build the agent. Edictum bounds the agency.

It turns a documented agent profile into executable runtime boundaries: Workflow Gates enforce ordered process with evidence, rulesets enforce single tool-call boundaries, and adapters make the same control model framework-independent.

Start here:

What Edictum Is

Edictum is built around three runtime primitives:

  1. Workflow Gates enforce ordered process with evidence and approvals.
  2. Rulesets enforce single tool-call boundaries: pre-execution checks, sandbox boundaries, output checks, and session limits.
  3. Adapters make the model framework-independent across Python, TypeScript, and Go.

The same rules.yaml works across all three SDKs.

Install

pip install edictum[yaml]
npm install @edictum/core
go get github.com/edictum-ai/edictum-go

Feature Order

FeatureWhat it solvesStart here
Agency Control"What is this agent allowed to do, in what order, with what evidence?"/docs/agency-control
Workflow Gates"Did the agent follow the right process?"/docs/guides/workflow-gates, /docs/reference/workflows
Rulesets"Should this tool call be allowed, blocked, redacted, or asked?"/docs/quickstart
Adapters"How do I wire this into my framework?"/docs/python, /docs/typescript, /docs/go

SDK Snapshot

PythonTypeScriptGo
Core packageedictum@edictum/coregithub.com/edictum-ai/edictum-go
Workflow runtimeYesYesYes
Ruleset formatYAMLYAMLYAML
Remote/server integrationedictum[server]@edictum/serveredictum-go/server
TelemetryOpenTelemetryOpenTelemetryOpenTelemetry

Workflow Gates First

Workflow Gates are the differentiator. Rulesets handle one tool call at a time. Workflow Gates enforce the ordered work that makes a profile defensible:

  • Read the spec before editing.
  • Run git diff before review.
  • Require tests to pass before merge.
  • Pause for human approval at the next stage.
apiVersion: edictum/v1
kind: Workflow
metadata:
  name: feature-delivery

stages:
  - id: implement
    entry:
      - condition: file_read("specs/feature.md")
        message: "Read the spec first"
    checks:
      - command_matches: "git diff"
        message: "Inspect your changes before review"
    exit:
      - condition: exec("pnpm test", exit_code=0)
        message: "Tests must pass"

  - id: review
    entry:
      - condition: stage_complete("implement")
    approval:
      message: "Human approval required"

Rulesets

SDKs And Adapters

Reference

Last updated on

On this page