OpenCode
OpenCode, the open-source coding agent for the terminal, reads your rules and notes as it codes, and saves what it learns.
What changes
- Codes with your rules applied in every project
- Looks up past decisions before it changes something
- Saves what it learns where your other tools can see it
Set up
Add Alwen's address to opencode.json, as shown here.
In your terminal, run opencode mcp auth alwen. Your browser opens the Alwen page; click Allow.
{
"mcp": {
"alwen": { "type": "remote", "url": "https://api.alwen.ai/mcp" }
}
}What it reads and writes
Every write is a commit signed by OpenCode, so you can see what it added and undo it.
Reads
- Your rules and profile, once per session
- Notes that match what you're working on
Your vaultyou/alwen-vault
Writes
- What it learns, into inbox/opencode/ for the tidy-up to file
- Decisions, straight into journal/
- Suggested rules, which wait for you to confirm
Works alongside
Config file
Plugin
Config file
Slack app
Cursor
Builds with your rules applied. Background agents can take work from Alwen.
Takes work from @alwenGrok Bot
Every bot on your roster shares the memory. Good for research Alwen asks for.
Takes work from @alwenClaude Code
Gets your rules as CLAUDE.md and builds what Alwen hands it.
Takes work from @alwenSlack
Mention @alwen to save a thought, find a decision, set reminders or hand off work.
Reads and writes the memory