Persistent Project Memory for OpenCode
OpenCode runs fast multi-agent loops in the terminal, but switching agents or restarting sessions resets conversation context. OpenLotus integrates natively via opencode.json and AGENTS.md so OpenCode agents share one live ProgressMap.
OpenLotus is an independent project memory and drift control layer for AI coding agents. It keeps your project's goals, decisions, rules, and progress in one place outside the chat window, so your AI never starts from zero or quietly drifts off-plan.
1. Native OpenCode setup via opencode.json
When opencode.json is present in your repository, npx openlotus pair detects OpenCode automatically and registers the local MCP entry under the mcp key while updating AGENTS.md with the Event -> Tool Trigger Matrix.
{
"mcp": {
"openlotus": {
"type": "local",
"command": ["npx", "-y", "openlotus", "agent"],
"enabled": true
}
}
}2. Multi-agent handoffs inside OpenCode
Teams using OpenCode often separate planning, building, verification, and triage agents. OpenLotus gives every subagent a single shared state channel: plans and constraints live in ProgressMap, active work is tracked via manage_tasks, and failed attempts are flagged via report_failure before another agent repeats them.
Common Questions
Does OpenLotus work with OpenCode's AGENTS.md convention?
Yes. OpenLotus detects opencode.json and AGENTS.md and writes the standing Event -> Tool Trigger Matrix directly into AGENTS.md.
Git remembers what changed. OpenLotus remembers why.
Give your AI coding tool a permanent project memory and catch drift before broken code piles up.