GLOSSARY / ONTOLOGY
Ontology
The conceptual skeleton of an embeddable Agent engine. Every concept carries an exclusive definition: one word, one meaning. Double-booking (two words, one meaning) and grab-bags (one word, many homes) are constitutional defects — split as soon as they are found. Precise words give implementation, review and embedder integration one shared coordinate system.
CONCEPTS
Host
BOUNDARYEmbedding boundary: supplies Principal, maps conversationId ↔ sessionId, owns human IAM (outside the engine).
Principal
CONTROLDriver: host user / tenant / service / timer / subsystem / another agent. Must enter audit.
Intent
CONTROLStructured drive request (run / preferred / consult / handoff…). The engine does not do NLU.
Agent
SUBSTRATEIdentity + template: persona, tool/skill mounts, default model, workspace (cwd), revision. Excludes learning products.
Substrate
SUBSTRATEThat Agent's durable learning products across Sessions: Memory / Cognition / Wisdom.
Knowledge
SUBSTRATEExogenous corpus — source-anchored, indexes rebuildable. Scope = Global / Project / Session.
Session
CONTINUITYConversation/task continuity aggregate (identity sessionId; Host may map conversationId).
Discourse
CONTINUITYThe Session's append-only authoritative log — what happened, this is the authority. Content type = the eight-layer Information.
Projection
CONTINUITYRebuildable-if-invalidated derived views: status, tasks, compact views, search indexes…
RoleDefinition
CONTROLRole catalog entry. First-class configuration, not a closed code enum.
RoleBinding
CONTROLParticipation record: an Agent appearing on a Session under a role (rights preset, overridable).
Run
EXECUTIONOne episode: (sessionId, agentId, …). The execution/accountability axis — who acts, under which role and budget.
RunScope
RUN ONLYAll mutable context of that episode: messages workspace, systemPrompt identity, tool runtime, compact seeding, resolvedModel… Belongs to the Run alone.
Turn
CONTINUITYOne discourse exchange: a turn-anchor user-role stimulus (human speech or a synthesized envelope) + its complete response, bounded by <turn_start id>…<turn_end id/>. Session-level; attributes to an Agent via its Run.
Step
EXECUTIONOne model round: a single LLM call + its output (tool_calls or final text). Never called a "turn".
Tool
EXTENSIONCallable capability (definition + executor). Mounted on an Agent, invoked via a Run.
Effect
EXTENSIONA tool's effect on the world: cwd, side effects, concurrency, idempotence. Constrained by invariant I5.
RUN ↔ TURN ↔ STEP MAPPING
1 Run = 1..N Turn 1 Turn = 1..N Step 1 Step = 0..N ToolCall
Run is the execution/accountability axis (who acts, under which role and budget); Turn is the discourse axis (message boundary). The two coincide 1:1 only in the simple case (one stimulus → one Run); a signal continued inside the same Run opens a new Turn at the next message boundary.
CONFUSABLES
| What you mean to ask | The word |
|---|---|
| What have I learned? | Substrate / Memory |
| What does the world write down? | Knowledge — source-anchored; the index is not the authority |
| What happened? | Discourse — append authority |
| This run's temporary stage? | RunScope — Run only |
| One user exchange? | Turn — Session-level discourse boundary |
| One model round? | Step — never "turn" |
| Machine content or human speech? | Synthesized user-role content must be machine-identifiable in the LLM view (view-level envelope, e.g. <schedule_notice>); never disguised as human speech |
| steer or continued? | steer = guidance-injection family (opens no Turn); continued = a stimulus absorbed by the active Run (new Turn at the next message boundary) |
| Who is it / how is it configured at birth? | Agent — the template; excludes learning products |
| The hand or what the hand touched? | Tool vs Effect; live system state → Tool, documents → Knowledge |
NOTES / SOURCES
- Authoritative definitions: design constitution north-star · §1 Ontology ↗. The vocabulary evolves with the implementation; the repository is the source of truth.
- Write-back relation (not an entity): when a Run ends → Discourse is appended, Projection updated, Audit persisted. The former "Episode artifacts" are not an ontology entity.
- Related vocabulary: Run Failure Vocabulary (runtime failure detection).