All issues and pull requests must comply with the AI Usage Policy. Disclose every AI tool used and ensure a human has reviewed, verified, and understands the complete submission. Noncompliant contributions are automatically closed unless the author is a trusted contributor or Letta maintainer.
Fork the repository on GitHub by clicking this link, then clone your fork:
git clone https://github.com/your-username/letta-code.git
cd letta-codeRequirements:
- Bun v1.2.20+ (run
bun upgradeif needed; older versions have TUI input issues)
# install deps
bun install
# run the CLI from TypeScript sources (pick up changes immediately)
bun run dev
bun run dev -- -p "Hello world" # example with args# build bin/letta (includes prompts + schemas)
bun run build
# expose the binary globally (adjust to your preference)
bun link
# now you can run the compiled CLI
lettaWhenever you change source files, rerun bun run build before using the linked letta binary so it picks up your edits.