Commit graph

587 commits

Author SHA1 Message Date
CREDO23
eb4b570265 Wire main-agent async factory and export create_surfsense_deep_agent. 2026-05-01 23:18:10 +02:00
CREDO23
fc540e962b Add main-agent system prompt markdown and builder. 2026-05-01 23:17:55 +02:00
CREDO23
7a6c253711 Add main-agent graph compile and middleware stack. 2026-05-01 23:17:51 +02:00
CREDO23
083a9f7946 Add main-agent tool allowlist plus permission and prune helpers. 2026-05-01 23:17:46 +02:00
Anish Sarkar
25ccc959cf feat(busy_mutex): enhance thread lock management to prevent stale middleware interference 2026-05-02 01:35:30 +05:30
CREDO23
d9c873b2e1 Adjust supervisor routing integration for delegated routes. 2026-05-01 20:30:20 +02:00
CREDO23
dcc348d72a Add registry and factory for route subagent specs. 2026-05-01 20:30:20 +02:00
CREDO23
745bcec390 Add OneDrive, Slack, and Teams connector route slices. 2026-05-01 20:30:20 +02:00
CREDO23
6e54fb00e3 Add Linear, Luma, and Notion connector route slices. 2026-05-01 20:30:20 +02:00
CREDO23
96ab91b719 Add Gmail, Google Drive, and Jira connector route slices. 2026-05-01 20:30:20 +02:00
CREDO23
f24eb3496c Add Confluence, Discord, and Dropbox connector route slices. 2026-05-01 20:30:20 +02:00
CREDO23
4f0e84c6a3 Add Airtable, Calendar, and Clickup connector route slices. 2026-05-01 20:30:20 +02:00
CREDO23
ba57eae2bb Add builtin deliverables route slice for delegated agents. 2026-05-01 20:30:20 +02:00
CREDO23
ff307dd923 Add builtin memory route slice for delegated agents. 2026-05-01 20:30:20 +02:00
CREDO23
b9bc06e7b4 Add builtin research route slice for delegated agents. 2026-05-01 20:30:20 +02:00
CREDO23
7080b787d1 Add MCP tool loading and connector partitioning. 2026-05-01 20:30:20 +02:00
CREDO23
cf3acd87aa Add MCP allow and ask name tables per integration. 2026-05-01 20:30:20 +02:00
CREDO23
5f84d46f96 Add subagent spec packing and shared package exports. 2026-05-01 20:30:20 +02:00
CREDO23
77f52af6cc Add shared tool permission types and markdown file reader. 2026-05-01 20:30:20 +02:00
CREDO23
30cd530ac6 Add connector routing constants for delegated routes. 2026-05-01 20:30:20 +02:00
DESKTOP-RTLN3BA\$punk
e57c3a7d0c feat: prompt caching
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
- Updated `litellm` dependency version from `1.83.4` to `1.83.7`.
- Adjusted `aiohttp` version from `3.13.5` to `3.13.4` in the lock file.
- Implemented `apply_litellm_prompt_caching` in `chat_deepagent.py` to improve prompt caching.
- Added model name resolution logic in `chat_deepagent.py` to ensure correct provider-variant dispatch.
- Enhanced `llm_config.py` to configure prompt caching for various LLM providers.
- Updated tests to verify correct model name forwarding and prompt caching behavior.
2026-05-01 05:10:53 -07:00
CREDO23
5d3b8b9ca9 Merge remote-tracking branch 'upstream/dev' into feature/multi-agent 2026-05-01 00:05:20 +02:00
CREDO23
d157ceaabc Remove multi-agent planning docs and fix stream_new_chat logger. 2026-04-30 23:42:21 +02:00
Anish Sarkar
af66fbf106 refactor(chat): implement turn cancellation and status management in new chat routes for improved user experience and error handling 2026-05-01 01:47:52 +05:30
CREDO23
ba131f5736 Refactor multi-agent supervisor prompts and wiring; thread citations into streaming. 2026-04-30 19:33:57 +02:00
CREDO23
74337b462a Tighten supervisor delegation policy and align deliverables wording across prompts. 2026-04-30 16:43:44 +02:00
CREDO23
8f8d7540f0 Coerce deliverables thread_id and invoke domain agents asynchronously. 2026-04-30 16:41:19 +02:00
CREDO23
5bc33626b9 Tune memory visibility and disable generic MCP supervisor routing. 2026-04-30 12:11:43 +02:00
CREDO23
f7ddb36c97 Render supervisor specialist guidance dynamically from available tools. 2026-04-30 12:08:54 +02:00
CREDO23
6858bdb726 Validate domain-agent JSON outputs before returning to supervisor. 2026-04-30 12:08:48 +02:00
CREDO23
f9275be56b Normalize Linear, Slack, and generic MCP bridge prompts. 2026-04-30 12:07:53 +02:00
CREDO23
9d18f9f214 Standardize Airtable, ClickUp, and Jira MCP bridge contracts. 2026-04-30 12:07:23 +02:00
CREDO23
3cd2bf9302 Align collaboration connector prompts with strict JSON rules. 2026-04-30 12:07:13 +02:00
CREDO23
7083023929 Strengthen Gmail and workspace connector expert prompt contracts. 2026-04-30 12:07:04 +02:00
CREDO23
6825d3d8d5 Normalize built-in deliverables and research expert output contracts. 2026-04-30 12:06:46 +02:00
CREDO23
cdb307361a Wrap delegated tasks in explicit XML context tags. 2026-04-30 12:06:33 +02:00
CREDO23
5148f5dfef Add a prompt tuning playbook for multi-agent quality. 2026-04-30 12:05:49 +02:00
CREDO23
362d462f92 Align multi-agent docs and Gmail/Calendar expert copy with registry routing. 2026-04-30 03:53:29 +02:00
CREDO23
2ab4c411fe Compose supervisor LangChain agent with SurfSense middleware and connector discovery. 2026-04-30 03:53:22 +02:00
CREDO23
33fc457dcc Gate supervisor connector routes by searchable inventory and simplify routing specs. 2026-04-30 03:53:15 +02:00
CREDO23
91e12bd31e Document multi-agent layout and supervisor delegation prompts. 2026-04-30 02:36:30 +02:00
CREDO23
388e86ebc9 Compose async multi-agent chat entrypoint and drop legacy supervisor scaffolding. 2026-04-30 02:36:22 +02:00
CREDO23
5497f472b2 Wire supervisor routing specs and registry-backed expert routes. 2026-04-30 02:36:16 +02:00
CREDO23
1f7343298c Add expert_agent vertical slices and MCP bridge prompts. 2026-04-30 02:36:11 +02:00
CREDO23
c974fcefe6 Add multi-agent core registry, delegation, and MCP partitioning. 2026-04-30 02:36:06 +02:00
CREDO23
0c8ea2085e Add multi_agent_chat package exports and implementation layout doc. 2026-04-30 01:00:01 +02:00
CREDO23
e18675a40a Add multi_agent_chat integration entrypoint create_multi_agent_chat. 2026-04-30 00:59:59 +02:00
CREDO23
f1a5f1c683 Add multi_agent_chat routing tools and supervisor routing composition. 2026-04-30 00:59:58 +02:00
CREDO23
0fcb2acfdc Add multi_agent_chat supervisor agent graph and supervisor prompt. 2026-04-30 00:59:57 +02:00
CREDO23
5a0a265b2b Add multi_agent_chat calendar slice with connector tools, agent, and domain prompt. 2026-04-30 00:59:56 +02:00