# Install letta-code with Homebrew, winget

Memory-first coding agent. Version 0.30.1 via Homebrew; verified 2026-08-03. Also installable with winget: winget install --id Letta.LettaCode -e.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Windows

- winget (92%):

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

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

## Package facts

- **Package key:** brew:letta-code
- **Package manager:** Homebrew
- **Version:** 0.30.1
- **Source summary:** Memory-first coding agent
- **Homepage:** <https://docs.letta.com/letta-code>
- **Last updated:** 2026-08-03T00:20:46Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- letta (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.30.1
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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/>


## Security Notes

No matching local secret-handling manifest was found for letta-code. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

- 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)


## Sources

- 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
