Skip to content

Let's meet DeepTutor 1.0.0! #238

Merged
pancacake merged 49 commits intomainfrom
dev
Apr 4, 2026
Merged

Let's meet DeepTutor 1.0.0! #238
pancacake merged 49 commits intomainfrom
dev

Conversation

@pancacake
Copy link
Copy Markdown
Collaborator

Quick Summary

  • Architecture — Complete rewrite from src/ to deeptutor/ + deeptutor_cli/ with agent-native runtime (Tools + Capabilities).
  • Entry Points — Three unified entry points: standalone CLI (deeptutor), WebSocket API (/api/v1/ws), and Python SDK facade.
  • Capabilities — Five built-in capabilities: chat, deep_solve, deep_question, deep_research, math_animator.
  • Tools — Seven LLM-callable tools: rag, web_search, code_execution, reason, brainstorm, paper_search, geogebra_analysis.
  • Web App — Rebuilt Next.js app with workspace/utility route groups, new Playground, Co-Writer, Agents, and Guide pages.
  • TutorBot — Multi-channel bot agent supporting 12 messaging platforms.
  • Infra — SQLite-backed session persistence, turn runtime, provider-level LLM traffic control and telemetry.
logo and others added 30 commits January 11, 2026 21:58
* Core LLM hardening (slim): essential fixes and tests only

* Add Anthropic and Local provider implementations
Feature/llm hardening core slim (#52)
Co-authored-by: Cursor <cursoragent@cursor.com>
Restrict code execution scope and enforce import whitelist
Merge the three core module rewrites from eval branch while preserving
all existing dev features (chat, co_writer, guide, ideagen, research,
API, frontend, Docker, etc.).

Solve: Plan->ReAct->Write architecture (3 agents) with ToolRegistry
  for selective tool injection via YAML definitions.
Question: Idea->Evaluate->Generate->Validate four-stage closed loop
  with coding question type and validator rejection mechanism.
Personalization: Three ReAct agents (Reflection/Summary/Weakness) with
  TraceForest/TraceTree, event-driven integration with solve/question
  via EventBus (SOLVE_COMPLETE/QUESTION_COMPLETE) and MemoryReader.

Also includes: benchmark pipeline, start.py CLI, shared module
improvements (LLM client, RAG parsers, EventBus flush, etc.).

Made-with: Cursor
Made-with: Cursor

# Conflicts:
#	AGENTS.md
#	config/main.yaml
#	src/agents/question/agents/evaluator.py
#	src/agents/question/agents/idea_agent.py
#	src/agents/question/cli.py
#	src/agents/question/coordinator.py
#	src/agents/question/prompts/en/evaluator.yaml
#	src/agents/question/prompts/en/generator.yaml
#	src/agents/question/prompts/en/idea_agent.yaml
#	src/agents/question/prompts/en/validator.yaml
#	src/agents/question/prompts/zh/evaluator.yaml
#	src/agents/question/prompts/zh/generator.yaml
#	src/agents/question/prompts/zh/idea_agent.yaml
#	src/agents/question/prompts/zh/validator.yaml
#	src/agents/solve/agents/planner_agent.py
#	src/agents/solve/agents/solver_agent.py
#	src/agents/solve/agents/writer_agent.py
#	src/agents/solve/cli.py
#	src/agents/solve/context.md
#	src/agents/solve/main_solver.py
#	src/agents/solve/memory/scratchpad.py
#	src/agents/solve/prompts/en/planner_agent.yaml
#	src/agents/solve/prompts/en/solver_agent.yaml
#	src/agents/solve/prompts/en/writer_agent.yaml
#	src/agents/solve/prompts/zh/planner_agent.yaml
#	src/agents/solve/prompts/zh/solver_agent.yaml
#	src/agents/solve/prompts/zh/writer_agent.yaml
#	src/api/routers/question.py
#	src/config/settings.py
#	src/core/event_bus.py
#	src/personalization/__init__.py
#	src/tools/code_executor.py
The eval version of code_executor.py removed DEFAULT_SAFE_IMPORTS
which is referenced by research_pipeline.py (from PR #196). Re-add
the constant and apply it as default when no whitelist is provided.

Made-with: Cursor
Keep evaluation code only on the eval branch.

Made-with: Cursor
@pancacake pancacake merged commit 540400c into main Apr 4, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants