Skip to content

Commit ecb329e

Browse files
committed
Merge branch 'dev' for v1.0.0-beta.3 release
2 parents 31adc67 + 76f4d7e commit ecb329e

75 files changed

Lines changed: 4140 additions & 1472 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# DeepTutor: Agent-Native Personalized Tutoring
66

7+
<a href="https://trendshift.io/repositories/17099" target="_blank"><img src="https://trendshift.io/api/badge/repositories/17099" alt="HKUDS%2FDeepTutor | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
8+
79
[![Python 3.11+](https://img.shields.io/badge/Python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white)](https://www.python.org/downloads/)
810
[![Next.js 16](https://img.shields.io/badge/Next.js-16-000000?style=flat-square&logo=next.js&logoColor=white)](https://nextjs.org/)
911
[![License](https://img.shields.io/badge/License-Apache_2.0-blue?style=flat-square)](LICENSE)
@@ -33,6 +35,8 @@
3335
3436
### 📦 Releases
3537

38+
> **[2026.4.8]** [v1.0.0-beta.3](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.3) — Remove litellm dependency with native OpenAI/Anthropic SDK providers, Windows Math Animator compatibility, robust JSON parsing for LLM outputs, Guided Learning KaTeX & navigation fixes, and full i18n coverage.
39+
3640
> **[2026.4.7]** [v1.0.0-beta.2](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.2) — Runtime cache invalidation for hot settings reload, MinerU nested output support, mimic WebSocket fix, Python 3.11+ minimum, and CI improvements.
3741
3842
> **[2026.4.4]** [v1.0.0-beta.1](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.1) — Agent-native architecture rewrite (DeepTutor 2.0) with two-layer plugin model (Tools + Capabilities), CLI & SDK entry points, TutorBot multi-channel bot agent, Co-Writer, Guided Learning, and persistent memory.
@@ -131,6 +135,71 @@ EMBEDDING_HOST=https://api.openai.com/v1
131135
EMBEDDING_DIMENSION=3072
132136
```
133137

138+
<details>
139+
<summary><b>Supported LLM Providers</b></summary>
140+
141+
| Provider | Binding | Default Base URL |
142+
|:--|:--|:--|
143+
| AiHubMix | `aihubmix` | `https://aihubmix.com/v1` |
144+
| Anthropic | `anthropic` | `https://api.anthropic.com/v1` |
145+
| Azure OpenAI | `azure_openai` ||
146+
| BytePlus | `byteplus` | `https://ark.ap-southeast.bytepluses.com/api/v3` |
147+
| BytePlus Coding Plan | `byteplus_coding_plan` | `https://ark.ap-southeast.bytepluses.com/api/coding/v3` |
148+
| Custom (OpenAI-compat) | `custom` ||
149+
| DashScope (Qwen) | `dashscope` | `https://dashscope.aliyuncs.com/compatible-mode/v1` |
150+
| DeepSeek | `deepseek` | `https://api.deepseek.com` |
151+
| Gemini | `gemini` | `https://generativelanguage.googleapis.com/v1beta/openai/` |
152+
| GitHub Copilot | `github_copilot` | `https://api.githubcopilot.com` |
153+
| Groq | `groq` | `https://api.groq.com/openai/v1` |
154+
| MiniMax | `minimax` | `https://api.minimax.io/v1` |
155+
| Mistral | `mistral` | `https://api.mistral.ai/v1` |
156+
| Moonshot (Kimi) | `moonshot` | `https://api.moonshot.ai/v1` |
157+
| Ollama | `ollama` | `http://localhost:11434/v1` |
158+
| OpenAI | `openai` | `https://api.openai.com/v1` |
159+
| OpenAI Codex | `openai_codex` | `https://chatgpt.com/backend-api` |
160+
| OpenRouter | `openrouter` | `https://openrouter.ai/api/v1` |
161+
| OpenVINO Model Server | `ovms` | `http://localhost:8000/v3` |
162+
| Qianfan (Ernie) | `qianfan` | `https://qianfan.baidubce.com/v2` |
163+
| SiliconFlow | `siliconflow` | `https://api.siliconflow.cn/v1` |
164+
| Step Fun | `stepfun` | `https://api.stepfun.com/v1` |
165+
| vLLM | `vllm` | `http://localhost:8000/v1` |
166+
| VolcEngine | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` |
167+
| VolcEngine Coding Plan | `volcengine_coding_plan` | `https://ark.cn-beijing.volces.com/api/coding/v3` |
168+
| Xiaomi MIMO | `xiaomi_mimo` | `https://api.xiaomimimo.com/v1` |
169+
| Zhipu AI (GLM) | `zhipu` | `https://open.bigmodel.cn/api/paas/v4` |
170+
171+
</details>
172+
173+
<details>
174+
<summary><b>Supported Embedding Providers</b></summary>
175+
176+
Embedding uses the same provider list as LLM. Common choices:
177+
178+
| Provider | Binding | Model Example |
179+
|:--|:--|:--|
180+
| OpenAI | `openai` | `text-embedding-3-large` |
181+
| DashScope | `dashscope` | `text-embedding-v3` |
182+
| Ollama | `ollama` | `nomic-embed-text` |
183+
| SiliconFlow | `siliconflow` | `BAAI/bge-m3` |
184+
| vLLM | `vllm` | Any embedding model |
185+
| Any OpenAI-compatible | `custom` ||
186+
187+
</details>
188+
189+
<details>
190+
<summary><b>Supported Web Search Providers</b></summary>
191+
192+
| Provider | Env Key | Notes |
193+
|:--|:--|:--|
194+
| Brave | `BRAVE_API_KEY` | Recommended, free tier available |
195+
| Tavily | `TAVILY_API_KEY` | |
196+
| Jina | `JINA_API_KEY` | |
197+
| SearXNG || Self-hosted, no API key needed |
198+
| DuckDuckGo || No API key needed |
199+
| Perplexity | `PERPLEXITY_API_KEY` | Requires API key |
200+
201+
</details>
202+
134203
**3. Start services**
135204

136205
```bash
@@ -514,7 +583,7 @@ deeptutor session open <id> # Resume in REPL
514583
| `deeptutor config show` | Print current configuration summary |
515584
| `deeptutor plugin list` | List registered tools and capabilities |
516585
| `deeptutor plugin info <name>` | Show tool or capability details |
517-
| `deeptutor provider login <provider>` | OAuth login (`openai-codex`, `github-copilot`) |
586+
| `deeptutor provider login <provider>` | Provider auth (`openai-codex` OAuth login; `github-copilot` validates an existing Copilot auth session) |
518587

519588
</details>
520589

assets/README/README_AR.md

Lines changed: 154 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22

33
<img src="../../assets/logo-ver2.png" alt="DeepTutor" width="140" style="border-radius: 15px;">
44

5-
# DeepTutor: نحو تعليم شخصي قائم على الوكلاء
5+
# DeepTutor: تعليم شخصي أصلي قائم على الوكلاء
6+
7+
<a href="https://trendshift.io/repositories/17099" target="_blank"><img src="https://trendshift.io/api/badge/repositories/17099" alt="HKUDS%2FDeepTutor | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
68

79
[![Python 3.11+](https://img.shields.io/badge/Python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white)](https://www.python.org/downloads/)
810
[![Next.js 16](https://img.shields.io/badge/Next.js-16-000000?style=flat-square&logo=next.js&logoColor=white)](https://nextjs.org/)
911
[![License](https://img.shields.io/badge/License-Apache_2.0-blue?style=flat-square)](../../LICENSE)
1012
[![GitHub release](https://img.shields.io/github/v/release/HKUDS/DeepTutor?style=flat-square&color=brightgreen)](https://github.com/HKUDS/DeepTutor/releases)
11-
[![GitHub last commit](https://img.shields.io/github/last-commit/HKUDS/DeepTutor?style=flat-square)](https://github.com/HKUDS/DeepTutor/commits)
13+
[![arXiv](https://img.shields.io/badge/arXiv-Coming_Soon-b31b1b?style=flat-square&logo=arxiv&logoColor=white)](#)
1214

1315
[![Discord](https://img.shields.io/badge/Discord-Community-5865F2?style=flat-square&logo=discord&logoColor=white)](https://discord.gg/eRsjPgMU4t)
1416
[![Feishu](https://img.shields.io/badge/Feishu-Group-00D4AA?style=flat-square&logo=feishu&logoColor=white)](../../Communication.md)
1517
[![WeChat](https://img.shields.io/badge/WeChat-Group-07C160?style=flat-square&logo=wechat&logoColor=white)](https://github.com/HKUDS/DeepTutor/issues/78)
1618

17-
[الميزات](#key-features) · [البدء](#get-started) · [استكشاف](#explore-deeptutor) · [TutorBot](#tutorbot) · [CLI](#deeptutor-cli-guide) · [المجتمع](#community)
19+
[الميزات](#key-features) · [البدء](#get-started) · [استكشاف](#explore-deeptutor) · [TutorBot](#tutorbot) · [CLI](#deeptutor-cli-guide) · [خارطة الطريق](#roadmap) · [المجتمع](#community)
1820

1921
[🇬🇧 English](../../README.md) · [🇨🇳 中文](README_CN.md) · [🇯🇵 日本語](README_JA.md) · [🇪🇸 Español](README_ES.md) · [🇫🇷 Français](README_FR.md) · [🇷🇺 Русский](README_RU.md) · [🇮🇳 हिन्दी](README_HI.md) · [🇵🇹 Português](README_PT.md)
2022

@@ -23,7 +25,7 @@
2325
---
2426
### 📰 الأخبار
2527

26-
> **[2026.3.24]** DeepTutor v1.0.0 — تطور أصلي للوكلاء: إعادة هيكلة خفيفة، TutorBot، أوضاع مرنة بموجب Apache-2.0.
28+
> **[2026.4.4]** منذ زمن غائبين! ✨ DeepTutor v1.0.0 وصل أخيرًا — تطور أصلي للوكلاء مع إعادة بناء المعمار من الصفر وTutorBot وأوضاع مرنة بموجب Apache-2.0. فصل جديد يبدأ!
2729
2830
> **[2026.2.6]** 🚀 10k نجوم في 39 يومًا — شكرًا للمجتمع!
2931
@@ -33,7 +35,9 @@
3335
3436
### 📦 الإصدارات
3537

36-
> **[2026.3.24]** [v1.0.0](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0) — إعادة هيكلة أصلية للوكلاء، تكامل مرن للأدوات، مداخل CLI وSDK، TutorBot بمحرك nanobot، Co-Writer، تعليم موجّه، ذاكرة دائمة.
38+
> **[2026.4.7]** [v1.0.0-beta.2](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.2) — إبطال ذاكرة التخزين المؤقت أثناء التشغيل لإعادة تحميل الإعدادات الساخنة، دعم مخرجات MinerU المتداخلة، إصلاح mimic WebSocket، الحد الأدنى Python 3.11+، وتحسينات CI.
39+
40+
> **[2026.4.4]** [v1.0.0-beta.1](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.1) — إعادة كتابة أصلية للمعمار (DeepTutor 2.0): نموذج إضافات بطبقتين (Tools + Capabilities)، مداخل CLI وSDK، TutorBot متعدد القنوات، Co-Writer، تعليم موجّه، وذاكرة دائمة.
3741
3842
<details>
3943
<summary><b>إصدارات سابقة</b></summary>
@@ -117,6 +121,71 @@ EMBEDDING_HOST=https://api.openai.com/v1
117121
EMBEDDING_DIMENSION=3072
118122
```
119123

124+
<details>
125+
<summary><b>مزوّدو LLM المدعومون</b></summary>
126+
127+
| المزوّد | Binding | عنوان Base الافتراضي |
128+
|:--|:--|:--|
129+
| AiHubMix | `aihubmix` | `https://aihubmix.com/v1` |
130+
| Anthropic | `anthropic` | `https://api.anthropic.com/v1` |
131+
| Azure OpenAI | `azure_openai` ||
132+
| BytePlus | `byteplus` | `https://ark.ap-southeast.bytepluses.com/api/v3` |
133+
| BytePlus Coding Plan | `byteplus_coding_plan` | `https://ark.ap-southeast.bytepluses.com/api/coding/v3` |
134+
| Custom (OpenAI-compat) | `custom` ||
135+
| DashScope (Qwen) | `dashscope` | `https://dashscope.aliyuncs.com/compatible-mode/v1` |
136+
| DeepSeek | `deepseek` | `https://api.deepseek.com` |
137+
| Gemini | `gemini` | `https://generativelanguage.googleapis.com/v1beta/openai/` |
138+
| GitHub Copilot | `github_copilot` | `https://api.githubcopilot.com` |
139+
| Groq | `groq` | `https://api.groq.com/openai/v1` |
140+
| MiniMax | `minimax` | `https://api.minimax.io/v1` |
141+
| Mistral | `mistral` | `https://api.mistral.ai/v1` |
142+
| Moonshot (Kimi) | `moonshot` | `https://api.moonshot.ai/v1` |
143+
| Ollama | `ollama` | `http://localhost:11434/v1` |
144+
| OpenAI | `openai` | `https://api.openai.com/v1` |
145+
| OpenAI Codex | `openai_codex` | `https://chatgpt.com/backend-api` |
146+
| OpenRouter | `openrouter` | `https://openrouter.ai/api/v1` |
147+
| OpenVINO Model Server | `ovms` | `http://localhost:8000/v3` |
148+
| Qianfan (Ernie) | `qianfan` | `https://qianfan.baidubce.com/v2` |
149+
| SiliconFlow | `siliconflow` | `https://api.siliconflow.cn/v1` |
150+
| Step Fun | `stepfun` | `https://api.stepfun.com/v1` |
151+
| vLLM | `vllm` | `http://localhost:8000/v1` |
152+
| VolcEngine | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` |
153+
| VolcEngine Coding Plan | `volcengine_coding_plan` | `https://ark.cn-beijing.volces.com/api/coding/v3` |
154+
| Xiaomi MIMO | `xiaomi_mimo` | `https://api.xiaomimimo.com/v1` |
155+
| Zhipu AI (GLM) | `zhipu` | `https://open.bigmodel.cn/api/paas/v4` |
156+
157+
</details>
158+
159+
<details>
160+
<summary><b>مزوّدو التضمين المدعومون</b></summary>
161+
162+
التضمين يستخدم نفس قائمة LLM. أمثلة شائعة:
163+
164+
| المزوّد | Binding | مثال نموذج |
165+
|:--|:--|:--|
166+
| OpenAI | `openai` | `text-embedding-3-large` |
167+
| DashScope | `dashscope` | `text-embedding-v3` |
168+
| Ollama | `ollama` | `nomic-embed-text` |
169+
| SiliconFlow | `siliconflow` | `BAAI/bge-m3` |
170+
| vLLM | `vllm` | أي نموذج تضمين |
171+
| متوافق OpenAI | `custom` ||
172+
173+
</details>
174+
175+
<details>
176+
<summary><b>مزوّدو البحث على الويب المدعومون</b></summary>
177+
178+
| المزوّد | مفتاح البيئة | ملاحظات |
179+
|:--|:--|:--|
180+
| Brave | `BRAVE_API_KEY` | موصى به، يوجد مستوى مجاني |
181+
| Tavily | `TAVILY_API_KEY` | |
182+
| Jina | `JINA_API_KEY` | |
183+
| SearXNG || مستضاف ذاتيًا، بلا مفتاح API |
184+
| DuckDuckGo || بلا مفتاح API |
185+
| Perplexity | `PERPLEXITY_API_KEY` | يتطلب مفتاح API |
186+
187+
</details>
188+
120189
```bash
121190
python -m deeptutor.api.run_server
122191
cd web && npm run dev -- -p 3782
@@ -338,6 +407,7 @@ deeptutor run deep_research "Attention mechanisms in transformers"
338407

339408
```bash
340409
deeptutor chat --capability deep_solve --kb my-kb
410+
# داخل REPL: /cap و /tool و /kb و /history و /notebook و /config للتبديل فورًا
341411
```
342412

343413
```bash
@@ -360,16 +430,88 @@ deeptutor session open <id>
360430
<details>
361431
<summary><b>مرجع أوامر CLI الكامل</b></summary>
362432

433+
**المستوى الأعلى**
434+
435+
| الأمر | الوصف |
436+
|:---|:---|
437+
| `deeptutor run <capability> <message>` | تشغيل قدرة في دور واحد (`chat`، `deep_solve`، `deep_question`، `deep_research`، `math_animator`) |
438+
| `deeptutor chat` | REPL تفاعلي مع `--capability` و`--tool` و`--kb` و`--language` وغيرها |
439+
| `deeptutor serve` | تشغيل خادم API الخاص بـ DeepTutor |
440+
441+
**`deeptutor bot`**
442+
443+
| الأمر | الوصف |
444+
|:---|:---|
445+
| `deeptutor bot list` | عرض جميع مثيلات TutorBot |
446+
| `deeptutor bot create <id>` | إنشاء وتشغيل بوت (`--name`، `--persona`، `--model`) |
447+
| `deeptutor bot start <id>` | تشغيل بوت |
448+
| `deeptutor bot stop <id>` | إيقاف بوت |
449+
450+
**`deeptutor kb`**
451+
452+
| الأمر | الوصف |
453+
|:---|:---|
454+
| `deeptutor kb list` | قائمة قواعد المعرفة |
455+
| `deeptutor kb info <name>` | تفاصيل قاعدة |
456+
| `deeptutor kb create <name>` | إنشاء من مستندات (`--doc`، `--docs-dir`) |
457+
| `deeptutor kb add <name>` | إضافة مستندات |
458+
| `deeptutor kb search <name> <query>` | بحث في القاعدة |
459+
| `deeptutor kb set-default <name>` | تعيين KB افتراضية |
460+
| `deeptutor kb delete <name>` | حذف (`--force`) |
461+
462+
**`deeptutor memory`**
463+
464+
| الأمر | الوصف |
465+
|:---|:---|
466+
| `deeptutor memory show [file]` | عرض (`summary`، `profile`، `all`) |
467+
| `deeptutor memory clear [file]` | مسح (`--force`) |
468+
469+
**`deeptutor session`**
470+
471+
| الأمر | الوصف |
472+
|:---|:---|
473+
| `deeptutor session list` | قائمة الجلسات (`--limit`) |
474+
| `deeptutor session show <id>` | رسائل الجلسة |
475+
| `deeptutor session open <id>` | استئناف في REPL |
476+
| `deeptutor session rename <id>` | إعادة تسمية (`--title`) |
477+
| `deeptutor session delete <id>` | حذف |
478+
479+
**`deeptutor notebook`**
480+
363481
| الأمر | الوصف |
364482
|:---|:---|
365-
| `deeptutor run <capability> <message>` | جولة واحدة |
366-
| `deeptutor chat` | REPL |
367-
| `deeptutor serve` | خادم API |
483+
| `deeptutor notebook list` | قائمة الدفاتر |
484+
| `deeptutor notebook create <name>` | إنشاء (`--description`) |
485+
| `deeptutor notebook show <id>` | عرض السجلات |
486+
| `deeptutor notebook add-md <id> <path>` | استيراد Markdown |
487+
| `deeptutor notebook replace-md <id> <rec> <path>` | استبدال سجل |
488+
| `deeptutor notebook remove-record <id> <rec>` | إزالة سجل |
489+
490+
**`deeptutor config` / `plugin` / `provider`**
368491

369-
**bot**، **kb**، **memory**، **session**، **notebook**، **config / plugin / provider** — كما في README الإنجليزي.
492+
| الأمر | الوصف |
493+
|:---|:---|
494+
| `deeptutor config show` | ملخص الإعدادات |
495+
| `deeptutor plugin list` | الأدوات والقدرات المسجّلة |
496+
| `deeptutor plugin info <name>` | تفاصيل أداة أو قدرة |
497+
| `deeptutor provider login <provider>` | تسجيل OAuth (`openai-codex`، `github-copilot`) |
370498

371499
</details>
372500

501+
<a id="roadmap"></a>
502+
## 🗺️ خارطة الطريق
503+
504+
| الحالة | مرحلة |
505+
|:---:|:---|
506+
| 🔜 | **المصادقة وتسجيل الدخول** — صفحة دخول اختيارية للنشر العام مع دعم متعدد المستخدمين |
507+
| 🔜 | **السمات والمظهر** — سمات متنوعة وتخصيص واجهة المستخدم |
508+
| 🔜 | **دمج LightRAG** — دمج [LightRAG](https://github.com/HKUDS/LightRAG) كمحرك متقدم لقواعد المعرفة |
509+
| 🔜 | **موقع التوثيق** — توثيق كامل مع أدلة ومرجع API ودروس |
510+
511+
> إذا كان DeepTutor مفيدًا لك، [امنحنا نجمة](https://github.com/HKUDS/DeepTutor/stargazers) — يدعمنا ذلك للاستمرار!
512+
513+
---
514+
373515
<a id="community"></a>
374516
## 🌐 المجتمع والنظام البيئي
375517

@@ -386,6 +528,9 @@ deeptutor session open <id>
386528
## 🤝 المساهمة
387529

388530
<div align="center">
531+
532+
نأمل أن يكون DeepTutor هدية للمجتمع. 🎁
533+
389534
<a href="https://github.com/HKUDS/DeepTutor/graphs/contributors">
390535
<img src="https://contrib.rocks/image?repo=HKUDS/DeepTutor&max=999" alt="Contributors" />
391536
</a>

0 commit comments

Comments
 (0)