Skip to main content
A project has two deploy commands, one for each kind of thing it holds. Deploy the ontology first. The agent’s ontology tools exist only once the ontology runs.

1. Deploy the ontology and spaces

1

Create the project and an environment

In Ontology, select Create project, and name it helpdesk, as in tilde.toml. Open it, select Environments, then Create environment. Name it production, and switch on Serve its spaces in Live.
2

Issue a deploy token

On the environment, select Issue deploy token, and copy it. It deploys only this environment.
3

Commit and deploy

Run from the directory that holds tilde.toml. Tilde builds the committed HEAD, not your working tree.
Tilde installs the dependencies, validates the ontology, its SQL, and its policies, builds the spaces, and rolls them out. Errors name the file and line.
4

Check it

tilde ontology status --environment production shows that the customers arrived. People with view on the project can now open Live, then Customers.
When the ontology needs a connection or a secret, the deploy is refused and names each one. See Deploy and environments.

2. Deploy the agent

1

Create the agent

In the Agent Registry, select Create agent, and name it support. On its Inference tab, assign an OpenAI connection named production. See Inference providers.
2

Register a release

Build the agent, then register a deployment from its folder. tilde deploy loads the entry module without starting it, and registers the prompt and skills it finds.
Set TILDE_URL, TILDE_API_KEY, and TILDE_AGENT_ID first. See Release agents from CI for the key.
3

Run it

Start the agent with TILDE_GATEWAY_URL and the deployment token as TILDE_DEPLOYMENT_TOKEN. It dials out to the gateway, and needs no inbound port. See Deploy direct agents.

3. Give the agent the ontology

1

Connect the environment

In Tools, select Connections, then Tilde Catalog, and choose Tilde Ontology. Select Add account, and enter the production environment’s ID.
2

Add the tools

Open the support agent, select Tools, then Add tool, and choose the connection. Switch on listCustomers, customerOverview, and setNotes.
3

Allow them

In the agent’s Capabilities tab, add the three tools to tools.invoke.
Now ask the agent: “What plan is Acme on? Note that they asked about SSO.” It calls listCustomers, customerOverview, and setNotes, and each call is decided by your policies. The new note shows in the Customers space. Review the calls in the agent’s Sessions tab.

Deploy from CI

Run both on every merge, ontology first. Each agent gets its own step.
.github/workflows/deploy.yml

Next steps

Bring in real data

Replace the reference data with a pipeline and a connection.

Tighten the policies

Limit agents, mask fields, and require approvals.

Call third parties

Have actions update the systems you already use.

Roll out agent releases

Move conversations to a new release safely.