Memos

•
2
•

Builds a structural index of codebases for AI agents to query definitions, callers, and callees instead of plain text.

Memos serves as a foundational layer for AI coding agents, constructing a comprehensive structural index of codebases. It parses programming languages such as TypeScript, TSX, Go, and Python using tree-sitter, storing symbols, call edges, and imports in an SQLite database. This intelligent indexing empowers AI agents to move beyond basic text searches, enabling sophisticated structural queries to understand code relationships, identify dependencies, and maintain persistent memory through agent-specific notes and episodic learning. It offers both a command-line interface, an HTTP API, and an MCP server for seamless integration with AI agent workflows.

Key Features

01Multi-language support (TypeScript, TSX, Go, Python)
02Integrated HTTP API for programmatic queries
03MCP server with a rich set of tools for AI agents
04Structural code indexing (symbols, call edges, imports)
05Semantic search and persistent episodic memory for agents
060 GitHub stars

Use Cases

01Providing AI coding agents with deep structural code understanding
02Enabling AI agents to query code definitions, callers, and callees programmatically
03Maintaining persistent memory and decision-making for AI agents across sessions