本地优先运行
在终端内完成主要协作流程,更贴近开发者的日常工作环境。
Memo CLI
Memo Code 是一个开源的终端编码代理,能够理解项目上下文,并通过自然语言协助你更快完成编码、排障和日常开发任务。
INSTALL
npm install -g @memo-code/memo在终端内完成主要协作流程,更贴近开发者的日常工作环境。
通过自然语言驱动读取、搜索、修改与命令执行等常见编码任务。
面对多文件或多步骤场景时,可更高效地推进整体任务流程。
关键操作支持确认与控制,让自动化效率和执行安全保持平衡。
支持连接外部工具与服务,按团队需求逐步扩展能力边界。
保留项目语境并支持持续迭代,减少重复沟通和上下文重建。
Quick Start
安装
npm install -g @memo-code/memo推荐先用 npm 方式全局安装。
配置
export DEEPSEEK_API_KEY=your_key或使用 OPENAI_API_KEY。
启动
memo进入交互模式开始使用。
Documentation Modules
Basics
Getting Started
Memo Code is a lightweight coding agent that runs in your terminal and assists coding workflows through natural language.
Basics
CLI / TUI Usage
Memo has two primary usage modes: interactive TUI (default) and one shot mode ( once).
Capabilities
Configuration (Provider / Config)
Memo uses config.toml to manage providers, models, MCP servers, and other runtime settings.
Capabilities
Tools (Built-in Tool Overview)
Memo has a built in toolset and also supports external tools via MCP. In most cases, you do not need to call tools manually. Just describe your goal clearly and explicitly specify which files should be read or changed.
Capabilities
Tool Approval and Safety
Memo enables tool approval by default. When the model tries potentially risky actions (file writes, command execution, etc.), Memo asks for permission first.
Capabilities
MCP Extensions (External Tools/Services)
MCP (Model Context Protocol) lets Memo connect external tool servers and expose additional capabilities to the model (for example internal knowledge base, ticket systems, browser automation).
Operations
Sessions and Logs (History / Sessions)
Memo writes session activity as a local JSONL event stream for context resume, debugging, and review.
Operations
Long-term Memory
Memo can store user preferences/profile info in a local memory file and inject it into future system prompts for more consistent behavior.
Operations
Troubleshooting
Symptom: startup/runtime reports Missing env var ....