Instinct
Instinct for your agent or harness: one local memory of what worked, shared by every agent you use.
You fix your agent's mistake on Monday. On Tuesday a fresh session makes it again, and the other agent you use never heard about it.
Instinct gives all your agents one memory of what worked. Lessons live in a file on your machine. Before a decision, any agent that uses that file gets back the lesson that fits the situation, or nothing if none does. Lessons that keep getting marked wrong stop coming back.
It plugs into Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode and more than 70 other agents through a skill, an MCP server, hooks or a few lines in AGENTS.md. It runs offline, needs no API key, and the engine has no third-party dependencies.
Try it
With Rust 1.89 or later:
Recall prints the lesson, and an unrelated question prints nothing. A hit raises the lesson's strength, and after repeated misses it stops being suggested. instinct demo runs a short offline story in a throwaway bank.
Run instinct guide list for decision workflows and examples. Try instinct guide review --example spreadsheet to compare a real-world kind of mismatch, draft a lesson and prepare a handoff using sample data.
Connect an agent
- Any of 79 agents:
npx skills add koscak-labs/instinct --skill instinct, or print the skill withinstinct skill. - Any MCP client: run
instinct mcpover stdio withINSTINCT_STOREset. - Any agent with a shell: paste the short block from the README into
AGENTS.md. - Claude Code in one step:
/plugin marketplace add koscak-labs/instinct, then/plugin install instinct@koscak-labs.
Setup for each agent, the full command list and the limits are in the README.
Links
- Try the engine in your browser
- Source and issues
- Memory file versus Instinct bench
- Security
- MCP Registry name:
mcp-name: io.github.koscak-labs/instinct
Made by Filip Koščák at Koščák Labs. Licensed under Apache-2.0.
