Edictum

Edictum

Developer agent behavior platform for Python, TypeScript, and Go. Workflow Gates, rulesets, and adapters that make agent behavior predictable.

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. It enforces deterministic rules on tool calls at the decision-to-action seam. Python, TypeScript, and Go share the same `rules.yaml` format.

Agents are good at saying the right thing and still calling the wrong tool. Edictum gives you rules and Workflow Gates so the behavior is actually enforced.

Start here:

What Edictum Is

Edictum is a developer agent behavior platform built around three things:

  1. Workflow Gates for stage-based process enforcement.
  2. A rules engine for tool calls, output checks, sandbox boundaries, and session limits.
  3. Cross-framework adapters so the same ruleset works 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
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. Rules are about single tool calls. Workflow Gates are about ordered work:

  • 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"

Rules Engine

SDKs And Adapters

Reference

Last updated on

On this page