Every framework has an example agent in the Tilde open-source repository.
If your framework is not on this list, use the core SDK directly. Read the conversation, tools, and skills from
ctx inside run. See Anatomy of an agent.What every adapter does
Each adapter does the same five jobs, in the framework’s own terms:- Converts history. It turns the Tilde conversation, with attachments, into the framework’s message type.
- Adds tools. It merges the channel’s tools, the agent’s Tilde tools, and your bundled tools into the framework’s tool list. It records every call.
- Delivers skills. It hands skills to the framework’s native skill loader, or adds them as tools when the framework has none.
- Passes new input. When a user sends another message during a run, or the run is stopped, the adapter feeds it into the framework’s loop.
- Registers prompts and tools at deploy.
tilde deployasks the adapter for the framework’s prompts, tools, and skills, and registers them with the deployment.
inference(name), which returns a gateway URL and a placeholder key. The gateway injects the real credential.
Feature compatibility
Each framework’s page explains its partial entries.
Behaviour common to every framework
- Replies go through channel tools. The model’s text output is private. An agent replies by calling a channel tool, such as
sendMessage. Adapters do not stream model text to users. - Tilde owns the conversation history. Load it with
ctx.message.history()on each invocation. Turn off the framework’s own memory or history features, or the model sees messages twice. - Tilde’s tracing replaces the framework’s. The SDK records each invocation, runtime call, and tool call as spans. Framework spans join the same trace only when the framework emits OpenTelemetry itself. The example agents turn off framework tracing that sends data to a third party, and we recommend you do the same.
- Define agents at module scope.
tilde deployfinds prompts, tools, and skills by loading your entry module. Agents built insiderunare invisible to it. - Gateway controls apply to every framework. Capabilities, channel access, budgets, and, in Tilde Enterprise, security middleware run in the gateway, whatever framework the agent uses.