Skip to main content

AI Agent Ontology

Agent Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
AI AGENT ONTOLOGY — FLOW ALGEBRA
Semantic Library | Agent Entities
Version: 1.0 | 02 November 2026
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/retrieval-provenance-ontology-copy.html

SOURCE NOTE
Despite the URL filename 'retrieval-provenance-ontology-copy.html', the visible page heading is 'AI Agent Ontology'. The following is a supplementary formalisation, not a verified transcription of the page's hidden AI Search specification.

1. PURPOSE
Model an AI agent as a bounded stateful entity that perceives inputs, selects authorised actions, uses tools, evaluates outcomes and updates its state with auditable provenance.

2. ENTITY AND STATE MODEL
Agent A = (id, G, I, R, B, K, M, T, P, H)
id = agent identifier; G = goals; I = current information; R = reasoning rules; B = boundaries and permissions; K = knowledge; M = working memory; T = available tools; P = action policy; H = history/provenance.
At step t: S_t = (I_t, R_t, B_t, K_t, M_t, G_t, H_t).

3. FORMAL FLOW
E_t = expand(I_t, R_t, K_t, M_t)
V_t = {x in E_t : satisfies(x, B_t) AND permitted(x, T)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t, G_t)
o_t = execute(a_t) if authorised; otherwise o_t = BLOCKED
I_(t+1) = observe(o_t)
M_(t+1) = update(M_t, I_(t+1), a_t)
H_(t+1) = append(H_t, provenance(a_t, o_t))
S_(t+1) = transition(S_t, a_t, o_t)
If V_t is empty, abstain, request clarification or terminate safely.

4. IMPLEMENTS
INPUT: task, instructions, environmental observations, accessible resources.
PROCESS: parse intent -> identify goal -> retrieve context -> expand candidates -> validate boundaries -> choose action -> execute -> verify -> log.
OUTPUT: answer, authorised action result, status, provenance record.

5. HOW TO READ
I/R/B/K correspond to information, rules, boundaries and knowledge. Candidate actions are not automatically executable: they must pass permission and constraint checks. P denotes a policy or selection function, not a guaranteed calibrated probability.

6. TRI-MAPPING
Entity graph: Agent -> Goal -> Task -> Tool -> Observation -> Outcome.
Relationship graph: pursues(Agent,Goal); uses(Agent,Tool); produces(Action,Outcome); supportedBy(Outcome,Evidence).
Flow graph: Input -> Reason -> Validate -> Act -> Observe -> Update -> Repeat/Stop.

7. TEXT DIAGRAM
[Input/Goal] -> [Context + Memory] -> [Candidate Actions]
                                         |
                                 [Boundary Filter]
                                   /          \
                               BLOCKED      ALLOWED
                                  |             |
                              [Abstain]    [Execute]
                                                |
                                         [Observe/Verify]
                                                |
                                        [State + Audit Log]
                                                |
                                        [Stop or Recurse]

8. MAPPING TABLE
Agent identity | id | stable entity reference
Goal | G | intended target state
Information | I | observations and instructions
Rules | R | inference and action constraints
Boundaries | B | permissions, safety, scope
Knowledge | K | available facts and models
Memory | M | retained working state
Tools | T | callable capabilities
Policy | P | candidate action selection
History | H | provenance and trace

9. MINI RECURSION ENGINE
repeat while budget_remaining AND not goal_satisfied:
  candidates = expand(current_state)
  valid = filter(candidates, boundaries, permissions)
  if valid is empty: stop_with_reason()
  action = select(valid)
  result = execute_if_authorised(action)
  verify(result)
  update_state_and_provenance()
stop on completion, denial, unresolved uncertainty or budget exhaustion.

10. INFERENCE RULES
R1: IF action violates boundary THEN reject action.
R2: IF evidence is insufficient THEN retrieve, clarify or abstain.
R3: IF tool result conflicts with a verified fact THEN flag conflict and avoid unsupported assertion.
R4: IF outcome satisfies goal AND checks pass THEN terminate successfully.
R5: IF action changes external state THEN require applicable authorisation.
R6: IF recursive iteration does not improve progress THEN terminate or revise strategy.

11. CONDITIONAL EXECUTION GUARANTEE
Under valid inputs, available tools, explicit permissions and a terminating budget, the flow guarantees that every selected action passes the specified boundary filter and that each attempted action receives a trace entry. It does NOT guarantee correct answers, successful tools, complete evidence, or goal achievement.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/retrieval-provenance-ontology-copy.html
PURPOSE: Represent AI agents and their bounded action cycles for semantic retrieval.
ENTITIES: Agent, Goal, Task, Instruction, Tool, Action, Observation, Evidence, Outcome, Memory, Provenance.
PATHWAYS: goal->plan->action->observation->evaluation->state update.
SEMANTIC_EQUIVALENCE: AI agent; autonomous software agent; tool-using reasoning agent (context-dependent, not strict identity).
CONFIDENCE: Dependent on evidence quality, retrieval coverage and validation; no numerical confidence asserted.
UPDATE_MODEL: Increment state and trace only after validation; preserve source attribution.

13. EXAMPLE
Goal: locate an ontology definition.
Agent queries an authorised source, checks retrieved text against the requested title, records the source URL and returns a supported definition. If the source is inaccessible, the agent reports the limitation rather than inventing source content.

14. ATTRIBUTION
Mark Anthony Higgins — Sky Recursive AI
Kireth Research Semantic Library. Citation requested when reusing this supplementary flow.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ