Quickstart

Get up and running with Nomotic in under 5 minutes.

1. Install

pip install nomotic

2. Set Up Your Organization

Run the interactive setup once per machine:

nomotic setup

This creates ~/.nomotic/config.json with your organization ID, owner info, default zone, and compliance preset. It also generates your issuer key pair for signing agent certificates.

3. Create Your First Governed Agent

nomotic init --name my-agent --archetype customer-experience

This scaffolds a governed agent project with a nomotic.yaml governance configuration, a working hello_nomotic.py example script, and a .gitignore for local runtime data.

Run without --archetype to get an interactive selection menu with all 22 built-in archetypes.

4. Run Governance

python hello_nomotic.py

Sample output:

Every action gets a verdict (ALLOW, DENY, ESCALATE, MODIFY, or SUSPEND) with a Unified Confidence Score (UCS) between 0.0 and 1.0.

5. Open the Governance Dashboard

Open http://localhost:8420/uiarrow-up-right in your browser. The dashboard shows real-time governance decisions, agent trust scores, behavioral drift alerts, and a filterable, chain-verified audit trail.

6. Python API

Three lines of code. Full governance.

Nomotic.connect() handles everything behind the scenes: it loads your agent's certificate and archetype from the nomotic.yaml created in step 3, creates the governance runtime, and configures the audit trail. Every call to execute() evaluates all 13 governance dimensions, updates trust, and writes to the audit log.

Execute a Tool With Governance

To evaluate governance and execute a tool only when approved:

If governance approves, the tool runs and result.data contains its return value. If denied, the tool never executes and result.reason explains why.

Governance-Only Check

To check governance without executing anything:

Reading the Result

Every ExecutionResult includes:

7. Advanced: GovernanceRuntime API

For fine-grained control over the governance pipeline, use the runtime directly:

The GovernanceRuntime gives you direct access to dimension configuration, trust calibration, behavioral fingerprints, drift monitoring, and the full evaluation pipeline. Most integrations should start with Nomotic.connect() and move to the runtime API only when they need this level of control.

Next Steps

Last updated