Charles Packer
9c9543029f
ci: enforce frozen lockfile and run unit tests ( #42 )
2026-02-16 19:17:55 -08:00
dependabot[bot]
193a3f244b
chore(deps): bump @letta-ai/letta-code from 0.15.0 to 0.15.1 ( #40 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-16 14:23:42 -08:00
github-actions[bot]
f434192cb8
chore: bump version to 0.0.7 [skip ci]
2026-02-16 22:23:17 +00:00
Sarah Wooders
c12c3392ff
feat: add memfs option to createAgent ( #39 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-02-15 18:34:55 -08:00
Christina Tong
9dbcb70186
feat: add tag support to createAgent ( #37 )
2026-02-13 20:11:30 -08:00
dependabot[bot]
12b1050953
chore(deps): bump @letta-ai/letta-code from 0.14.16 to 0.15.0 ( #35 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-13 16:24:35 -08:00
Charles Packer
33db9641e7
feat: background pump ( #34 )
...
Co-authored-by: Jason Carreira <4029756+jasoncarreira@users.noreply.github.com >
2026-02-10 19:15:05 -08:00
github-actions[bot]
6cbe132f8c
chore: bump version to 0.0.6 [skip ci]
2026-02-11 00:12:48 +00:00
Charles Packer
f61980e5f6
fix: align SDK permission-mode args with CLI behavior ( #33 )
2026-02-10 16:12:16 -08:00
Sarah Wooders
ee64be00ed
Add custom tools support
...
Add custom tools support
- Add AgentTool, AgentToolResult, AnyAgentTool types
- Add tools option to SessionOptions
- Add tool-helpers.ts with jsonResult, readStringParam, etc.
- Implement tool registration via register_external_tools control request
- Handle execute_external_tool requests in stream()
🐾 Generated with [Letta Code](https://letta.com )
2026-02-10 11:30:18 -08:00
Cameron
b0b82a2a3d
feat: expose stop_reason on SDKResultMessage ( #30 )
2026-02-10 10:13:56 -08:00
Cameron
2fff691f5b
feat: add DEBUG_SDK diagnostic logging for session and transport layers ( #29 )
...
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com >
Co-authored-by: Letta <noreply@letta.com >
2026-02-09 17:37:09 -08:00
Christina Tong
c23bf8ee0d
chore: add embedding model to createAgent ( #26 )
2026-02-06 16:18:48 -08:00
Christina Tong
7e9d19d420
Update README.md
2026-02-04 11:09:09 -08:00
Christina Tong
9d7206d27c
chore: update README based on new docs ( #23 )
2026-02-04 10:51:22 -08:00
github-actions[bot]
5dd6e464ff
chore: bump version to 0.0.5 [skip ci]
2026-02-04 01:57:56 +00:00
Christina Tong
5f37e513c8
fix: memory blocks config on createAgent ( #21 )
2026-02-03 16:44:05 -08:00
Christina Tong
4cb8af7be8
feat: refactor options types for createAgent and createSession ( #20 )
2026-02-03 15:27:32 -08:00
Cameron
fa4a6340e7
feat: add image support to send() ( #14 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-02-02 17:59:40 -08:00
cpacker
de14506f49
chore(release): enable autogenerated release notes
2026-01-31 15:50:46 -08:00
Charles Packer
be93940942
Update README.md
2026-01-31 15:32:28 -08:00
github-actions[bot]
2244f7d716
chore: bump version to 0.0.4 [skip ci]
2026-01-31 21:10:36 +00:00
Charles Packer
bb1d68e678
Update README.md
2026-01-31 13:09:13 -08:00
Christina Tong
74f4fb660d
update readme and examples ( #15 )
2026-01-30 17:25:18 -08:00
Christina Tong
0e657e5109
feat: add createAgent and refactor ( #13 )
2026-01-30 17:03:47 -08:00
Cameron
b26c8eadaa
fix: log CLI stderr and exit codes for debugging ( #11 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-01-30 12:13:29 -08:00
Cameron
361954edae
feat: add political focus group demo ( #12 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-01-30 11:42:20 -08:00
Cameron
f245a2120b
fix: check permissionMode in handleCanUseTool for bypassPermissions ( #10 )
...
Co-authored-by: Letta <noreply@letta.com >
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com >
Co-authored-by: Cameron <cpfiffer@users.noreply.github.com >
2026-01-30 08:11:19 -08:00
Christina Tong
c4c5106797
fix: updatedInput support and clean up types ( #6 )
2026-01-28 12:28:48 -08:00
github-actions[bot]
18467507e9
chore: bump version to 0.0.3 [skip ci]
2026-01-28 03:34:11 +00:00
Charles Packer
9ca5c04df0
fix: resolve CLI via package main export instead of subpath ( #5 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-01-27 19:33:45 -08:00
Cameron
98a01bc071
feat: add web chat UI example ( #3 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-01-27 19:29:10 -08:00
Cameron
05cf219daf
feat: add Letta Code GitHub Action ( #4 )
...
Co-authored-by: Letta <noreply@letta.com >
2026-01-27 19:28:48 -08:00
Charles Packer
7818bdb89f
Merge pull request #2 from letta-ai/chore/add-dependabot
...
chore: add dependabot config for letta-code updates
2026-01-27 16:55:43 -08:00
cpacker
d562f804e2
chore: add dependabot config for letta-code updates
...
Track @letta-ai/letta-code for daily version updates. Scoped to only
this dependency to avoid noise from other packages.
👾 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 16:53:32 -08:00
Cameron Pfiffer
de682b0e26
fix: update all examples to use stream() instead of receive()
...
- dungeon-master, economics-seminar, research-team all updated
- Also improved tool output display in dungeon-master
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 16:37:00 -08:00
Cameron Pfiffer
acf8aa70d3
fix: cleaner tool output - use toolName, dedupe consecutive calls
...
- Use correct field `toolName` instead of `name`
- Only show tool name when it changes (reduces spam)
- Remove [done] output for cleaner display
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 16:32:12 -08:00
Cameron Pfiffer
7ea9c03137
fix: save agent ID after first interaction
...
Agent ID is only available after initialization (first message sent),
so move the save logic to after the interaction completes.
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 16:19:20 -08:00
Cameron Pfiffer
aa6149c191
fix: update examples to use stream() and haiku model
...
- Change session.receive() to session.stream() (API change)
- Use 'haiku' model instead of 'sonnet' (more reliable)
- Clean up debug output
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 16:14:29 -08:00
Cameron Pfiffer
3b4811f035
feat: add basic utility examples with agent persistence
...
Three practical examples showing core SDK capabilities:
- **bug-fixer**: Find and fix bugs, remembers codebase patterns
- **release-notes**: Generate release notes from git commits
- **file-organizer**: Organize directories, learns preferences
Each example uses agent persistence (getOrCreateAgent pattern) so the
agent remembers context across sessions - the key Letta differentiator.
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 15:51:27 -08:00
Cameron Pfiffer
d5bbce6dec
feat: add multi-agent demo examples
...
Three demo examples showcasing multi-agent orchestration:
- **economics-seminar**: Hostile faculty panel debates AI economist presenter
- **research-team**: Coordinator, Researcher, Analyst, Writer collaboration
- **dungeon-master**: Persistent DM that creates its own game system
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
2026-01-27 15:13:19 -08:00
Christina Tong
72544cb7f5
Merge pull request #1 from letta-ai/christina/allow-convo-on-create
...
allow new convo creation on createSession
2026-01-27 14:33:01 -08:00
christinatong01
69513ff966
allow new convo creation on createSession
2026-01-27 14:23:16 -08:00
Charles Packer
6e68cacbe5
Update README.md
2026-01-27 12:55:29 -08:00
github-actions[bot]
e18b1f6304
chore: bump version to 0.0.2 [skip ci]
2026-01-27 20:34:11 +00:00
cpacker
56e960038e
fix: remove LETTA_CLI_PATH requirement from examples
...
SDK auto-detects CLI from installed @letta-ai/letta-code package.
👾 Generated with [Letta Code](https://letta.com )
2026-01-27 10:52:04 -08:00
cpacker
ee7cc92724
Initial release of Letta Code SDK
...
Programmatic control of Letta Code CLI with persistent agent memory.
Features:
- createSession() / resumeSession() / prompt() API
- resumeConversation() for multi-threaded conversations
- Multi-turn conversations with memory
- Tool execution (Bash, Read, Edit, etc.)
- System prompt and memory configuration
- Permission callbacks (canUseTool)
- Message streaming with typed events
👾 Generated with [Letta Code](https://letta.com )
2026-01-27 00:30:09 -08:00