Custom orchestration#

Run agents on something other than the reference orchestration: either replace the whole agent service, or keep the toolkit alone and run agents in your own framework.

The reference orchestration in reference/orchestration/ is the baseline to start from. It shows a working agent service, release path, runtime and agents end to end (Agent orchestration). Change it where it fits your needs; replace it when it does not.

Choose a level#

You want to

Do this

Page

Run agents in your own framework, without hosted agents

Run the toolkit alone and connect each agent through MCP

Use your own agent framework

Keep the agent service, change how agents are defined or run

Edit the reference orchestration

Write an agent

Replace the agent service

Serve its API and the orchestration operations below

This page

Run the toolkit without orchestration#

Set the provider in the deployment’s parts list and leave the agent service part out:

providers:
  agent_orchestration: none

agent_orchestration takes nemo or none. Without an orchestration, the toolkit refuses workload credentials and runs durable calls directly. Clients and agents still use every MCP tool and REST route their scopes allow (Choose the parts).

Replace the agent service#

The toolkit has no import of orchestration code. It reaches an orchestration through one port, core/orchestration.py, over HTTP when the orchestration runs in its own process.

What to serve

Used by

Contract

The agent routes: definitions, releases, deployments, instances, conversations, runs

The Agent Console and clients

contracts/openapi/agent-service-v1.json, Agents API

The orchestration operations under /v1/orchestration/

The toolkit, through its port

core/orchestration.py (Orchestration), core/orchestration_http.py, and the client models in geonemo.client.orchestration

Agent credentials

Each hosted agent

Hosted-agent scope contract

The port’s operations:

Operation

What the toolkit asks

admit, workload

Whether a workload may make a request, and its current state

record_call

Record a call a durable task makes

publication, freeze_publication, publication_committed

Hold and commit a task’s publication

page, save_page

Read and save a durable task’s paging position

resolve_connection

Resolve a user’s inference connection

capabilities

The capabilities discovery reports for the orchestration

Point the toolkit at your service with GEONEMO_API_SERVICE_ENDPOINTS, for example {"agent-service": "http://my-orchestration:8000"} (API roles). The toolkit API then forwards the agent routes there and attaches the HTTP port.

geonemo-services parts check accepts agent_orchestration: nemo only when a listed part registers an orchestration, and none only when no listed part does. A service of your own that is not a part of this server therefore goes with none.

How agents reach the toolkit#

Whatever runs the agents, they reach the toolkit as any client does:

  • Tools through the HTTP MCP server or geonemo-mcp, and skills as MCP resources (Connect an MCP client).

  • Data through the versioned REST API (Call the REST API).

  • With a scoped credential that cannot widen its project, collections or tools.

Result#

The Agent Console and clients use your service through the same agent routes, the toolkit asks it through the same port, and agents call the same tools.