Skip to main content

Task Agent Ontology

Agent Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
TASK AGENT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Agent Entities
Version: 1.0 | Date: 2026-11-02
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/task-agent-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source ontology.

1. PURPOSE
Represent an AI task agent as a bounded, goal-directed system that receives a task, plans and performs permitted actions, observes results, checks completion and returns an auditable outcome.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current task input, objectives, observations and action history.
R_t: task decomposition, planning, selection and verification rules.
B_t: permissions, time/resource limits, safety constraints and stop conditions.
K_t: available tools, task knowledge, environment state and provenance.
Agent state A_t = (G, P_t, E_t, H_t, C_t), where G is goal, P_t is plan, E_t is evidence, H_t is execution history, C_t is completion status.

3. FORMAL FLOW
Task T -> Parse(T) -> Validate(T,B_t) -> Decompose(T) -> Plan(G,K_t) -> Select(a_t) -> Execute(a_t) -> Observe(o_t) -> Verify(o_t,G) -> Update(S_t,A_t) -> Continue | Finish | Escalate.
E_t = expand(I_t,R_t)
V_t = {x in E_t : satisfies(x,B_t)}
a_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t)
I_(t+1) = update(I_t,a_t,o_t)
If V_t is empty, stop and report the constraint rather than invent an action.

4. IMPLEMENTS
Input interpretation; goal definition; task decomposition; dependency ordering; bounded planning; tool selection; action execution; result observation; evidence capture; error recovery; completion verification; escalation; audit logging.

5. HOW TO READ
Each state transition takes the current task context and chooses a permitted next step. An action is provisional until its observed result is checked. A completed task requires explicit success criteria, not merely a generated response.

6. TRI-MAPPING
ENTITY: TaskAgent, Task, Goal, Plan, Subtask, Action, Tool, Observation, Evidence, Result.
RELATIONSHIP: agent-has-goal; task-decomposes-into-subtask; plan-orders-action; action-uses-tool; action-produces-observation; observation-supports-result; result-satisfies-goal.
FLOW: receive -> validate -> plan -> act -> observe -> verify -> update -> terminate.

7. RELATIONSHIP GRAPH
TaskAgent --accepts--> Task
Task --defines--> Goal
Task --decomposesInto--> Subtask
TaskAgent --creates--> Plan
Plan --orders--> Action
Action --invokes--> Tool
Tool --returns--> Observation
Observation --contributesTo--> Evidence
Evidence --supports--> CompletionDecision
CompletionDecision --updates--> TaskStatus

8. MINI RECURSION ENGINE
function TASK_AGENT(T,S,depth):
  if depth >= MAX_DEPTH: return STOP("depth limit")
  if not permitted(T,S.B): return STOP("boundary violation")
  if complete(T,S.K): return VERIFIED_RESULT(T)
  plan = bounded_plan(T,S)
  if not plan: return ESCALATE("no feasible plan")
  action = select_permitted_action(plan,S)
  observation = execute_and_observe(action)
  S2 = update_with_evidence(S,action,observation)
  if failure_requires_human(observation): return ESCALATE(observation)
  return TASK_AGENT(T,S2,depth+1)
Termination also requires finite action/time budgets and detection of repeated states.

9. MAPPING TABLE
Task input        | I_t | Task, constraints, expected outcome
Planning rules    | R_t | Decomposition and action policy
Boundaries        | B_t | Authorisation, safety and budgets
Knowledge         | K_t | Tools, environment and prior evidence
Candidate actions | E_t | Expanded possible next actions
Valid actions     | V_t | Boundary-compliant candidates
Chosen action     | a_t | Highest-ranked permitted action
Observation       | o_t | Actual tool/environment result
Updated state     | S_(t+1) | Evidence-grounded next state

10. INFERENCE RULES
IF a subtask depends on another unfinished subtask THEN delay it.
IF an action violates B_t THEN exclude it from V_t.
IF a tool result contradicts a premise THEN revise the plan.
IF evidence meets defined success criteria THEN mark the goal complete.
IF a tool fails transiently AND retry budget remains THEN retry with bounded backoff.
IF a requested action needs authorisation not present THEN request approval or escalate.
IF no safe feasible action remains THEN terminate with a reason.

11. CONDITIONAL EXECUTION GUARANTEE
Provided that every transition enforces boundaries, observations are recorded, budgets are finite, and terminal checks are applied, the process either reaches a verified completion state or stops with an explicit incomplete/error/escalation status. This does NOT guarantee that an arbitrary task can be solved, that tool results are correct, or that probabilistic action selection is optimal.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/task-agent-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/task-agent-ontology.html
PURPOSE: Describe and retrieve the bounded execution semantics of a task agent.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: TaskAgent; Task; Goal; Plan; Subtask; Action; Tool; Observation; Evidence; Result.
PATHWAYS: input>validation>decomposition>planning>action>observation>verification>update.
MINI_RECURSION_ENGINE: bounded plan-act-observe-verify loop.
INFERENCE_RULES: permission gating; dependency resolution; evidence validation; finite termination.
CONFIDENCE: Evidence-dependent; not a universal numerical constant.
SEMANTIC_EQUIVALENCE: task-oriented agent; goal-directed task executor; bounded workflow agent (context-dependent).
UPDATE_MODEL: revise task state after each observed action and verification.

13. EXAMPLE
Goal: Produce a validated report from a supplied dataset.
Plan: inspect schema -> clean permitted fields -> calculate summary -> check totals -> export report.
Evidence: schema checks, calculation logs and export confirmation.
Completion: report exists AND required checks pass; otherwise return an explicit failure or partial result.

14. LICENCE AND ATTRIBUTION
Prepared as an original supplementary Flow Algebra representation for the Kireth Research Semantic Library. Open research use with citation to the named authors and source. Verify the applicable published Open Research Licence before redistribution.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ