Commit Graph

20 Commits

Author SHA1 Message Date
Charles Packer
b6ffe5ea91 feat: expose skill source and sleeptime controls in SDK (#43) 2026-02-16 23:22:52 -08:00
Charles Packer
1520c5ab34 test: sdk headless skills reminder contract (#41) 2026-02-16 19:33:06 -08: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
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
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
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
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
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
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
christinatong01
69513ff966 allow new convo creation on createSession 2026-01-27 14:23:16 -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