🔧 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
⭐ 6,995
Ngôn ngữ
Go
License
MIT
Ngày thêm
2026-03-28
Tóm tắt từ README GitHub
Persistent memory for AI coding agents One brain. Local or cloud. Agent-agnostic, single binary, zero dependencies. Website • Gentle-AI • Gentle-AI Wiki Installation • Release Policy • Engram Cloud • Agent Setup • Codebase Guide • Architecture • Plugins • Team Usage • Contributing • Full Docs --- engram — 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. A Go binary with SQLite + FTS5 full-text search, exposed through CLI, HTTP API, MCP, and an interactive TUI. It works with any MCP-compatible agent, including Claude Code, OpenCode, Gemini CLI, Codex, VS Code (Copilot), Antigravity, Cursor, and Windsurf. No Node.js, Python, or Docker is required: one binary, one SQLite file. For agents Treat Engram as a curated project memory, not a transcript sink. Use this operating contract throughout the session. 1. Orient before writing. Start with to confirm the resolved project and its source. At the start of related work, use and to recover the relevant history. 2. Search before repeating. Before revisiting a decision
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