SynedrixOS
Layer 6 of 12

Tool Abstraction

One tool contract, one authorization model, regardless of what's behind the adapter.

TIER
Infrastructure services
PLATFORM
No dedicated platform
OS AGENTS
None assigned
Position in the stack
04Agent Runtime
the LangGraph executor or n8n AI Agent node calls a tool
06Tool Abstraction
No dedicated platform
normalise → authorise → adapt
It adapts and authorises; it does not decide or present.
EXTExternal system
database, API, search service, or another agent (A2A)
Cross-cutting
09Governance & Controls
write-capable and MCP/A2A calls are submitted to Policy Guard first
10Observability
every authorization outcome is traced end-to-end
Definition

What Tool Abstraction is

Tool Abstraction normalises how an agent reaches an external system. Every capability an agent may invoke (a database read, a write to canonical state, a search call, a cross-agent delegation) passes through this layer as a named, typed tool rather than a direct integration the agent's reasoning code holds a handle to.

This is a normalisation layer, not a reasoning layer. It does not decide whether a tool call is a good idea: that's the agent's model and, for anything with a side effect, Governance. What it owns is narrower and load-bearing: the contract a tool call must satisfy before it reaches the system it targets, enforced at the moment of invocation.

Boundary

What it owns, and what it does not

Every layer in the architecture has a non-overlapping responsibility. The boundary is as much a part of the design as the capability.

Owns

  • Adapters: per-system integration code turning a tool call into a concrete API request
  • Tool contracts: the canonical tool_id convention and input/output shape
  • Permission scopes: the capability ceiling, runtime restriction, and instance override that resolve which tools an agent may call
  • Retries: tool-call-level retry and timeout behaviour, distinct from workflow-level retry

Does not own

Domain decision logic
→ Domain Pack Layer
Human interface concerns
→ Human Interface Layer
Domain-specific policies
→ Domain Pack Layer
Coordination

Interfaces with

The other layers this one exchanges work, state, or decisions with, and why.

Agent runtime

the LangGraph executor and the n8n AI Agent node are the two places a resolved active tool set is actually enforced.

Governance

write-capable and MCP/A2A-backed calls are submitted to Policy Guard before execution; this layer carries the decision, it doesn't make it.

Observability

every authorization outcome is traced to Langfuse and the event bus, so a tool call's authorization path is reconstructible after the fact.

Implementation

How Synedrix OS implements it

The Tool Authorization Model is the conceptual foundation: every tool is a named, typed capability. An agent's capability ceiling (declared once, immutable at runtime) is the hard upper bound on what it may ever call. Orchestration computes the active tool set for a specific invocation by narrowing that ceiling through runtime restriction and instance override, in strict order: each layer can only restrict, never expand. A tool absent from the resolved set is invisible to the model, not merely denied.

The Agent Runtime Policy Spec is the authoritative schema for that restriction, including the MCP and A2A tool policy blocks: MCP server allow/deny-listing, write-approval defaults, A2A trust tiers and partner allowlists.

The Interoperability Protocol Strategy positions MCP as this layer's protocol: the tool abstraction boundary, not the orchestration core. MCP tools are exposed read-first, with write-capable tools introduced only once approval semantics are clear, and every MCP call is routed through the same governance and observability controls as a native adapter call.

Agents

OS agents at this layer

NO AGENT AT THIS LAYER
No OS-owned agent is assigned to Tool Abstraction. That's deliberate: it's a normalisation layer every agent calls through on its way to a system, not a layer where an agent reasons or reaches a decision. A tool call's authorization outcome may trigger Policy Guard, but Policy Guard's home layer is Governance & Controls.
Design rules

Layer principles that apply

  • Tools are adapters, not business logic: this is this layer's reason for existing.
  • Controls before execution: the three-layer tool authorization model and MCP/A2A approval gates apply this principle to every tool call.
Common questions

Tool Abstraction questions, answered

Short, citable answers drawn from this page.

What is the Tool Abstraction layer in Synedrix OS?

Tool Abstraction is layer 6 of the twelve-layer Synedrix OS architecture, in the "Infrastructure services" group. One tool contract, one authorization model, regardless of what's behind the adapter.

What does the Tool Abstraction layer own?

The Tool Abstraction layer owns: Adapters: per-system integration code turning a tool call into a concrete API request; Tool contracts: the canonical tool_id convention and input/output shape; Permission scopes: the capability ceiling, runtime restriction, and instance override that resolve which tools an agent may call; Retries: tool-call-level retry and timeout behaviour, distinct from workflow-level retry.

What does the Tool Abstraction layer not own?

The Tool Abstraction layer does not own: Domain decision logic (owned by Domain Pack Layer); Human interface concerns (owned by Human Interface Layer); Domain-specific policies (owned by Domain Pack Layer).

The full reference page, with every canonical specification this layer touches, lives in the documentation repository, which is private while the platform is being built.

Follow the buildAll twelve layers

Back to the platform overview