# Install letta-code with Homebrew, winget

Memory-first coding agent. Version 0.27.27 via Homebrew; verified 2026-07-08.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/letta-code>
- **Version:** 0.27.27
- **Source summary:** Memory-first coding agent
- **Homepage:** <https://docs.letta.com/letta-code>
- **Repository:** <https://github.com/letta-ai/letta-code>
- **Upstream docs:** <https://docs.letta.com/letta-code>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/@letta-ai/letta-code/-/letta-code-0.27.27.tgz>
- **Last updated:** 2026-07-08T03:44:27Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- letta (cli)
- letta (alias)

## Dependencies

- gettext
- glib
- node
- ripgrep
- vips

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.27.27
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://docs.letta.com/letta-code
- info: Release/tag comparison is only available for GitHub repositories.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** letta-code
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [ripgrep](https://www.automicvault.com/pkg/brew/ripgrep/) - Runtime dependency declared by Homebrew.
- [vips](https://www.automicvault.com/pkg/brew/vips/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mistral-vibe](https://www.automicvault.com/pkg/brew/mistral-vibe/) - Shares av.db curated category or tags: ai-coding-agent, cli, coding-agent, developer-tools.
- [opencode](https://www.automicvault.com/pkg/brew/opencode/) - Shares av.db curated category or tags: ai-coding-agent, cli, developer-tools.
- [beads](https://www.automicvault.com/pkg/brew/beads/) - Shares av.db curated category or tags: cli, coding-agent, developer-tools, memory.
- [hermes-agent](https://www.automicvault.com/pkg/brew/hermes-agent/) - Shares av.db curated category or tags: ai-agent, cli, developer-tools, memory.
- [kimi-cli](https://www.automicvault.com/pkg/brew/kimi-cli/) - Shares av.db curated category or tags: ai-agent, cli, coding-agent, developer-tools.
- [vtcode](https://www.automicvault.com/pkg/brew/vtcode/) - Shares av.db curated category or tags: ai-coding-agent, cli, developer-tools.
- [block-goose-cli](https://www.automicvault.com/pkg/brew/block-goose-cli/) - Shares av.db curated category or tags: ai-agent, cli, developer-tools.
- [cline](https://www.automicvault.com/pkg/brew/cline/) - Shares av.db curated category or tags: cli, coding-agent, developer-tools.
- [qwen-code](https://www.automicvault.com/pkg/brew/qwen-code/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, cli, code, coding, coding-agent.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
