Skip to main content

Software Agent Entity Ontology

Code and Software Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA
SOFTWARE AGENT ENTITY ONTOLOGY
Version: 1.0 | Date: 05 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/code-and-software-entities/software-agent-entity-ontology.html
Status: Original interpretative formalisation; not a verbatim extraction of hidden page specifications.

1. PURPOSE
Define a software agent as a bounded software entity that perceives or receives inputs, maintains operational state, selects permitted actions, invokes software capabilities, evaluates outcomes and records traceable state transitions.

2. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: inputs, observations, requests, messages and tool results available at time t.
R_t: relationships between agent, goal, plan, software modules, tools, environment, actions and outputs.
B_t: execution boundaries including permissions, resources, time, policies and human approvals.
K_t: knowledge including task context, agent memory, capabilities, prior outcomes and provenance.
A_t = (id, role, goal, status, capabilities, policies, memory, execution_context).

3. ENTITY DEFINITIONS
SoftwareAgent: executable software actor with identity, capabilities and bounded agency.
AgentIdentity: stable identifier and instance/session identifiers.
AgentGoal: desired outcome or target condition.
AgentTask: work unit associated with a goal.
AgentPlan: ordered or conditional actions proposed to achieve a goal.
AgentState: observable operational state, including idle, planning, executing, waiting, failed and complete.
AgentCapability: declared operation that an agent may perform.
AgentTool: external or internal software capability accessible through a defined interface.
AgentAction: a requested state-changing or observational operation.
AgentObservation: information received from environment, tools or user.
AgentMemory: persisted or session-scoped context with retention rules.
AgentPolicy: constraints governing action selection and authorisation.
AgentResult: output, state change or evidence resulting from an action.
AgentTrace: ordered, timestamped evidence of decisions and actions.
HumanOversight: review, approval, correction, rejection or intervention.

4. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | allowed(x, B_t) AND valid(x, K_t)}
a*_t = argmax_{a in V_t} P(a | I_t, R_t, B_t, K_t)
O_t = execute(a*_t) only if preconditions(a*_t) and authorisation(a*_t) hold.
I_{t+1} = update(I_t, O_t)
K_{t+1} = revise(K_t, O_t, provenance(O_t))
S_{t+1} = (I_{t+1}, R_{t+1}, B_{t+1}, K_{t+1})
If V_t is empty, abstain, request clarification, or escalate; do not fabricate a permitted action.
Note: P is a decision-scoring model, not proof of correctness or authorisation.

5. RELATIONSHIP GRAPH
SoftwareAgent --hasIdentity--> AgentIdentity
SoftwareAgent --pursues--> AgentGoal
AgentGoal --decomposesInto--> AgentTask
AgentTask --guidedBy--> AgentPlan
AgentPlan --contains--> AgentAction
SoftwareAgent --hasCapability--> AgentCapability
AgentCapability --exposedThrough--> AgentTool
SoftwareAgent --observes--> AgentObservation
SoftwareAgent --maintains--> AgentState
SoftwareAgent --uses--> AgentMemory
SoftwareAgent --constrainedBy--> AgentPolicy
AgentAction --produces--> AgentResult
AgentResult --recordedIn--> AgentTrace
HumanOversight --authorisesOrRejects--> AgentAction

6. TRI-MAPPING
Entity mapping: agent identity, goals, tasks, plans, capabilities, tools, states and results.
Relationship mapping: hasGoal, performsAction, usesTool, observes, constrainedBy, producesResult.
Execution mapping: receive -> interpret -> expand -> validate -> plan -> authorise -> execute -> observe -> record -> update.
Each mapped relation must carry source, confidence and temporal scope where applicable.

7. INFERENCE RULES
R1. IF an input matches a declared capability AND policy permits it THEN a candidate task MAY be created.
R2. IF a task has unsatisfied dependencies THEN schedule dependency resolution before execution.
R3. IF an action exceeds permissions, budget or scope THEN reject or escalate it.
R4. IF an action has irreversible effects AND requires approval THEN wait for explicit approval.
R5. IF a tool returns an error THEN record the error and select bounded recovery or termination.
R6. IF a result satisfies the goal's measurable completion criterion THEN mark the task complete.
R7. IF provenance or evidence is missing THEN lower confidence and prevent unsupported completion claims.
R8. IF execution enters a cycle without progress THEN terminate or escalate at the configured limit.

8. RECURSIVE EXECUTION ENGINE
function AgentFlow(S_t, goal, depth):
  if depth >= MAX_DEPTH: return STOP_LIMIT
  candidates = expand(I_t, R_t)
  permitted = filter(candidates, B_t, K_t)
  if permitted is empty: return ABSTAIN_OR_ESCALATE
  plan = select_plan(permitted, goal)
  for action in plan:
    validate preconditions, permissions and resource budget
    if validation fails: record failure; return SAFE_STOP
    if approval required: await explicit approval
    result = execute_with_timeout(action)
    append audit trace and provenance
    update S_t from result
    if goal satisfied: return VERIFIED_COMPLETE
    if failure: apply bounded recovery or stop
  return AgentFlow(S_t, goal, depth + 1) if progress and budget remain
This is a specification of intended behaviour, not runnable implementation.

9. FLOW DIAGRAM
[Input / Observation]
          |
          v
[Agent State + Goal + Context]
          |
          v
[Expand Relationships and Candidates]
          |
          v
[Boundary / Policy / Permission Filter]
          |
          +---- no valid action ----> [Abstain / Escalate]
          |
          v
[Plan and Select Action]
          |
          v
[Approval if Required]
          |
          v
[Execute with Limits]
          |
          v
[Result + Provenance + Audit Trace]
          |
          v
[Update State / Check Goal]
          |
          +---- incomplete, progress valid ---> [Next Bounded Iteration]
          |
          +---- complete ---------------------> [Verified Result]

10. RELATIONSHIP MAPPING TABLE
Source Entity       | Relation           | Target Entity
SoftwareAgent       | pursues            | AgentGoal
SoftwareAgent       | maintains          | AgentState
SoftwareAgent       | constrainedBy      | AgentPolicy
SoftwareAgent       | uses               | AgentTool
AgentPlan           | contains           | AgentAction
AgentAction         | produces           | AgentResult
AgentResult         | recordedIn         | AgentTrace
HumanOversight      | authorises         | AgentAction
AgentObservation    | updates            | AgentMemory

11. EXECUTION GUARANTEE — CONDITIONAL
Under finite action space, bounded recursion, enforced timeouts, deterministic validation and reliable recording, the flow reaches a terminal state: verified completion, abstention, escalation or bounded failure. It does NOT guarantee goal achievement, factual correctness, tool availability or safe outcomes outside the specified assumptions. All externally consequential actions require applicable authorisation and policy compliance.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/code-and-software-entities/software-agent-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/code-and-software-entities/software-agent-entity-ontology.html
PURPOSE: Resolve and reason about software agent identity, capabilities, bounded execution, tool usage and traceable outcomes.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: SoftwareAgent, AgentIdentity, AgentGoal, AgentTask, AgentPlan, AgentState, AgentCapability, AgentTool, AgentAction, AgentObservation, AgentMemory, AgentPolicy, AgentResult, AgentTrace, HumanOversight.
PATHWAYS: input -> goal -> candidates -> constraints -> plan -> action -> result -> audit -> state update.
MINI_RECURSION_ENGINE: bounded iterative goal-directed execution with stop conditions.
INFERENCE_RULES: R1-R8 above.
CONFIDENCE: Derived from evidence quality, validation, tool results and provenance; never assume certainty.
SEMANTIC_EQUIVALENCE: software agent ~= bounded autonomous software actor; not equivalent to a human, a model alone or an unrestricted executor.
FLOW_HASH: compute SHA-256 over the published UTF-8 file at deployment; no hash asserted here.
UPDATE_MODEL: versioned revisions with source, timestamp, author, change summary and backwards-compatibility assessment.

13. NOTES AND ATTRIBUTION
This document is an original, supplementary Flow Algebra mapping informed by the named ontology page. It should be checked against the complete on-page ontology specification before claiming exact semantic equivalence. No actual agent is instantiated by this text.
Open Research Licence: refer to the publisher's current licence terms; citation backlink retained.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ