The cognitive loop is the core abstraction that makes agent reasoning explicit and auditable. Every Noēsis episode emits a sequence of observable phases.Documentation Index
Fetch the complete documentation index at: https://docs.noesis.systems/llms.txt
Use this file to discover all available pages before exploring further.
The phase sequence
The governance phase acts as a critical gate—if policies veto the plan, execution jumps to a blocked state. Each phase has a specific purpose and produces structured events that form the episode timeline.In minimal mode, Direction, Governance, and Insight may emit no events for faster execution. In meta mode (default), all faculties are active and the full phase sequence is observable.
Observe
The observe phase captures the raw input at the moment an episode starts. Purpose: Record exactly what the agent was asked to do, with all context. What gets recorded:- Task text (the goal or prompt)
- Tags (metadata like environment, priority)
- Timestamp
- Initial context
Interpret
The interpret phase extracts signals and intent from the observed input. Purpose: Summarize what the policy or intuition layer noticed before any plan is locked in. What gets recorded:- Signals (risks, opportunities, constraints)
- Intent classification
- Relevant context from memory
- Policy observations
Plan
The plan phase decides what actions to take. Purpose: Record the selected steps so you can compare intent versus action. What gets recorded:- Ordered steps with descriptions
- Tools or adapters to invoke
- Expected outcomes
- Confidence scores
| Kind | Purpose |
|---|---|
detect | Gather information |
analyze | Process or categorize |
plan | Sub-planning |
act | Execute action |
verify | Check results |
review | Human review point |
Act
The act phase executes the planned actions. Purpose: Log every tool or adapter invocation with inputs and outcomes. What gets recorded:- Action identity (
action_id,kind,tool) - Input excerpt and status (
outcome,result_status) - Optional execution context (
step_id, provenance, artifacts,x-extensions) - Execution metrics
caused_by, and state action timestamps align with the act event timestamp.
Why it matters: You get a measurable execution history instead of guesswork about what happened.
Reflect
The reflect phase evaluates what actually happened. Purpose: Compare outcomes against expectations and record the assessment. What gets recorded:- Success/failure status
- Reasons for the outcome
- Comparison to expected results
- Issues encountered
Learn
The learn phase captures updates for future runs. Purpose: Record follow-up proposals so the next run can inherit lessons. What gets recorded:- Update proposals
- Scope of changes
- Memory updates
- Policy adjustment suggestions
Insight
The insight phase computes KPIs and metrics from the episode. Purpose: Generate structured metrics for dashboards, alerts, and analysis. What gets computed:- Plan adherence (how closely execution matched the plan)
- Veto count
- Tool coverage
- Latency percentiles
- Custom KPIs
Phase instrumentation
Since v0.7.0, every phase is instrumented with timing and lineage:started_at/completed_at: High-resolution timestampsduration_ms: Phase execution timecaused_by: UUID linking to the causal parent event
- Performance profiling per phase
- Causal chain reconstruction
- Bottleneck identification
Direction
The direction phase applies policy-driven plan mutations (meta mode only). Purpose: Allow policies to modify the plan before execution based on intuition signals. What gets recorded:- Directive ID (deterministic UUIDv5 for lineage)
- Status (applied, blocked, skipped)
- Diffs showing what changed
- Policy information
Governance
The governance phase is a critical gate that audits actions before execution (meta mode only). Purpose: Enforce pre-action policies and provide audit trails for compliance. What gets recorded:- Governance ID (deterministic UUIDv5)
- Decision (allow, audit, veto)
- Rule that triggered the decision
- Confidence score
| Decision | Effect |
|---|---|
allow | Action proceeds normally |
audit | Action proceeds, flagged for review |
veto | Action blocked, episode ends |
Event order invariant
Events follow this order in meta mode:Invariant: Even on an error or veto, Noēsis emits an ordered trace and summary. You always get artifacts.
- Failed episodes still have complete timelines
- Vetoed episodes record why they were blocked (governance decision recorded)
- Errors are captured in the reflect phase
- You can always inspect what happened
Feedback loops
The diagram shows two feedback paths:- Insight → Interpret: Reflections from one cycle can inform the next interpretation
- Learn → Observe: Adaptations can modify how future observations are processed
- Progressive refinement within an episode
- Cross-episode learning
- Policy adaptation over time
Human in the loop
Human review slots naturally between Act and Reflect: Policies can flag operations for human approval, pausing the loop until a decision is made.Reading the timeline
Use the CLI to inspect the timeline:Next steps
Faculties
How Intuition, Direction, and Insight work.
Events reference
Complete event schema documentation.

