Skip to main content

Tool-Using Agent Ontology

Agent Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA
TOOL-USING AGENT ONTOLOGY
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/tool-using-agent-ontology.html
Status: Supplementary formalisation; not a verified transcription of the webpage.

1. PURPOSE
Represent an AI agent that selects, invokes, observes and evaluates external tools in pursuit of an authorised goal. Distinguish proposed tool actions from completed, verified tool results.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current instruction, task, tool observations and working context.
R_t: tool selection, argument validation, execution and evidence rules.
B_t: permissions, safety constraints, budget, deadlines and stopping conditions.
K_t: known tools, schemas, results, provenance and uncertainty.

Agent state A_t = (G_t, P_t, T_t, O_t, M_t, C_t)
G_t = authorised goal; P_t = current plan; T_t = tool registry;
O_t = observed results; M_t = execution memory; C_t = confidence state.

3. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {a in E_t | permitted(a,B_t) AND schema_valid(a,T_t)}
a*_t = argmax_{a in V_t} P(a | I_t,R_t,B_t,K_t)
If V_t is empty: abstain, explain or request permission.
If a*_t is a tool call: dispatch(a*_t); wait for tool response.
O_{t+1} = verify_response(response, tool_id, invocation_id)
I_{t+1} = update(I_t, O_{t+1})
K_{t+1} = update(K_t, O_{t+1}, provenance)
Repeat only while necessary and permitted.

4. HOW TO READ
Instruction -> Candidate actions -> Boundary filter -> Tool selection ->
Validated invocation -> Observed response -> Evidence update ->
Goal check -> Continue, finish or safely stop.
A proposed action is not evidence of successful execution.

5. TRI-MAPPING
Entity: ToolUsingAgent -> (agent_id, goal, capabilities, policy)
Relationship: Agent USES Tool; Tool RETURNS Observation;
Observation SUPPORTS Claim; Policy CONSTRAINS Action.
Process: Select -> Validate -> Invoke -> Observe -> Verify -> Integrate.

6. RELATIONSHIP GRAPH
Goal --requires--> Action
Action --implemented_by--> Tool
Tool --governed_by--> PermissionBoundary
Invocation --produces--> ToolResult
ToolResult --has_provenance--> SourceRecord
ToolResult --supports_or_refutes--> CandidateClaim
CandidateClaim --updates--> AgentKnowledge

7. RECURSIVE TOOL ENGINE
function RUN(state, remaining_budget):
  if goal_satisfied(state): return FINISH(state)
  if remaining_budget <= 0: return STOP_WITH_STATUS(state)
  candidates = generate_actions(state)
  permitted = filter_permissions_and_schema(candidates)
  if permitted is empty: return ABSTAIN_OR_ASK(state)
  action = choose_best(permitted)
  result = invoke_and_observe(action)
  state = integrate_with_provenance(state, result)
  if repeated_failure_or_no_progress(state): return STOP_WITH_STATUS(state)
  return RUN(state, remaining_budget - cost(action))

8. MAPPING TABLE
Input instruction | I_t | Defines the goal and constraints
Tool registry | T_t | Available capabilities and schemas
Action candidate | E_t | Potential next step
Boundary check | B_t | Permissions and risk controls
Tool invocation | a*_t | Selected validated action
Tool response | O_t | Observed evidence, including errors
Knowledge update | K_{t+1} | Revised beliefs with provenance
Termination | stop condition | Completion, refusal or limitation

9. INFERENCE RULES
R1: If a tool is not authorised, do not invoke it.
R2: If arguments fail schema validation, repair or abstain.
R3: If a tool returns an error, do not report task completion.
R4: If evidence is insufficient, qualify the conclusion.
R5: If two results conflict, retain provenance and uncertainty.
R6: If the goal is satisfied and verified, terminate.
R7: If an action is irreversible or consequential, require appropriate approval.

10. EXECUTION GUARANTEE (CONDITIONAL)
Under valid tool schemas, enforced permissions, finite execution budgets
and truthful response handling, the process preserves action admissibility
and terminates when the budget is exhausted or a stop condition is reached.
It does NOT guarantee external tool availability, correct outputs, goal
completion, factual truth or safety outside the stated assumptions.

11. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/agent-entities/tool-using-agent-ontology.html
PURPOSE: Discover and reason over tool-using agent entities.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: ToolUsingAgent, Goal, Tool, ToolSchema, Invocation, Result,
PermissionBoundary, Observation, Provenance, Claim, Plan.
PATHWAYS: Goal -> Select -> Validate -> Invoke -> Verify -> Update -> Stop.
MINI_RECURSION_ENGINE: RUN(state,budget) as defined in section 7.
INFERENCE_RULES: R1-R7 as defined in section 9.
CONFIDENCE: Derived from observed, attributable evidence; never assumed.
SEMANTIC_EQUIVALENCE: tool-augmented agent; agent with tool invocation;
external-action agent (context dependent, not always identical).
FLOW_HASH: Not computed; compute on canonical published bytes if required.
UPDATE_MODEL: Version changes must record date, source and changed rules.
CITATION_BACKLINK: Source URL above.

12. EXAMPLE
Goal: Retrieve a document title from an authorised index.
Tool: search_index(query="agent ontology")
Validation: Check schema, permission and query bounds.
Observation: Record returned titles and source identifiers.
Decision: Cite observed titles; do not invent missing documents.
Stop: Goal met, no results, permission denied or budget exhausted.

13. LICENCE AND ATTRIBUTION
Intended for open research reuse with citation to the authors and source.
Refer to the applicable Kireth Research Open Research Licence for terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ