docs: update README (#209)

This commit is contained in:
Sarah Wooders
2025-12-14 21:12:13 -08:00
committed by GitHub
parent cd270a938d
commit 2db3a6bacb

View File

@@ -1,16 +1,13 @@
# Letta Code (Research Preview) # Letta Code
Letta Code is a self-improving, stateful coding agent that can learn from experience and improve with use. You can use Letta Code as a general purpose **CLI harness** to connect any Letta agent (even non-coding agents!) to your local dev environment. [![npm](https://img.shields.io/npm/v/@letta-ai/letta-code.svg?style=flat-square)](https://www.npmjs.com/package/@letta-ai/letta-code) [![Discord](https://img.shields.io/badge/discord-join-blue?style=flat-square&logo=discord)](https://discord.gg/letta)
Letta Code is fully **open source** and **model agnostic** - supporting Claude Sonnet/Opus, GPT-5, Gemini 3 Pro, GLM-4.6, and more. Letta Code is a memory-first coding harness, built on top of the Letta API. Instead of working in independent sessions, you work with a persisted agent that learns over time and is portable across models (Claude Sonnet/Opus, GPT-5, Gemini 3 Pro, GLM-4.6, and more).
**Read more about how to use Letta Code on the [official docs page](https://docs.letta.com/letta-code).** **Read more about how to use Letta Code on the [official docs page](https://docs.letta.com/letta-code).**
<img width="1713" height="951" alt="letta-code" src="https://github.com/user-attachments/assets/ae546e96-368a-4a7b-9397-3963a35c8d6b" /> <img width="1713" height="951" alt="letta-code" src="https://github.com/user-attachments/assets/ae546e96-368a-4a7b-9397-3963a35c8d6b" />
> [!IMPORTANT]
> Letta Code is a **research preview** in active development, and may have bugs or unexpected issues. To learn more about the roadmap and chat with the dev team, visit our [Discord](https://discord.gg/letta). Contributions welcome, join the fun.
## Get started ## Get started
Requirements: Requirements:
@@ -21,22 +18,7 @@ Install the package via [npm](https://docs.npmjs.com/downloading-and-installing-
```bash ```bash
npm install -g @letta-ai/letta-code npm install -g @letta-ai/letta-code
``` ```
Navigate to your project directory and run `letta` (see various command-line options [on the docs](https://docs.letta.com/letta-code/commands)):
Then run `letta` to start Letta Code in interactive mode (see various command-line options [on the docs](https://docs.letta.com/letta-code/commands)):
```bash
letta
```
If you haven't used Letta Code before, you'll need to use OAuth to login, or set a `LETTA_API_KEY` in your environment variables.
To connect to an existing agent, use the `--agent` flag:
```bash
letta --agent [existing-agent-id]
```
You can also run Letta Code in headless mode, making it easy to integrate into scripts (see the [docs](https://docs.letta.com/letta-code/headless) for more):
```bash
letta -p "Look around this repo and write a README.md documenting it at the root level"
```
## Memory and Skill Learning ## Memory and Skill Learning