Commit Graph

18 Commits

Author SHA1 Message Date
Kian Jones
f5c4ab50f4 chore: add ty + pre-commit hook and repeal even more ruff rules (#9504)
* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import

* remove all ignores, add FastAPI rules and Ruff rules

* add ty and precommit

* ruff stuff

* ty check fixes

* ty check fixes pt 2

* error on invalid
2026-02-24 10:55:11 -08:00
Kian Jones
25d54dd896 chore: enable F821, F401, W293 (#9503)
* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import
2026-02-24 10:55:08 -08:00
Cameron Pfiffer
4a86bf6e4c docs: Improve examples page (#5442)
* Fix VoiceAgent to use run_manager instead of job_manager

VoiceAgent.__init__() was incorrectly using job_manager parameter
when ToolExecutionManager expects run_manager. This was causing
the error: "VoiceAgent.__init__() got an unexpected keyword
argument 'run_manager'".

Changes:
- Update VoiceAgent to accept and use run_manager instead of job_manager
- Update VoiceSleeptimeAgent to accept run_manager parameter
- Update imports to use RunManager instead of JobManager
- Pass run_manager to ToolExecutionManager in VoiceAgent._execute_tool

* docs: Add new examples to documentation

- Introduced "Your First Agent" example to guide users in creating a Letta agent and understanding its memory capabilities.
- Added "Attaching and Detaching Memory Blocks" example to demonstrate dynamic memory management for agents.
- Updated navigation in docs.yml to include links to the new examples.

These additions enhance the learning resources available for users working with Letta agents.
2025-10-24 15:12:11 -07:00
cthomas
28da313442 chore: deprecate orm enum file (#3724) 2025-08-04 11:59:55 -07:00
Matthew Zhou
25086518cd feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
Charles Packer
d81382b9fe refactor: revert the default summarizer to the old style (#3168) 2025-07-06 20:15:22 -07:00
cthomas
893ccf210e fix: agent loop type mismatch (#2924) 2025-06-19 16:35:38 -07:00
cthomas
97986b0f03 feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00
cthomas
883050e761 feat: set request heartbeat for max steps (#2739) 2025-06-10 15:26:07 -07:00
Sarah Wooders
953ed5a610 feat: add include_return_message_types to LettaRequest to filter down requests (#2666) 2025-06-06 15:48:27 -07:00
Andy Li
80f6e97ca9 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Sarah Wooders
fe829a71bf feat: add performance tracing to new agent loop (#2534) 2025-05-30 12:49:46 -07:00
Andy Li
831b7d5862 chore: cleanup (#2480) 2025-05-29 10:40:41 -07:00
Sarah Wooders
34df96bf2c feat: add MCP servers into a table and MCP tool execution to new agent loop (#2323)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-05-23 16:22:16 -07:00
Sarah Wooders
935b476dcd feat: add usage tracking for new agent loop + filter out role=user messages in response (#2175) 2025-05-14 13:08:27 -07:00
cthomas
86b8216adf feat: stream tool return in async loop (#2172) 2025-05-13 22:36:56 -07:00
Matthew Zhou
daa30d6662 feat: Move sleeptime voice agent to new agent loop (#1979) 2025-05-01 20:48:33 -07:00
Matthew Zhou
84f2b2107e feat: Adjust ephemeral memory agent to become persisted sleeptime agent (#1943) 2025-04-30 11:14:19 -07:00