Skip to main content
Each folder in agents/ is one agent: your framework code, with its prompts and skills next to it. When you deploy, tilde deploy reads the prompts and skills from the code and registers them with the release, so they are versioned with the commit. See Anatomy of an agent for how an agent runs.
This example uses the Vercel AI SDK. Any framework works the same way.

The package

agents/support/package.json

Prompt and skills

Keep the instructions in a Markdown file, so reviewers see prompt changes as plain diffs.
agents/support/prompts/instructions.md
A skill is a folder with a SKILL.md. The agent sees its name and description, and reads the rest only when it needs it. See Skills.
agents/support/skills/account-notes/SKILL.md

The code

agent.ts defines the agent and handles one invocation. The adapter registers its instructions as a versioned prompt.
agents/support/src/agent.ts
index.ts connects to Tilde, and exports the agent and skills so tilde deploy can find them.
agents/support/src/index.ts
The agent never calls the ontology directly. It gets listCustomers, customerOverview, and setNotes as tools once you connect it, in the next step.

Next

Deploy the project.