🔧 Công cụ lập trình•Mã nguồn mở•

Engram

Hệ thống memory bền vững cho coding agents, viết bằng Go, dùng SQLite + FTS5, có MCP server, HTTP API, CLI và TUI. Single binary, zero dependencies.

#engram
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 7,853
Ngôn ngữ
Go
License
MIT
Ngày thêm
2026-03-28
Tóm tắt từ README GitHub
Engram™ Persistent memory for AI coding agents. Website • Quickstart • Docs • Candidate staging • Gentle-AI • Wiki engram /ˈen.ɡræm/ — neuroscience : the physical trace of a memory in the brain. Your AI coding agent forgets everything when the session ends. Engram gives it a brain. One brain. Local or cloud. Agent-agnostic, single binary, zero dependencies. If Engram saved you from re-explaining your project, a star helps other people find it. WORKS WITH THE AGENT YOU ALREADY HAVE Claude Code · Pi · OpenCode · Gemini CLI · Codex · Antigravity · Windsurf Qwen Code · Kiro · Cursor · VS Code (Copilot) · Kilo Code · Kimi Code · CommandCode 14 setup targets · plus any MCP-compatible agent · per-agent setup → Features --- One binary — Memory without a stack Codex mutating Engram tools require the running core's response to advertise before resolving the host session. alone is not sufficient. If the core is incompatible, upgrade it to match the CLI, manually restart the running Engram server, and start a new Codex session. Hooks never restart the server automatically. Unregistered sessions and connection or invalid-response failures
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

Engram là một Go binary đơn lẻ cung cấp persistent memory cho coding agents. Khi session kết thúc, agent quên hết. Engram giữ lại context qua SQLite + FTS5 full-text search, truy cập được qua 4 interface: CLI, HTTP API, MCP server (stdio) và TUI tương tác.

Tính năng chính

  • 12 MCP tools: mem_save, mem_search, mem_update, mem_delete, mem_session_summary, mem_timeline, mem_context, mem_stats, mem_suggest_topic_key, mem_get_observation, mem_save_prompt, mem_session_context
  • Setup tự động cho 7+ agents: Claude Code (plugin marketplace), OpenCode, Gemini CLI, Codex, VS Code, Cursor, Windsurf
  • TUI dashboard với 4 view: dashboard, detail, recent, search
  • Sync giữa nhiều máy qua JWT auth + PostgreSQL (tùy chọn)
  • Homebrew install trên macOS, binary download cho Linux/Windows

Stack kỹ thuật

Go 1.25, SQLite (modernc.org/sqlite, pure Go), Bubbletea + Lipgloss (TUI), mcp-go v0.44 (MCP server), goreleaser cho CI/CD. Dependencies chính: charmbracelet/bubbletea, mark3labs/mcp-go, golang-jwt/jwt, lib/pq (PostgreSQL optional).

Điểm mạnh

  • Single binary, không cần Node.js, Python hay Docker
  • Agent-agnostic: một lệnh setup cho từng agent cụ thể
  • FTS5 cho full-text search nhanh trên memory entries
  • Có TUI để duyệt memory trực quan, không chỉ CLI
  • Test coverage: có unit test cho store, mcp, server, tui, setup, sync

Hạn chế

  • Sync multi-machine cần PostgreSQL riêng, không có built-in P2P
  • Memory schema cố định (title, type, What/Why/Where/Learned), chưa hỗ trợ custom fields
  • Chưa có web UI, chỉ TUI terminal

Phù hợp khi nào

Khi bạn dùng coding agents thường xuyên và muốn agent nhớ context giữa các session mà không cần setup phức tạp.

Engram | Atlas for AI