Skip to main content

System Concepts

Inferoa uses a small set of product concepts to describe long-horizon agent work. The code still contains some older internal names, such as Goal*, but the user-facing model is loop-based.

Concept Map

Core Terms

TermMeaningRelationship
QueryA user input submitted to Inferoa.A query starts or continues a session. It may create a normal run, start a loop, or invoke a command.
SessionDurable conversation and event state for one workspace interaction.A session contains user messages, runs, tool traces, resources, loop state, and memory.
RunOne execution of the agent runtime from prompt to terminal result.A run can include multiple model steps and tool calls. A loop task can have many attempts, and each attempt is backed by a run.
StepOne model request and response cycle inside a run.A step may produce assistant text, tool calls, or both. Tool calls and results are attached to the step that produced them.
Tool callA structured action requested by the model or runtime.Tool calls produce tool results and are rendered in the tool trace.
Tool resultThe structured outcome of a tool call.Tool results become evidence for the current run and may feed verification or memory.
Tool traceThe readable projection of model steps, tool calls, and tool results.Tool trace is the session-level evidence trail for what happened during execution.
ResourceA durable artifact produced or registered by a run.Resources include files, fetched URLs, generated media, and managed artifacts that future runs can reference.

Loop Terms

TermMeaningRelationship
LoopDurable controller for a long-horizon objective.A loop owns loop tasks, attempts, verification, decisions, candidate work, and completion evidence.
Loop kindThe loop's execution family.task is the default. research reuses the loop engine with experiment and metric gates.
ApproachHow broadly the loop should pursue the objective.auto, focus, explore, and timebox guide loop task expansion and completion behavior.
Loop taskA bounded generation of loop work.Loop task 0 is orientation. Later loop tasks are created by expand decisions when the original objective needs more work.
AttemptOne runtime attempt to make progress on a loop task.Attempts are runs interpreted through the active loop task. An attempt may be visible work, verification, reflection, or internal control.
VerificationStructured evidence about whether an attempt or loop task satisfies the objective.Verification can come from tests, commands, research metrics, connector checks, human review, or checker runs.
DecisionThe loop's normalized judgment after evidence is available.expand opens a new loop task, done completes the loop, and blocked pauses for user input or external state.
Candidate ledgerStructured list of open, completed, and rejected work candidates.Broad loops cannot silently finish while high-value candidates remain open.
Human reviewOptional human-in-the-loop checkpoint between loop decisions and continuation.Review can approve, reject, revise, or block a staged decision.
Completion evidenceThe final proof attached to a completed loop.A loop is complete only after semantic completion is verified, not merely because a checklist is empty.

Learning Terms

TermMeaningRelationship
Memory spineDurable evidence used to make later runs better.It is built from sessions, loop state, attempts, verification records, resources, skill snapshots, and learning signals.
SkillReusable workspace or user policy loaded into future prompts.Skills are treated as loop policy, not as one-off prompt text.
Skill snapshotThe enabled skill state captured at attempt start.Snapshots make it possible to understand which policy shaped a run.
Learning signalA distilled observation from verified evidence or feedback.Learning signals can become self-improve proposals.
Self-improveReviewable process for turning verified loop evidence into a skill./self-improve stages a proposal, runs structured replay/gating, and adopts only on explicit command.
Replay reportStructured gate result for a self-improve proposal.It shows whether the proposed skill improves validation samples without regressing heldout samples.

Work Management Terms

TermMeaningRelationship
Inbox itemA projected item that needs attention.Inbox items can represent pending review, blockers, failed verification, staged skill proposals, stale work, or daemon state.
Daemon jobBackground execution record.Daemon jobs can continue loops, run verification, or process promoted inbox work.
Sub-agentA child agent run delegated by the main agent.Sub-agents are loop-scoped helpers for focused investigation, implementation, or review.
Managed worktreeIsolated git worktree for background or review-gated work.Worktrees keep loop work separate from the active checkout until adoption.
ConnectorStructured integration surface for an external system.Connectors can provide discovery, verification, or action capabilities.
Connector verifierA connector-specific verification check.Examples include GitHub PR status, GitHub Actions runs, npm package state, HTTP health, and local git cleanliness.
Connector actionA structured mutating operation against an external system.Actions are gated by policy and often start as dry-runs before interactive execution.

Planning And Research Terms

TermMeaningRelationship
PlanReviewable scope document before execution.Plan mode is useful when the user wants approval before edits. An approved plan can seed loop task steps.
Research loopA research kind loop with experiment and metric discipline.It uses the same loop engine, but completion requires metric evidence and no pending benchmark run.
ExperimentOne hypothesis or solution line inside a research loop.Experiments can be created, continued, completed, or rejected across research loop tasks.
Metric evidenceParsed benchmark or evaluation output.Research loops use metric evidence as first-class verification.

Inference And Context Terms

TermMeaningRelationship
TokenmaxxingInferoa's discipline for reducing wasted inference.It tracks prefix-cache reuse, context pressure, model-call cost, routing, RTK savings, and long-run usage.
Prompt epochStable prompt prefix version for a session.Epochs keep cacheable prompt sections stable while mutable context changes.
Context compressionControlled summarization of older session state.Compression protects recent user intent, active loop state, and evidence while reducing token pressure.
RTKRuntime tool-output rewriting and savings path.RTK can reduce tool-output tokens while preserving structured evidence.
Model routeThe selected inference path for a model step.Routes can use direct endpoints, vLLM Semantic Router, vLLM Omni, or compatible external providers.

Lifecycle

The important boundary is between a run and a loop:

  • a run is one runtime execution;
  • a loop is durable work across runs;
  • a loop task is the current bounded slice of loop work;
  • an attempt is a run interpreted as progress, verification, or control for a loop task;
  • verification and decisions decide whether the loop continues, pauses, or completes.

Product Names And Internal Names

Some implementation modules still use Goal* names. Treat those as internal state and migration history. Product documentation, slash commands, and user flows should use:

  • loop, not goal;
  • loop task, not horizon;
  • attempt, not generic run when discussing loop progress;
  • decision, not reflection, for the user-visible loop judgment;
  • self-improve, not opt.