Skip to main content
The setup prompt and the CLI do all of this for you. If you prefer to see every wire, or your repository does not fit the automated path, here is the full integration by hand. This page also covers an MCP server connected by hand, with a narrower footprint: follow steps 1 to 3, declare tools only in step 4 (an MCP server declares no prompts or connections, and runs no worker), then guard the dispatcher as in step 7 — returning policy errors to the MCP client as a normal isError: true tool result, never a protocol error or a crashed server.

1. Install the SDK

2. Add the credentials

Save the .env block from the Connect dialog at the root of your repository:
Never commit this file. The key itself tells the SDK which environment to talk to, so there are no URLs to configure.

3. Create the client

4. Declare what your agent is made of

This is what fills Harness management: prompts, tools, and third-party connections.
Connection secret values are never uploaded; Rippletide only learns which secret names are configured.

5. Record runtime evidence

Wrap your model client and trace the functions that matter:
For a short-lived script or worker, call await rippletide.flush() before it exits so pending evidence is sent.

6. Start the runtime worker

The worker is what lets Evaluate & improve run scenarios against your real agent. It polls outbound only and never opens a port.

7. Guard important tool calls

Install one guard at your real tool-dispatch boundary so rules can decide before an action runs:
getTrustedUserContext() must read identity facts from your authenticated application, never from model output or tool arguments.

8. Optional: make the repo CLI-friendly

Declare rippletide:sync and rippletide:start package scripts that run your declaration code and your worker. rippletide connect, verify, and status then work out of the box for anyone on the team.

Verify

Run your agent and send one message that uses a tool. Harness management should show your inventory, and Runtime Events should show a heartbeat, the tool call, and the complete turn. That is the proof the wiring is complete.