Skip to main content
Tide-1 is the decision API for agents. It compares the choices you provide and returns the option it considers best supported by your question, current context, retrieved memory and active policies. Your application decides how to use that recommendation. Each workspace has a shared memory bank for stored information, previous interactions and policies. You can use Tide-1 → Test, Memory and Policies in the platform, or call the API with that bank’s Connection key. An agent connection is not required. Policies guide the model’s comparison. Rules and the Policy API evaluate execution and delivery boundaries. A Tide-1 recommendation does not execute, approve or block an action.

Get your API key

  1. Sign in at app.rippletide.com and open Tide-1 in the sidebar.
  2. Select Copy API key.
When you sign up, Rippletide creates a workspace and makes you its Admin. Your first visit to Tide-1 creates the key, so you can copy it right away. In a shared workspace, only Admins see Copy API key. If you are an Editor or Viewer, ask a workspace Admin to copy the key and share it with you through your secret manager. If the page asks you to contact an administrator, no Admin has opened Tide-1 in this workspace yet. An Admin’s first visit creates the key. The key is a Bearer token for your workspace’s memory bank. It can also change memory and policies, so keep it in your backend. It expires after 90 days. See API keys for copying and replacement.

Make your first call

This example asks Tide-1 for the most likely cause of an incident. The logs go in context. The candidate causes go in choices. Tide-1 picks one of the choices. Set the key you copied:
The Python sample uses requests (pip install requests). The TypeScript sample also runs as JavaScript: save it as first-decision.mjs and run node first-decision.mjs on Node.js 20 or later. Each new decision needs a new Idempotency-Key UUID. To retry a call you are unsure about, send the same key and the same body again. A successful call returns HTTP 200. This sample comes from a bank that already holds one runbook note and one active policy. Your IDs, scores and evidence will differ, and so can the choice: it depends on what your bank’s memory and policies hold.
choice is always one of your choices. Use it, the scores and the evidence however your application needs. Read a decision explains each field.

Try it in the app

This example uses a fictional service, Orion, and synthetic error code RP17. It compares the same question before and after adding sourced information. Review Privacy & capture before submitting customer data: successful decisions can retain their inputs and generated results as memory. Sign in, select your workspace and open Tide-1 below Agents & integrations. An Admin’s first visit creates the workspace bank and key. Editors can test decisions and change memory or policies; Viewers can read memory and policies. The app uses your account session, with no key to paste.
1

Prepare the comparison

Inspect Memory and Policies first. If Orion or RP17 already has a definition in the bank, use another unused synthetic service and code throughout the example. Keep the active policies unchanged for the two decisions.In Test, select Add choices, enter upstream_timeout and db_pool_full separately, then select Done. Select Add context and paste only this JSON object:
Select Done, then enter: “What does error code RP17 mean for Orion?”
2

Record the first decision

Send the question. Record the selected option, open Choice scores and record both scores. Then open Decision context to inspect the memory excerpts and policies presented to the model.This is a baseline: it may already select the right option. Earlier interactions or generated hypotheses in memory do not establish what RP17 means.
3

Add the missing runbook information

Open Memory → Add information. Enter:
For Orion, RP17 means the upstream request timed out. It does not indicate a database pool problem.
Set Source to runbook:orion-rp17 and select Add information. The app supplies the observation time. Check Added to memory, then search for Orion or RP17.The information is stored and indexed when the addition commits. Retention makes it eligible for retrieval; a later question may still retrieve a different selection of excerpts.
4

Repeat with the same inputs

Return to Test and send the same question without changing Choices, Context or the active policies. Sending clears the question but keeps the configured choices and context.The supplied runbook supports upstream_timeout. Open Decision context and check whether the runbook text appears as Information. Compare the actual option and scores with your first result. One comparison, or a higher score alone, does not measure overall accuracy.
The conversation clears on reload, workspace changes and logout. Stored memory and policies remain in their workspace bank. Coordinate additions and policy changes with teammates using the same bank.

Read a decision

Scores are model outputs, not calibrated certainty. Presented facts prove what was supplied to the model, not factual correctness, causal influence or compliance with a policy. citation_status: unsupported means the response provides no model citations. In the app, Information, Interaction, Hypothesis and Correction identify the origin of memory excerpts. A Hypothesis is generated history. Source references and observation dates remain available in the API JSON; the compact app blocks do not display them. The API selects from the supplied choices even with weak evidence. If your workflow needs insufficient_evidence, include it as a choice and describe when to select it in a policy. Check the result against your use case.

Call from your application

Use the key from Get your API key. This Connection key is bound to the workspace bank and uses Bearer authentication. It also authorizes memory and policy edits, so keep it in the intended backend application’s secret manager. See API keys for expiration, copying and replacement. The Bash examples use uuidgen. Set the production API URL and the key copied from the same environment:
For staging, use https://agent-evalserver-staging.up.railway.app with its staging bank key. Keep the app, API and credentials in the same environment.
1

Check the key and prepare a request

List policies to check authentication without calling the decision model:
HTTP 200 confirms that the key is accepted. The list includes inactive policies; only active policies guide decisions.Save the comparison inputs so both calls use the same body:
question and choices are required. Supply 1–80 unique, nonblank choices, each up to 256 characters. Optional context must be a JSON object and defaults to {}.
2

Request the baseline decision

Create a UUID once for this attempt, then send the request:
HTTP 200 returns the decision. Keep its actual scores, evidence and decision_id. Reuse this UUID and body when retrying an uncertain attempt; create a new UUID for a new decision.
3

Record and retrieve the runbook information

Use this API path instead of adding the same information in the app:
HTTP 202 returns status: recorded, memory_status: retained, memory_id and ingestion_id. The text is already stored and indexed when the request returns. GET /v1/ingestions/:ingestionId checks the ingestion’s status.Retrieve relevant information without a decision-model call:
Inspect facts for the runbook text and source.ref: runbook:orion-rp17. Recall returns a bounded selection of retained excerpts and active policies.
4

Repeat the decision and compare

Create a new request UUID, keeping the original body:
Compare choice, choice_scores and evidence.presented_facts in the two files. Check whether the follow-up contains the sourced runbook information, including its reference. Report the actual result even if it did not improve.

Add a policy

After the memory comparison, open Policies → Add a policy. Enter “Choose the diagnosis supported by the supplied observations and runbook facts”, keep the policy Active, then select Save policy. The app handles version checks. Through the API, create a policy with expected_version: 0:
A new policy starts at version 1. For an update, use its current version from GET /v1/policies. Identical updates are no-ops; a stale version returns 409 POLICY_VERSION_CONFLICT. Inactive policies are excluded from future decisions. Run a new decision and inspect evidence.policy_versions for the policy and saved version.

Infer policies from a document

Editors and Admins can select Policies → Infer policy from document, upload one UTF-8 .md/.txt file or paste text, then review the suggested instructions and their exact source excerpts. Edit or deselect proposals before choosing Save and activate. Generation saves nothing; each selected Policy becomes active only after its save succeeds. Backend clients use POST /v1/policies/infer with the same bank Bearer key. Send document text as JSON, not a multipart upload or a file URL:
HTTP 200 returns { "policies": [{ "text": "...", "source_excerpt": "..." }] }. An empty policies array is valid. Each excerpt is an exact substring of the submitted text. Excerpts support review; they do not prove that all conditions, exceptions or sections of the document were preserved. Check coverage and wording before activation. Generation does not add the document or proposals to the bank’s Policy or Memory stores.

Document to reviewed Policy to decision

Use a bank reserved for testing, or coordinate changes with its workspace owner. This fictional provider-line example evaluates a proposed action or response. It does not perform the action or deliver the response. The commands use Bash, curl with --fail-with-body support, jq and uuidgen. Set RT_API and RT_BANK_KEY as described in Call from your application.
1

Submit document text

Save your Markdown/text document as provider-policy.md. You can also create a text file from pasted content:
Reading a file and pasting text produce the same document.text field. This endpoint does not require an Idempotency-Key. Do not add automatic generation retries after a timeout; no Policy was saved by generation.
2

Review proposals against the source

Display each proposal with its index and exact excerpt:
Check the patient-switch conditions, provider verification, member reset, and vendor-denial exception against your document. Proposal order and how instructions are split can vary. If no suitable proposal is returned, edit a Policy manually rather than treating an empty result as approval.
3

Explicitly save and activate a selected instruction

After review, choose one proposal index and a new lowercase Policy ID:
Edit reviewed-policy.json if the instruction needs correction. Confirm its text and active: true, then save it:
expected_version: 0 creates a new Policy at version 1. If that ID already exists, read its current version before editing; do not overwrite it with a guessed version. Repeat this deliberate review/save for each relevant instruction, using a distinct ID. Activate the vendor-denial instruction too before using the response example below.
4

Evaluate the proposed action or response

Save one of these request bodies as review-request.json. The question identifies what to judge; context contains the candidate and the preceding conversation/state. Use actual trusted state and lookup results in your integration, and distinguish a proposed transition from an observed effect.
Send the request with a new UUID:
Check the actual choice and the relevant saved Policy IDs/versions in evidence.presented_policies. These fixtures are intended to satisfy their corresponding instructions, but a generated suggestion or one decision does not establish complete policy coverage or accuracy. For your use case, test incorrect and missing-context variants too. Including insufficient_evidence makes it available as a choice; define when to use it in your reviewed policies if abstention is required.

Correct a response

In Test, select Correct this answer below the result, pick the Correct choice, add an optional Comment and select Submit. The app saves it as a sourced correction with an observation time. It can inform future decisions without changing the original response or its Decision context. The API supports either a vote or a sourced correction. For an incorrect result with a source, use the returned decision_id and generate a UUID once for the feedback operation:
A sourced correction returns HTTP 202 and retained ingestion metadata. A vote omits both correction and source, uses rating: correct or incorrect, and returns HTTP 201 without adding memory. Only completed decisions in the same bank accept feedback. Corrections retain attribution; they do not change policies or model weights.

Endpoint reference

All routes below use the bank’s Bearer Connection key. The key selects the bank; requests cannot supply another bank or workspace.

Retries, limits and errors

Keep the original UUID and request body when retrying an uncertain decision, memory addition or feedback submission. Changed content under the same UUID returns 409 IDEMPOTENCY_CONFLICT. A pending decision retry returns 409 REQUEST_IN_PROGRESS; a failed decision retry returns its saved error. A new UUID requests a new decision. Exact replay of a completed response is disabled by default: 409 RESULT_NOT_REPLAYABLE can confirm completion without returning the original result or calling the model again. See Memory and replay for the separate opt-in cache. Decision and memory HTTP bodies are limited to 64 KiB; policy bodies to 32 KiB. Memory additions and recall share 30 requests/minute/bank per server instance; memory reads and ingestion checks share 120/minute/bank. Policy writes allow 30/minute/bank and reads 120/minute/bank per instance. For HTTP 429, honor Retry-After when supplied. Within each server process, browser and API inference requests share three calls/minute/bank and two simultaneous calls/bank, including replacement keys. Each process admits eight concurrent generations across all banks; the public route also limits each IP to 120 requests/minute. The generation deadline is 45 seconds; it does not retry automatically. Inference responses use Cache-Control: no-store. Save and activation are separate operations. Decisions still have to fit their prepared-context byte budget; the higher active Policy count does not increase that budget. Inference rejects malformed documents and caller-supplied bank/workspace selectors with 400 INVALID_REQUEST; JSON parser overflow returns 413 PAYLOAD_TOO_LARGE. Provider details and document contents are omitted from its error responses. A successful decision can return memory.status: not_queued with BANK_QUEUE_FULL when fewer than two queue slots are free. Otherwise its response keeps the compatibility value memory.status: pending, while the associated ingestions are already retained on commit. Check the returned ingestion IDs when memory status matters. Request IDs, key replacement and retries do not make your application’s business effects idempotent. Implement that behavior at the effect itself. Read Privacy & capture for the retained content and how to delete a memory entry.