Code with the current.

A local-first agentic coding companion. Local RAG, 20+ tools, permission gates, worktree isolation, and any LLM provider. Your code stays on your machine.

$curl -fsSL https://tide.codes/install | sh

Runs in your terminal · installs the latest release

100%
On-device
BYOK
Any provider
UNLIMITED
Sessions
The system

One desktop app. Engineered for agency.

Tide is built around a permission-gated orchestrator, a layered LLM router, and a memory subsystem that actually understands your repository. Every primitive is local-first and key-native.

BYOK

Bring your own keys

Connect OpenAI, Anthropic, Google, DeepSeek, Mistral, Ollama — or anything OpenAI-compatible. Keys live encrypted on your machine, never touch a server. Switch models mid-session; the router normalizes tool-calls, reasoning tokens, and usage across all of them.

Signature capability
Memory & RAG

Grounded in your codebase

A three-store memory system — working, semantic, episodic. Local ONNX embeddings index your repo; a cross-encoder reranker sharpens recall. Source code never leaves your machine for embedding.

Signature capability
Agentic loop

A real tool-calling loop

Not request/response — an iterative loop with parallel tool calls, retry, and compaction.

Git-native

Worktree isolation

Every session that mutates files does so in its own git worktree. Review the diff, then merge or discard.

Multi-model

Right model, right job

Main model per session; the router sends summarization, embeddings, and titles to cheaper operation-appropriate models.

MCP

Model Context Protocol

Mount any MCP server as a tool source. Your existing MCP tools drop straight in.

Local-first

No backend. Ever.

Config DB, vector index, session logs — all on disk. The app talks to providers directly.

And more

Bring any provider — your keys route to all of them

OpenAI
Anthropic
Google
DeepSeek
Mistral
xAI
Groq
Ollama
Together
OpenRouter
Memory & RAG

It remembers your codebase.

Three memory stores work in concert. When you ask a question, the orchestrator retrieves from semantic memory, reranks, and injects only the relevant slices — so the model answers about your code, not its training data.

Embeddings run on-device via local ONNX models

Source code never bulk-shipped to an embedding provider

Cross-encoder reranker sharpens recall precision

Vector index, session logs, config DB — all on disk

memory/recall.ts
query
"where do we handle auth token refresh?"
Working memory
live

The live session — recent turns, tool results, the active context window. Compacted as it grows.

Semantic memory
indexed

Your codebase, embedded locally. Vector recall surfaces the right files before the model replies.

Episodic memory
archived

Past sessions. The agent remembers what it tried, what worked, and what you preferred.

retrieved · reranked · injected
src/auth/refresh.ts:14  →  src/middleware/session.ts:42
Agentic loop

Not a chat. An agent.

Tide runs a real tool-calling loop — plan, call, observe, commit — with a permission gate you control. Parallel tool calls, retry with fallback, and automatic context compaction so long tasks stay coherent.

01

Plan

The orchestrator decomposes the task and selects tools.

02

Call

Parallel tool calls hit the executor — files, shell, git, MCP.

03

Observe

Results stream back; the loop reasons over them and iterates.

04

Commit

Changes land in an isolated worktree. You review the diff.

Configurable autonomy — per sessionyou decide
Ask
Confirm every action
Suggest
Propose, then act on approval
Auto
Execute within allow-lists
Full
Autonomous, logged, reversible
In practice

Ask once. It ships the change.

Read, edit, run, test, commit — all inside an isolated git worktree. Every action is logged and reversible. When the agent is done, you review a clean diff before anything touches your main branch.

  • Shell, files, git, and MCP as first-class tools
  • Parallel tool calls with structured retry
  • Reasoning tokens surfaced live (Claude, o-series, R1)
  • Real-time cost & usage accounting per turn
tide · session #4179 · auto
you
Available now · public beta

Take the wheel.

Tide is local-first, key-native, and yours. Install in one command — no account required.

$curl -fsSL https://tide.codes/install | sh

Runs in your terminal · installs the latest release

macOS · Windows · Linux · No account required