docs: update README (#209)
This commit is contained in:
26
README.md
26
README.md
@@ -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.
|
[](https://www.npmjs.com/package/@letta-ai/letta-code) [](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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user