Commit Graph

131 Commits

Author SHA1 Message Date
Kevin Lin
09d9c3ffd4 feat: anthropic tools for claude sonnet 4.5 (#4988)
* add anthropic memory tools

* memory view working

* update memory examples

* tools

* feat: some changes (#5003)

* feat: added the ability to modify and add descriptions on creation

* fix: kill dead code & write into core_tool_executor instead

* fix: use block_manager not agent_manager where possible, also turn the return string errors into raising exceptions

* fix: cleanup, get rid of more return string errors replaced with valueerror, also drop deadcode

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-10-07 17:50:47 -07:00
Sarah Wooders
4df0a27eb0 chore: remove sync db (#4873) 2025-10-07 17:50:45 -07:00
Kian Jones
b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c chore: officially migrate to submodule (#4502)
* remove apps/core and apps/fern

* fix precommit

* add submodule updates in workflows

* submodule

* remove core tests

* update core revision

* Add submodules: true to all GitHub workflows

- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* remove core-lint

* upgrade core with latest main of oss

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 12:45:53 -07:00
Charles Packer
388dd46ffc 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
415ae5a928 chore: Add more prompting around archival datetime (#4432)
Add more prompting around archival datetime
2025-09-04 15:31:49 -07:00
Matthew Zhou
dda4459245 feat: Make end date inclusive on conversation search (#4431)
Make end date inclusive
2025-09-04 15:26:49 -07:00
Matthew Zhou
d924cc005b 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
2af6049d6f 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
129dd97902 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
8f425aa024 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
0854ba0d01 feat: Support timestamp filtering for archival memories [LET-3469] (#4330)
Finish temporal filtering
2025-08-30 19:31:07 -07:00
Matthew Zhou
b1f2e8b2bc 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
fecf6decfb 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
d797296032 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
13d8eae9ef chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
jnjpng
5cf80df22c LET-4053: chore: clean up old mcp client code
fix(LET-4053): clean up old mcp client code

Remove commented-out and unused files in functions/mcp_client:
- Deleted base_client.py (fully commented out)
- Deleted sse_client.py (fully commented out)
- Deleted stdio_client.py (fully commented out)
- Deleted empty __init__.py

Kept types.py and exceptions.py as they contain active code still being used.
2025-08-26 14:14:09 -07:00
jnjpng
a5e84cc80b feat: generate strict-compatible schema for MCP tools with optional fields
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-25 22:08:59 -07:00
jnjpng
74029acb0d fix: mcp schema generation and non-strict schema validation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 15:45:33 -07:00
Matthew Zhou
c3eefbc3d6 fix: Fix 0 indexing for offset (#4086) 2025-08-21 14:29:51 -07:00
Charles Packer
eb00e49a37 fix: patch support for custom headers + auth in MCP connects (was getting a weird silent error)
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-21 13:42:19 -07:00
Sarah Wooders
112f22297e fix: move to static parsing for python docstrings (#3973) 2025-08-17 15:16:13 -07:00
Charles Packer
773a6452d1 fix: handle faulty schemas from bad mcp servers better
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-15 16:08:52 -07:00
Andy Li
e2e91c7260 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Sarah Wooders
f4740b1388 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Kevin Lin
18b036fa07 feat: add line number warning to memory_insert (#3829) 2025-08-08 13:47:13 -07:00
Sarah Wooders
bde4714294 chore: merge oss (#3712) 2025-08-07 22:20:26 -07:00
Matthew Zhou
6a713f9ae7 feat: Change grep to be paginated (#3815) 2025-08-07 16:50:05 -07:00
Sarah Wooders
f6f3abdeda fix: patch non-optional memory replace (#3803) 2025-08-07 13:51:12 -07:00
Matthew Zhou
10f6f1d247 feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
jnjpng
33868b1c10 fix: add logger for template variables for mcp
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-01 14:27:00 -07:00
Matthew Zhou
eacaa2b02a feat: Change defaults on web search tool (#3646) 2025-07-29 22:23:37 -07:00
jnjpng
04511d1ffc 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
695e935b55 feat: add error message in generate schema log (#3482) 2025-07-22 13:45:08 -07:00
Andy Li
04e9f43220 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
Kevin Lin
0ea6686510 feat: update system prompt with file and search instructions (#3298) 2025-07-14 11:20:55 -07:00
Kevin Lin
98b691a553 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
be1448e729 fix: Add comprehensive testing for tool creation paths (#3255) 2025-07-09 15:51:50 -07:00
Matthew Zhou
954675396f feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Matthew Zhou
243d3d040b feat: Add close all files functionality (#3139) 2025-07-02 14:27:38 -07:00
Matthew Zhou
e495fb2ef2 feat: Various file fixes and improvements (#3125) 2025-07-01 15:21:52 -07:00
Matthew Zhou
0bf797fab6 feat: Add back multi agent tools and protections for cloud (#3100) 2025-06-29 22:45:39 -07:00
Matthew Zhou
9bb80194fe feat: Rework and simplify files tooling (#3058) 2025-06-27 13:23:44 -07:00
Matthew Zhou
f25a262f42 fix: Remove async multiagent tool (#2994) 2025-06-24 15:17:45 -07:00
Matthew Zhou
e78e7d5897 feat: Add optional lines param to grep tool (#2914) 2025-06-20 13:36:54 -07:00
Matthew Zhou
d5d71a776a feat: Parallel web search tool (#2890) 2025-06-18 14:07:51 -07:00
Matthew Zhou
b7a2f38e01 feat: Port firecrawl search into web search (#2868) 2025-06-17 14:08:31 -07:00
Matthew Zhou
1133fed262 fix: Patch model dump issues on firecrawl (#2864) 2025-06-17 11:40:07 -07:00
Matthew Zhou
d991d37b04 feat: Add built in firecrawl search tool (#2858) 2025-06-17 01:16:39 -07:00
jnjpng
6efbc56e3b feat: add token column to mcp_servers and pipe through to sse server config (#2775)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-14 18:48:10 -07:00