Skip to main content
This page explains the core concepts you’ll encounter when working with Noēsis. Understanding these will help you make the most of the framework.

Episodes

An episode is the fundamental unit of execution in Noēsis. Every time you run a task, you create an episode with a unique identifier.

Episode lifecycle

Episodes progress through a defined lifecycle:

Episode IDs

Episode IDs follow the format ep_<timestamp>_<hash>_s<seed>:
  • ep_ prefix identifies it as an episode
  • <timestamp> provides chronological ordering
  • <hash> ensures uniqueness
  • s<seed> enables reproducible runs with the same seed

The cognitive loop

Every episode emits a sequence of phases that make reasoning explicit:
In meta mode (default), all faculties are active and may emit phases. In minimal mode, Direction, Governance, and Insight still exist but may emit no events for faster execution.
See the cognitive loop explanation for a deeper dive.

Faculties

Noēsis organizes capabilities into four faculties that execute in a canonical order. Faculties exist even when they emit nothing.

Intuition

Intuition provides policy-driven guidance during interpretation. It observes state and emits events.
Key types: IntuitionEvent, DirectedIntuition, HeuristicIntuition, LLMIntuition Actions:
  • hint(): Advisory guidance (confidence: 0.5)
  • intervene(): Modify state via patch (confidence: 0.6)
  • veto(): Block execution (confidence: 0.8)

Direction

Direction handles plan mutations through versioned directives. Key types: PlannerDirective, DirectiveDiff, DirectiveStatus Directive kinds: HINT, INTERVENTION, VETO Directive statuses: APPLIED, SKIPPED, BLOCKED

Governance

Governance is the pre-action audit layer with the PreActGovernor. It is the gate that enforces approvals and can veto before tools execute. Key types: GovernanceResult, GovernanceDecision, PreActGovernor Decisions:
  • ALLOW: Action proceeds normally
  • AUDIT: Action proceeds, flagged for review
  • VETO: Action blocked entirely
Use it for: human-in-the-loop approvals, safety allowlists/blocklists, “two-person rule” for destructive tools, and recording audit reasons right before execution.

Insight

Insight computes metrics from episode traces during finalization. Key types: InsightMetrics, compute_metrics, build_insight_metrics Metrics: veto_count, branching_factor, plan_adherence, plan_revisions, tool_coverage, phase_ms

Artifacts

Every episode produces structured artifacts that capture the full cognitive trace:

summary.json

The summary captures episode outcomes, flags, metrics, and insight:

state.json

The state captures the cognitive context:

events.jsonl

The event timeline records every phase:

manifest.json

The manifest provides integrity verification:

Adapters

Adapters connect Noēsis to your existing agent runtimes. They’re simply callables that Noēsis wraps with cognition:
Noēsis doesn’t replace your runtime—it makes it observable.

Policies

Policies are Python classes that implement guardrails. They extend DirectedIntuition and implement the advise method:
Policies are:
  • Testable: Pure Python, no async or threading requirements
  • Versioned: Track policy evolution in event logs
  • Composable: Chain multiple policies together

Configuration

Noēsis is configured through multiple sources: Key configuration options:
  • runs_dir: Where artifacts are stored
  • planner_mode: meta (full governance) or minimal
  • seed: For reproducible episodes
  • label: Subdirectory name for organizing runs

Mental model

Here’s how the pieces fit together:
  1. A task creates an episode
  2. The episode runs through the cognitive loop
  3. Faculties (Intuition, Direction, Governance, Insight) process each phase
  4. Artifacts capture everything for replay and analysis

Next steps

Cognitive loop

Deep dive into the observe → learn phases.

Faculties

Understand Intuition, Direction, Governance, and Insight.

Artifacts

Learn about the files Noēsis produces.

Quickstart

Get hands-on with your first episode.