Agentic Services Layer
Common services, shared by every team, and private services, kept within a team or domain
The Agentic Services Layer comprises services and their documentation. Each service is built from one or more agents that use LLMs. It provides a capability that other solutions need, and a contract that says how to invoke it.
SOA gave enterprises a services layer, then catalogs and developer portals so teams reused services instead of rebuilding them. Agentic AI needs the same, to keep agents from sprawling across an enterprise.
The Agentic Services Layer is a set of entries in K9X Continuum and the Enterprise Repository. Each entry points to an Agentic Service: its documentation, its contract and a demo to try. Common services are shared and searchable by every team; private services are visible only to their own team or domain. A project that adopts a service deploys its own instance, with its own configuration, on its own budget.
The model is framework-agnostic. An Agentic Service can be built with any agent framework or platform, as long as it publishes a contract, its documentation and a demo, and can be deployed as an instance. The diagrams below show one implementation, K9X: the K9-AIF framework to build services, and K9X Continuum with the Enterprise Repository to catalog them.
The problem: agent sprawl
Most agentic projects start by building an agent. That works for one solution. Across an enterprise, it means every team builds its own triage, redaction, document intake and retrieval agents, each slightly different, each governed separately, none reused. SOA faced the same problem with services twenty years ago, and solved it with a shared layer, a catalog and a rule to look before building.
The layers
The SOA reference architecture (The Open Group, based on IBM's SOA Solution Stack) separated consumers, business processes, services, service components and operational systems. The same layering holds for agentic systems, and so does the path: build services, share the common ones and publish them in a developer portal where teams discover and reuse them. For APIs, the MuleSoft Anypoint Platform is a well-known example: Anypoint Exchange catalogs the APIs, and its developer portal, API Experience Hub, is where teams discover and reuse them. Only the service changes: instead of SOA services, it is Agentic Services.
A simple example
An enterprise has one shared document-analysis service: give it documents, pointers to the data behind them and a task, and it returns a structured analysis and report. Three applications need that capability. As shown below, each architect tries the demo first. Claims and Underwriting each deploy their own instance of the common service, with their own configuration file. Customer Service needs further customization for its project, so it clones the service and makes it application-specific.
- Look first, and try the demo. While the Claims solution is being designed, before any code, the architect searches the catalog, finds document-analysis v2.1 and tries its demo.
- Deploy and configure. Claims and Underwriting each deploy their own instance of v2.1 with their own configuration file. Neither builds an analysis agent, and each instance runs on its own project's budget.
- Clone only when needed. Customer Service needs further customization for its project, so it clones the service, makes it application-specific, and deploys it as its own private service.
- Keep common and private apart. Common services are what every team searches. Private services are visible only to their own team or domain, and stay linked to their origin, so improvements to v2.1 can still reach the clone.
Across many projects and applications, this builds up an entire suite of services that are readily available, and proven: each one has passed inspection and review, been promoted, and is already working for other applications. A new project starts from services that work, not from a blank page.
Inside one Agentic Service
Every Agentic Service works the same way inside, however it is called. The contract is checked on the way in and on the way out.
Discover before you build
There is no separate catalog product. A common Agentic Service is a building block in K9X Continuum at the Common Systems level, and its documentation, contract and invocation examples live in the Enterprise Repository. This happens at the Design stage of the Secure AI Lifecycle, before any code is written. The architect first checks which common services the project can use as is, or with a little customization, and builds new only for what is left. The Center of Excellence sets the rule: try it before you use it or clone it. Then reuse and configure, clone only when the project needs further customization, or build new with a recorded justification. In time, the K9X Agentic Reuse Advisor, itself an Agentic Service, will do the searching: give it a project's requirements or a Studio design, and it proposes what to reuse, for the architect to decide.
k9aif inspect, takes it through review to promotion, and lists it at the Common Systems level. The Enterprise Repository holds what a consumer needs to call it.Agentic Service Governance
Governance covers how a service enters the catalog (inspection, review and promotion), the rule to look before building, who pays for and runs each instance, and how a service changes without breaking the applications that depend on it.
Instances, cost and SLA
The catalog holds the service and its demo. Production runs in each project's own instance. That settles who pays and who answers for the service level.
| Service owner | Project | |
|---|---|---|
| Owns | The service: code, contract, evaluation suite, fixes and releases, and the demo | Its instance and its configuration file |
| Answers for | Quality: the contract, the published evaluation results, timely fixes | Runtime SLA: availability, response time, capacity |
| Pays for | Building and maintaining the service, and running the demo | Its instance's hosting and model usage, from the project budget |
The demo is for trying a service. It carries no SLA. A few services that cost little and give everyone the same answer may run as one central instance instead; the K9X Agentic Reuse Advisor is one.
So a project has three ways to use a common service:
- Try the demo. For exploring at Design. No SLA.
- Request a hosted instance. The organization can also run a working instance for a proof of concept, requested much like a SaaS subscription. The request records whatever the organization requires, such as the project name and ID, or for client work an opportunity number and the client account, so usage is tracked and charged back to the project.
- Deploy its own instance. For production, the project runs its own instance with its own configuration, on its own budget.
Each organization sets its own guardrails around these, for example requiring a project or application to be registered before its team can try a demo. The Center of Excellence then knows who is evaluating which service, and can follow up when an evaluation turns into an instance.
Change management and impact analysis
Applications that depend on a common service must not break when it changes. As in SOA, changes are backward compatible by default, and the service owner knows exactly who is affected before releasing anything.
- Backward compatible by default. A new version may add to the contract but never removes or renames anything. Each instance pins a major version.
- Impact analysis first. Each instance registers in the catalog with its version, so the owner sees every instance affected before releasing.
- Behaviour counts as a change. A new model or prompt can change results without changing the contract, so the evaluation suite is re-run and its results published with the release.
- Instance owners are informed. Every instance owner is told what changed and when, and upgrades when ready. Security fixes are the exception: they must be applied by a set date.
- Private copies stay linked. Teams that copied a service are told when its origin changes, and decide whether to take the update. The CoE can see which copies have stopped following their origin.
Agents, Agentic Services and MCP tools
Three building blocks appear on this page. Agents are what you build. Agentic Services are what you share. MCP tools are single capabilities that both can use.
| Term | What it is | Who sees it |
|---|---|---|
| Agent | One role: YAML and a class, with instructions, tools and an output schema. A component, like a service component in SOA. | The team building the service |
| Agentic Service | A service built from agents: an orchestrator and a squad of one or more agents behind a Pydantic contract. Listed with a demo; each project deploys its own instance. | Every consuming solution |
| MCP tool | One capability with no reasoning of its own, such as a search or a lookup. Once a tool needs reasoning, it becomes an Agentic Service. | Agents and solutions |
Work in progress. An example Agentic Service in the Agentic Services Layer, with its demo, contract and documentation, is being prepared and will be linked here.
K9X