Commit Graph

112 Commits

Author SHA1 Message Date
Matthew Zhou
981d286fbe feat: Remove Turbopuffer mentions from semantic_search_files (#2843) 2025-09-11 14:54:14 -07:00
cthomas
636fb52d87 feat: make multi-agent tools use new agent loop (#2826) 2025-09-10 22:30:12 -07:00
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
Matthew Zhou
3a551f4bb7 feat: Add turbopuffer embedder by default [LET-4253] (#4476)
* Adapt to turbopuffer embedder

* Make turbopuffer search more efficient over all source ids

* Combine turbopuffer and pinecone hybrid

* Fix test sources
2025-09-08 18:46:41 -07:00
Charles Packer
9bbe7ecb3e feat: various performance patches for gpt-5 [LET-4157] (#4381)
* feat: increase the verbosity of the heartbeat kwarg

* chore: strip docstrings out from the file in which they are not parsed (duplicates inside base.py

* feat: add examples to the docstrings for memory_replace and memory_insert

* feat: add more examples
2025-09-06 11:23:13 -07:00
Matthew Zhou
2e3cabc080 feat: Add search messages endpoint [LET-4144] (#4434)
* Add search messages endpoint

* Run fern autogen and fix tests
2025-09-05 14:28:27 -07:00
Matthew Zhou
b8d403c962 feat: Add ranks to archival memory search [LET-4193] (#4426)
* Add ranks to archival memory search

* Fix test managers

* Fix archival memory test
2025-09-04 13:35:54 -07:00
Matthew Zhou
25d37e2ac9 fix: change to pure rank-based RRF for relevance ordering (#4411)
* Fix RRF

* Fix turbopuffer tests
2025-09-03 17:33:19 -07:00
Matthew Zhou
3126598720 feat: Change web search to exa [LET-4190] (#4401)
* Change web search to exa

* Fix tf/justfile

* add exa api key for integration test

* Mock exa

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-09-03 15:52:10 -07:00
Matthew Zhou
e6c9b4d708 feat: Add fetch webpage tool [LET-4188] (#4395)
* Add fetch webpage tool

* Use trafilatura for web extraction
2025-09-03 13:34:35 -07:00
Matthew Zhou
6dccc1961b feat: Add archival search endpoint [LET-4184] (#4390)
* Add archival search endpoint

* Run fern autogen

* Add de-dupe logic
2025-09-03 10:55:20 -07:00
Matthew Zhou
88831c7256 feat: Change namespace to be org scoped and filter on agent_id [LET-4163] (#4368)
* Change to org scoped and agent_id filtering

* Finish modifying conversation search tool

* Fix failing tests

* Get rid of bad imports
2025-09-03 10:00:19 -07:00
Matthew Zhou
8e2a53b956 feat: Modify conversation search tool to be hybrid (#4362)
* Modify conversation search functionality

* Gate the roles
2025-09-02 13:45:53 -07:00
Matthew Zhou
335e0c2be1 feat: Support timestamp filtering for archival memories [LET-3469] (#4330)
Finish temporal filtering
2025-08-30 19:31:07 -07:00
Matthew Zhou
23b2769dc4 feat: Allow agent archival tools to insert/search with tags [LET-4072] (#4300)
* Finish modifying archival memory tools

* Add tags

* Add disabled test
2025-08-29 11:55:06 -07:00
Kian Jones
ca6cfa5914 chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
Matthew Zhou
016feda83a feat: Support arbitrary string tagging filtering [LET-3467] (#4285)
* Finish tagging

* Add comprehensive tags functionality

* Add fern autogen

* Create passage tags table

* Add indices

* Add comments explaining dual storage

* Fix alembic heads

* Fix alembic

---------

Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-08-28 16:57:36 -07:00
Matthew Zhou
651671cb83 feat: Support basic upload/querying on tpuf [LET-3465] (#4255)
* wip implementing turbopuffer

* Move imports up

* Add type of archive

* Integrate turbopuffer functionality

* Debug turbopuffer tests failing

* Fix turbopuffer

* Run fern

* Fix multiple heads
2025-08-28 10:39:16 -07:00
Matthew Zhou
2fa546e15d chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
Sarah Wooders
3b7506557a fix: remove trace methods [LET-4059] (#4232)
remove trace methods
2025-08-26 20:47:09 -07:00
jnjpng
5d4509590e feat: add x-agent-id header for mcp tool execution
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 14:09:03 -07:00
jnjpng
1a15df668e fix: mcp client cleanup but finally
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 13:07:58 -07:00
Matthew Zhou
a4cd4a9487 fix: Fix 0 indexing for offset (#4086) 2025-08-21 14:29:51 -07:00
Andy Li
183c67c181 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Charles Packer
722828309c fix: reduce error levels to patch the sentry logging issue (#3835) 2025-08-08 22:15:10 -07:00
Matthew Zhou
637d2854e6 feat: Change grep to be paginated (#3815) 2025-08-07 16:50:05 -07:00
Sarah Wooders
1ec1bfe312 fix: patch non-optional memory replace (#3803) 2025-08-07 13:51:12 -07:00
Sarah Wooders
f02f55bec5 fix: dont have optional argument for memory_replace (#3800) 2025-08-07 10:18:47 -07:00
Matthew Zhou
609bcf84f2 feat: Add comprehensive error tracking to steps table (#3765) 2025-08-06 20:19:29 -07:00
cthomas
13c916afaa feat: offload jinja to threadpool LET-3615 (#3787) 2025-08-06 16:34:28 -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
Matthew Zhou
eb48d1849e feat: Fix builtin web search tests (#3680) 2025-07-31 13:49:11 -07:00
Sarah Wooders
405c8a7c55 fix: only import modal if there is a key (#3668) 2025-07-30 19:04:15 -07:00
Andy Li
277c26a58e feat: modal sandbox 2025-07-30 11:25:40 -07:00
Matthew Zhou
4ec47587a2 feat: More speedups to the web search tool (#3650) 2025-07-29 23:03:53 -07:00
Matthew Zhou
b94699e910 feat: Speed up web search (#3649) 2025-07-29 22:44:45 -07:00
Matthew Zhou
50014701be feat: Change defaults on web search tool (#3646) 2025-07-29 22:23:37 -07:00
Sarah Wooders
c4571c4ece chore: move around pgvector imports (#3609) 2025-07-29 17:12:00 -07:00
Matthew Zhou
b16f5ffc99 feat: Polishing open files tools (#3575)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shub@letta.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: cthomas <caren@letta.com>
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
Co-authored-by: Cameron Pfiffer <cameron@pfiffer.org>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
Co-authored-by: Kian Jones <kian@Kians-MacBook-Pro.local>
2025-07-29 15:46:51 -07:00
jnjpng
cf8c59aab9 feat: allow mcp authentication overrides per agent (#3318)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-28 18:20:58 -07:00
cthomas
f77a259d07 feat: asyncify jinja templates (#3580) 2025-07-26 23:17:24 -07:00
Matthew Zhou
29573e4d3f feat: Add per-agent file management controls with context-aware defaults (#3467) 2025-07-22 10:43:37 -07:00
Matthew Zhou
e68f563b03 feat: Add bulk source upsert mechanism (#3456) 2025-07-21 14:52:20 -07:00
Matthew Zhou
88f7018c9c feat: Add env var to control model within builtin web_search tool (#3417) 2025-07-18 16:45:59 -07:00
Andy Li
904d9ba5a2 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
Kevin Lin
f3645545e3 feat: remove persona/human from tool descriptions (#3250)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-07-10 21:45:00 -07:00
Matthew Zhou
c94b227a32 feat: Improve performance on files related data models (#3285) 2025-07-10 18:00:35 -07:00
Matthew Zhou
4c8e9af4bd feat: Add error on out of range for open_files (#3214) 2025-07-07 16:40:25 -07:00