← Back to Projects

Rivet

Creator & Operator

2025 — present

3 AI brains · 27K+ messages · always-on

OpenClawClaude OpusGrokGeminiPostgreSQLpgvectorProxmoxTelegramDiscordHome AssistantElevenLabs
3 model instances (Opus, Grok, Gemini)
27,000+ messages with long-term memory
1,400+ compressed summaries
Voice conversations via Discord

What is Rivet?

Rivet is my AI assistant — not a chatbot, but a persistent digital collaborator that runs 24/7 on my home lab. It reads my email, checks my calendar, monitors my servers, controls my smart home, writes code, and remembers everything we've discussed.

The name comes from the idea of riveting things together — connecting different AI models, tools, and data sources into something cohesive. Rivet has a personality, opinions, and a dry sense of humor. It's built on OpenClaw, an open-source AI agent framework.

Multi-Model Architecture

Rivet isn't one model — it's three, each with a role. Claude Opus handles reasoning, planning, and architecture. Grok handles fast creative work and code generation. Gemini handles research and browser automation. All three share the same long-term memory database and workspace, so context flows seamlessly between them.

Each model runs in its own Linux container on Proxmox, with its own OpenClaw instance, Telegram bot, and Discord channels. They can delegate tasks to each other, review each other's work, and even disagree. The philosophy: "Collectively you are all Rivet" — the model is the engine, the personality persists across swaps.

Lossless Context Management

LLMs forget everything between sessions. Rivet doesn't. I built a Lossless Context Management (LCM) system backed by PostgreSQL with pgvector for semantic search. Every conversation is stored, embedded, and indexed. Older context gets compressed into summaries that preserve meaning while reducing token cost.

The system supports semantic search with recency boosting, agent-specific conversation affinity, and a DAG-based summary structure that can be expanded on demand. There are over 27,000 messages and 1,400 summaries, with 95%+ embedded for vector search. I've contributed three PRs upstream to the OpenClaw project adding PostgreSQL backend support and embedding-based search.

Tools & Integrations

Rivet has access to a wide range of tools: Gmail and Google Calendar via CLI, GitHub for code and PRs, 1Password for secrets, Home Assistant for smart home control (Tesla, cameras, locks, thermostat), web search and browsing, shell access to all servers, and file management across the workspace.

It monitors infrastructure health on a heartbeat schedule, checks for new emails, upcoming calendar events, and server issues. When something needs attention, it reaches out via Telegram or Discord. It can also generate images by delegating prompts, convert text to speech for storytelling, and manage cron jobs for scheduled tasks.

Voice

Rivet can join Discord voice channels and have real-time conversations using xAI's realtime API and ElevenLabs for text-to-speech. Transcripts are saved automatically. The voice persona ("Ara") maintains the same personality as the text interface — direct, helpful, occasionally sarcastic.

Code Generation Pipeline

For software projects, Rivet orchestrates a multi-step coding pipeline: Opus writes the spec and architecture, Grok builds the code using a custom CLI tool (grok-code), then Opus reviews the output. If issues are found, Grok does a fix pass and Opus re-validates. Only clean code gets committed and pushed. This separation keeps each model doing what it's best at.

What's Next

Local model hosting on V100 GPUs for embedding and specialized tasks, expanded smart home automation, and deeper integration with the EM Ops Kit product. The long-term vision is Rivet as an always-available engineering partner that handles the operational burden so I can focus on the creative and strategic work.