How forgeprint/evomem works
Evomem is local-first memory infrastructure for coding agents: notes are ingested or added, stored locally, then searched and recalled through the CLI or MCP; agent suggestions remain proposals until a person reviews them. Its other documented capabilities include HTTP/webhook ingestion, audio transcription, organization and clusters, external-source connections, and one-way PostgreSQL sync. The graph includes these product branches, but sampled source is incomplete; dashed, uncited edges mark relationships that are documented only broadly or not verified in excerpts.
Main entry points: notes.go Note storage · main.go CLI · server.go HTTP API · tools.go Memory tools
Components 27
User entrypoints
- CLI
cmd/evomem/main.go - HTTP API
core/api/server.go - MCP server
core/mcp/server.go
Ingestion and enrichment
- Webhook adapters
core/api/adapters/telegram/telegram.go - Jira adapter
core/api/adapters/jira/jira.go - Audio intake
core/api/audio.go - Transcription
core/transcribe/run.go - AI organization
core/organize/run.go - Source connections
core/connect/connect.go - Jira source pull
core/connect/jira.go
Recall and review
- Memory tools
core/mcp/tools.go - Full-text search
shared/database/search.go - Proposal review
shared/database/proposals.go - Note clusters
shared/database/clusters.go
Memory and sync
- Note model
shared/models/note.go - Note storage
shared/database/notes.go - Audio files
shared/audio/audio.go - One-way sync
core/sync/sync.go - PostgreSQL transport
core/sync/postgres.go - Sync state
shared/database/sync.go - Archive thinning
cmd/evomem/archive.go
Other components
- Person
- Coding agent
- Automation sources
- Jira
- Telegram
- PostgreSQL mirror
Connections 37
- Person → CLI: runs commands
cmd/evomem/main.go - Coding agent → MCP server: uses tools
README.md - MCP server → Memory tools: dispatches tools
- Memory tools → Note storage: reads notes
core/mcp/tools.go - Memory tools → Full-text search: searches notes
- Memory tools → Proposal review: proposes notes
- Person → HTTP API: posts notes
README.md - Automation sources → HTTP API: sends content
README.md - HTTP API → Note storage: creates notes
- Jira → HTTP API: sends webhook
README.md - Telegram → HTTP API: sends webhook
README.md - HTTP API → Webhook adapters: routes webhooks
core/api/server.go - HTTP API → Jira adapter: routes webhooks
core/api/server.go - Webhook adapters → Note storage: stores notes
- Jira adapter → Note model: builds notes
core/api/adapters/jira/jira.go - Person → Audio intake: uploads recordings
- Audio intake → Audio files: stores recordings
core/api/audio.go - Audio files → Transcription: provides recordings
- Transcription → Note storage: creates notes
- CLI → AI organization: runs organization
- AI organization → Note storage: updates memory
- CLI → Note clusters: manages clusters
- CLI → Source connections: manages sources
cmd/evomem/main.go - Source connections → Jira source pull: pulls Jira issues
- Jira source pull → Note storage: returns notes
- Person → CLI: reviews proposals
README.md - CLI → Proposal review: accepts or rejects
- Proposal review → Note storage: acceptance creates note
- CLI → One-way sync: starts sync
README.md - One-way sync → Sync state: tracks cursors
core/sync/sync.go - One-way sync → PostgreSQL transport: pushes changes
core/sync/sync.go - PostgreSQL transport → PostgreSQL mirror: writes mirror
README.md - CLI → Archive thinning: archives notes
README.md - Archive thinning → Note storage: thins stored notes
cmd/evomem/archive.go - CLI → Note storage: adds and reads notes
cmd/evomem/main.go - Note storage → Note model: stores notes
shared/database/notes.go - Note storage → Full-text search: indexes notes