Palate — Open Taste Engine
Your coding taste, learned — not configured. Palate watches how you edit, correct, and state preferences, then injects that taste back into your AI harness so you don't have to repeat yourself. Open, local-first, harness-agnostic.

Why Palate
Harness-native "taste" (like Command Code's closed one) works because the harness is the learner — it sees every accept/reject. A portable taste engine can't. Palate's trick is to learn only from what any harness can actually observe — your edits, your diffs, your explicit prefer/correct — score each preference with a confidence that decays and reinforces over time, and push it back via a prewarm block so the agent doesn't have to remember to ask.
- Single Go binary. No CGO. SQLite-only.
modernc.org/sqlite + FTS5 + JSON+cosine (and sqlite-vec behind a build tag when you want it).
- Observable signals only:
model_edit, user_correction, stated_preference, explicit_prefer/reject/accept, llm_distilled — no invented accept/reject primitive. The old user_diff (w=0.6 hypothesis) verbatim file-diff path is retired: it stored added lines as prefers: <code> and poisoned the store (53 rows bulk-retired 2026-09-15); the same edits are covered by the LLM distiller via the transcript.
- Your LLM gateway is the taste brain. With
PALATE_LLM_* set, the model judges every write — explicit and distilled — against the profile plus the best full-text matches outside it (wording, category, confidence, and whether it is new / the same / a refinement / a contradiction of what is stored, so a paraphrase reinforces the row instead of becoming a second bullet), distills transcripts, journals and git, and runs a batched dream pass over the profile and its candidates (palate consolidate, alias palate dream: merge, rewrite, rescore, retire — review mode files proposals; a failed or skipped pass is reported at your next session or prompt, never silent). Without a gateway the built-in heuristics run exactly as before.
- Push prewarm: SessionStart injects your profile — a code-budgeted subset of what Palate has learned (2 000 estimated tokens by default), the same lines as
TASTE.md, grouped by category — once per session, with no further cut. A row is in it when you stated it or it was seen in two sessions; everything else stays in the ledger as a candidate (palate taste --cut lists them with the reason). There is no per-prompt goal block unless you set token_budgets.prewarm_goal above 0. Each time rows enter or leave the profile, the next prompt announces it (palate: since your last prompt — profile +1 −0; ledger: learned 1 …) and hands the model the rows that entered as a <palate-learned> block, so a preference learned at the previous turn applies from the next — Command Code's inline "taste learned" notices. An empty profile says so and that it fills itself in. What you can review is exactly what the agent gets (Command Code parity).
- One durable home, every harness.
~/.claude/palate/ (override PALATE_HOME) holds the store for Claude Code, Codex, Command Code, ZCode and Cline alike — same placement as skill-concierge. A repo that still has ./.palate/palate.db keeps that legacy layout by detection.
- TASTE.md is a render of the profile, kept current — and you can edit it. The
events log in palate.db is the source of truth; TASTE.md beside it is re-rendered after every write (hooks, CLI, MCP, distiller), one - statement. Confidence: 0.xx line per row (source and trust tier stay in the DB), so you can review what Palate learned without opening SQLite. A line you add or reword is read back as your own stated taste; a line you delete is forgotten softly and palate restore <id> brings it back (format and safety holds). palate push exports a git-shareable copy into the repo.
Install as a plugin
Claude Code and Codex both install Palate as a single plugin — manifests,
hooks, MCP server, the palate skill, and /palate:learn / /palate:taste
all come from this repo, no manual wiring:
# Claude Code
/plugin marketplace add thinhkhuat/palate
/plugin install palate@palate
# Codex
codex plugin marketplace add thinhkhuat/palate
codex plugin add palate@palate