# 使用 Homebrew, winget 安装 letta-code

查看 letta-code 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:letta-code
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install letta-code
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Letta.LettaCode -e
```

  证据: Windows Package Manager source index: Letta.LettaCode from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:letta-code
- **软件包管理器:** Homebrew
- **版本:** 0.30.1
- **来源摘要:** Memory-first coding agent
- **主页:** <https://docs.letta.com/letta-code>
- **最后更新:** 2026-08-03T00:20:46Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- letta (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.30.1
## 项目历史与用法

Letta Code is a memory-first coding-agent CLI and harness from Letta. Its project story belongs to the post-2024 wave of terminal coding agents, with the differentiator that agent identity, memory, skills, and conversation history are treated as durable state rather than per-session context.

### 项目历史

The `letta-ai/letta-code` repository was created on October 25, 2025. Letta's product documentation presents the tool as the open-source Letta Agent harness for coding agents, desktop agents, personal agents, and more autonomous workflows.

Letta's launch material framed Letta Code as a response to stateless coding-agent sessions: instead of restarting from scratch, the same agent can learn project conventions through commands such as `/init`, `/remember`, and skill creation.

### 采用历史

Letta Code entered package-manager culture quickly for a young AI developer tool: this batch records Homebrew and winget package identifiers, while the official quickstart documents global npm installation with `npm install -g @letta-ai/letta-code` and execution through the `letta` command.

### 使用方式

The intended workflow is to start `letta` inside a project, connect model providers or coding plans, and let the agent inspect the codebase, retain memories, and resume future conversations. The docs also describe headless prompts, remote environments, subagents, skills, and memory-management commands.

### 为什么软件包爱好者会关心

For package nerds, Letta Code is notable less as a stable old Unix utility and more as a fast-moving example of AI tools becoming ordinary CLI packages. Its package metadata, npm install path, and Homebrew/winget entries show the distribution path for AI coding agents moving into the same channels as shells, editors, and build tools.

### 时间线

- 2025: The `letta-ai/letta-code` repository was created on October 25, 2025.
- 2026: Letta documentation described Letta Agent/Letta Code as an open-source, memory-first agent harness with CLI, desktop, and cloud setup paths.
- 2026: The Letta Code changelog documented active 0.x releases, including 0.27.11.

### Related projects

- Letta Code is part of the broader Letta/MemGPT lineage around long-term memory for agents. It is also positioned beside terminal coding agents such as Claude Code, Gemini CLI, and Codex CLI, while using npm, Homebrew, and winget as ordinary developer-tool distribution channels.

### 来源

- <https://api.github.com/repos/letta-ai/letta-code>
- <https://docs.letta.com/letta-agent>
- <https://docs.letta.com/letta-agent/changelog>
- <https://docs.letta.com/letta-agent/quickstart>
- <https://formulae.brew.sh/formula/letta-code>
- <https://github.com/letta-ai/letta-code>
- <https://www.letta.com/blog/letta-code/>


## 安全说明

没有找到 letta-code 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.letta/channels/<channel>/channel.json, ~/.letta/channels/<channel>/routing.yaml, ~/.letta/channels/<channel>/pairing.yaml

## Credential files

- Unix: ~/.letta/channels/<channel>/accounts.json
## 其他软件包管理器记录

- winget - Letta.LettaCode: normalized package name match | Windows Package Manager source index: Letta.LettaCode from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/letta-code.yml](https://github.com/mxcl/pkgdb/blob/main/combined/letta-code.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
