File size: 1,325 Bytes
4ef118d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Qurio Python Migration Plan (Jan 22, 2026)

## Goal

Migrate remaining Node.js LangChain endpoints to the Python (FastAPI + Agno) backend and align tool usage with Agno toolkits.

## Scope

- Daily tip
- Title
- Title + space
- Title + space + agent
- Agent selection for auto mode
- Related questions
- Research plan (sync + SSE)
- Deep research (SSE)
- MCP tools endpoints

## Steps

1. Map existing Node endpoints/services to Python routes and services.
2. Add shared LLM utilities for non-streaming calls and JSON parsing.
3. Port prompts/logic for each endpoint, using Agno adapter for model calls.
4. Implement deep research orchestration with step execution + final report streaming.
5. Add MCP tool manager and endpoints (placeholder until a Python MCP client is added).
6. Wire routes into FastAPI and verify imports.

## Status

- [x] Endpoint mapping
- [x] Shared LLM utilities
- [x] Daily tip / Title / Title + space / Title + space + agent / Agent auto / Related questions
- [x] Research plan (sync + stream)
- [x] Deep research stream
- [x] MCP routes (stub until MCP client available)

## Notes

- MCP routes are live but will return an error until a Python MCP client library is installed and wired in.
- Tavily academic search is implemented as a local tool; general web search uses Agno's Tavily toolkit.