Repository navigation
Description
Overview
Rippletide is a platform with three components relevant to Trinity:
- Eval — Test AI agent HTTP endpoints against Q&A pairs, detect hallucinations, get pass/fail reports
- Context Graph — MCP server that gives agents persistent cross-session memory (entities, facts, relations in a graph)
- Decision Runtime — Deterministic hypergraph-based reasoning engine for < 1% hallucination rate
Integration Options
Option A: Context Graph → Per-agent persistent memory (highest value)
Trinity explicitly positions "Persistent Memory" as a pillar of deep agency, but agents currently have no cross-session memory. Rippletide's Context Graph MCP server solves this.
How it would work:
- When creating a Trinity agent (or via a template), provision a Rippletide agent ID
- Add to the agent's
.mcp.json.template:"rippletide-memory": { "type": "url", "url": "https://mcp.rippletide.com/mcp?agentId=${RIPPLETIDE_AGENT_ID}" }
- Store
RIPPLETIDE_AGENT_IDin the agent's.envvia Trinity's existing credential system - Add the Rippletide memory system prompt to the agent's CLAUDE.md / system prompt
What agents gain: remember, recall, relate, get_context, invalidate, list_entities, switch_agent tools called automatically by Claude.
Each agent gets an isolated context graph. The switch_agent tool supports multi-agent memory sharing.
Self-hosting option: Deploy Rippletide's graph backend as an additional service in Trinity's docker-compose.yml for data privacy and no external dependency.
Option B: Eval → Agent testing (zero friction)
Trinity's chat endpoint POST /api/agents/{name}/chat with {"message": "..."} → {"response": "..."} is already compatible with Rippletide's CLI via custom body/response-field flags:
rippletide eval \
-a http://localhost:8000/api/agents/my-agent/chat \
-H "Authorization: Bearer TOKEN" \
-B '{"message": "{question}"}' \
-rf "response"No code changes needed — works today. Deeper integration: add an "Eval" tab in the Agent Detail view that accepts a qanda.json and shows per-question pass/fail results with hallucination detection. Useful for agent QA before promotion to production.
Option C: Decision Runtime → Niche, high complexity
Requires restructuring agent knowledge into hypergraph nodes (Q&A pairs + tags + actions + state predicates) and routing chat through Rippletide's reasoning engine. Only applicable to deterministic customer-facing bots. Not recommended as a general Trinity feature.
Effort / Value Matrix
| Component | Effort | Value | Recommendation |
|---|---|---|---|
| Context Graph | Low–Medium | High — persistent agent memory | Start here |
| Eval | Very low | Medium — agent QA/CI | CLI works now; UI integration is additive |
| Decision Runtime | High | Low (narrow use case) | Skip for now |
Acceptance Criteria
Context Graph (Option A):
- Agent template supports optional
RIPPLETIDE_AGENT_IDcredential -
.mcp.json.templateincludes Rippletide MCP entry when credential is set - Memory system prompt injected into agent system prompt
- Documentation updated for enabling persistent memory on an agent
Eval (Option B — UI integration):
- Agent Detail page includes an "Eval" tab
- User can upload or paste a
qanda.jsonQ&A set - Evaluation runs against the agent's
/chatendpoint via Rippletide API - Results shown per question with pass/fail label and justification
References
- Rippletide repo: https://github.com/rippletideco/rippletide
- Context Graph MCP docs: https://docs.rippletide.com/docs/mcp/overview
- MCP tools reference: https://docs.rippletide.com/docs/mcp/tools
- Eval overview: https://docs.rippletide.com/docs/evaluation_overview
Activity
[-]feat: Integrate Rippletide for agent evaluation and persistent memory[/-][+]spike: Rippletide integration for agent evaluation and persistent memory[/+]vybe commentedon Apr 4, 2026
Closing — vendor-specific spike (Rippletide) with no activity. Can be reopened if the integration becomes relevant again.