Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
321c4b1
增加发布兼容性
Jan 11, 2026
83f7a53
fix:i18n improvenment
Frant1cc Jan 25, 2026
7c0315d
feat:Add a scrollbar for confirmation
Frant1cc Jan 25, 2026
3f93638
chore: update repo roster images [skip ci]
github-actions[bot] Jan 26, 2026
3cd58e8
chore: update repo roster images [skip ci]
github-actions[bot] Jan 27, 2026
2cb225a
Merge branch 'main' into feat/debug_run
Jan 27, 2026
77392bf
Merge pull request #176 from Frant1cc/fix/i18n-improvement
pancacake Jan 27, 2026
78d5df9
chore: update repo roster images [skip ci]
github-actions[bot] Jan 28, 2026
db1cfda
Merge branch 'main' into feat/debug_run
Jan 28, 2026
0ee1e39
chore: update repo roster images [skip ci]
github-actions[bot] Jan 29, 2026
8e7848a
docs: update ru translate
oshliaer Jan 29, 2026
b516c12
Update assets/README/README_RU.md
oshliaer Jan 29, 2026
b5e4c6a
Update assets/README/README_RU.md
oshliaer Jan 29, 2026
05711d8
Update assets/README/README_RU.md
oshliaer Jan 29, 2026
8ad1f72
chore: update repo roster images [skip ci]
github-actions[bot] Jan 30, 2026
591c64b
Merge pull request #184 from oshliaer/update_ru_translate
pancacake Jan 30, 2026
8f78a9d
chore: update repo roster images [skip ci]
github-actions[bot] Jan 31, 2026
7413e62
chore: update repo roster images [skip ci]
github-actions[bot] Feb 1, 2026
9479722
chore: update repo roster images [skip ci]
github-actions[bot] Feb 2, 2026
e9c571e
chore: update repo roster images [skip ci]
github-actions[bot] Feb 3, 2026
23ece51
增加启动逻辑
Feb 3, 2026
f1f87a2
Merge branch 'feat/debug_run' into feat/vision_slover
Feb 3, 2026
b54a7e6
clearn project
Feb 3, 2026
bb01d13
实现用于图像分析和 GeoGebra 可视化的视觉求解器模块
Feb 3, 2026
4e5a655
Merge branch 'dev' into feat/vision_slover
Feb 3, 2026
55472f0
实现用于图像分析和 GeoGebra 可视化的视觉求解器模块
Feb 3, 2026
259c025
chore: update repo roster images [skip ci]
github-actions[bot] Feb 4, 2026
c0236a1
chore: update repo roster images [skip ci]
github-actions[bot] Feb 5, 2026
ad4c70a
chore: update repo roster images [skip ci]
github-actions[bot] Feb 6, 2026
07b5615
chore: update repo roster images [skip ci]
github-actions[bot] Feb 7, 2026
42d8293
chore: update repo roster images [skip ci]
github-actions[bot] Feb 8, 2026
3200594
chore: update repo roster images [skip ci]
github-actions[bot] Feb 9, 2026
4a9f989
chore: update repo roster images [skip ci]
github-actions[bot] Feb 10, 2026
9fddc39
chore: update repo roster images [skip ci]
github-actions[bot] Feb 11, 2026
f204427
chore: update repo roster images [skip ci]
github-actions[bot] Feb 12, 2026
d0ecbcf
chore: update repo roster images [skip ci]
github-actions[bot] Feb 13, 2026
e1425a5
chore: update repo roster images [skip ci]
github-actions[bot] Feb 14, 2026
82e6a92
chore: update repo roster images [skip ci]
github-actions[bot] Feb 15, 2026
a80285e
chore: update repo roster images [skip ci]
github-actions[bot] Feb 16, 2026
59f1dc9
chore: update repo roster images [skip ci]
github-actions[bot] Feb 17, 2026
389dc9d
chore: update repo roster images [skip ci]
github-actions[bot] Feb 18, 2026
ddc0f48
chore: update repo roster images [skip ci]
github-actions[bot] Feb 19, 2026
44dd12a
chore: update repo roster images [skip ci]
github-actions[bot] Feb 20, 2026
f57f5fd
chore: update repo roster images [skip ci]
github-actions[bot] Feb 21, 2026
2c159cb
chore: update repo roster images [skip ci]
github-actions[bot] Feb 22, 2026
64ecb75
chore: update repo roster images [skip ci]
github-actions[bot] Feb 23, 2026
2f47727
chore: update repo roster images [skip ci]
github-actions[bot] Feb 24, 2026
51b22f1
Merge branch 'main' into feat/vision_slover
Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
487 changes: 348 additions & 139 deletions assets/README/README_RU.md

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions assets/roster/forkers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/roster/stargazers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions config/agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,16 @@ co_writer:
narrator:
temperature: 0.7
max_tokens: 4000

# =============================================================================
# Vision Solver Module - Image analysis and GeoGebra visualization
# =============================================================================
# Agents: vision_solver_agent (with bbox, analysis, ggbscript, reflection stages)
# This module handles:
# - BBox: Visual element detection with pixel coordinates
# - Analysis: Geometric semantic analysis
# - GGBScript: GeoGebra command generation
# - Reflection: Command validation and correction
vision_solver:
temperature: 0.3
max_tokens: 12000
20 changes: 19 additions & 1 deletion config/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
system:
language: en
language: zh
paths:
user_data_dir: ./data/user
knowledge_bases_dir: ./data/knowledge_bases
Expand All @@ -10,6 +10,7 @@ paths:
research_output_dir: ./data/user/research/cache
research_reports_dir: ./data/user/research/reports
solve_output_dir: ./data/user/solve
vision_solver_output_dir: ./data/user/vision_solver
tools:
rag_tool:
kb_base_dir: ./data/knowledge_bases
Expand Down Expand Up @@ -66,6 +67,23 @@ solve:
max_iterations: 3
precision_answer_agent:
enabled: true
vision_solver:
enabled: true
max_image_size: 10MB
geogebra:
xmin: -10
xmax: 10
ymin: -8
ymax: 8
stages:
bbox:
temperature: 0.3
analysis:
temperature: 0.3
ggbscript:
temperature: 0.3
reflection:
temperature: 0.3
research:
planning:
rephrase:
Expand Down
2,408 changes: 2,408 additions & 0 deletions docs/ref/wiki/ GeoGebra使用指南.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/ref/wiki/geogrebra-llms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## This page describes the GeoGebra Apps API to interact with GeoGebra apps. Please see GeoGebra Apps Embedding on how to embed our apps into your web pages.

- https://geogebra.github.io/docs/reference/en/GeoGebra_Apps_API/

## This page lists all parameters that can be used to configure GeoGebra Apps. Please see GeoGebra Apps Embedding to learn how to embed GeoGebra apps into your pages and where these parameters can be used.

- https://geogebra.github.io/docs/reference/en/GeoGebra_App_Parameters/
149 changes: 149 additions & 0 deletions docs/ref/wiki/langchain-llms.txt

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions scripts/install_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,23 @@ if [ ! -f "$REQUIREMENTS_FILE" ]; then
exit 1
fi

print_info "Using Python: $(which python)"
print_info "Using Python: $(which python3)"
print_info "Requirements file: $REQUIREMENTS_FILE"

# Function to install with uv (faster and better resolver)
install_with_uv() {
# Check if uv is available
if ! command -v uv &> /dev/null; then
print_info "Installing uv for better dependency resolution..."
if python -m pip install uv; then
if python3 -m pip install uv; then
print_success "uv installed successfully"
else
return 1
fi
fi

print_info "Using uv for faster dependency resolution..."
if python -m uv pip install -r "$REQUIREMENTS_FILE"; then
if python3 -m uv pip install -r "$REQUIREMENTS_FILE"; then
return 0
else
return 1
Expand All @@ -107,7 +107,7 @@ install_with_pip_staged() {

# Stage 1: Core dependencies
print_info "Stage 1/3: Installing core dependencies..."
if python -m pip install \
if python3 -m pip install \
"python-dotenv>=1.0.0" \
"PyYAML>=6.0" \
"tiktoken>=0.5.0" \
Expand Down Expand Up @@ -137,15 +137,15 @@ install_with_pip_staged() {
print_info "Stage 3/4: Installing raganything (includes lightrag-hku, this may take a while)..."
if ! python -m pip install "raganything>=0.1.0"; then
print_warning "Standard install failed, trying with --no-deps..."
python -m pip install "raganything>=0.1.0" --no-deps || print_warning "raganything installation had issues"
python3 -m pip install "raganything>=0.1.0" --no-deps || print_warning "raganything installation had issues"
fi

# Stage 4: docling (alternative parser for Office/HTML documents)
print_info "Stage 4/4: Installing docling (document parser for Office/HTML)..."
python -m pip install "docling>=2.31.0" || print_warning "docling installation had issues (optional, can be skipped)"

# Optional deps
python -m pip install "perplexityai>=0.1.0" "dashscope>=1.14.0" 2>/dev/null || true
python3 -m pip install "perplexityai>=0.1.0" "dashscope>=1.14.0" 2>/dev/null || true

return 0
}
Expand All @@ -165,7 +165,7 @@ else
else
# Strategy 3: Direct pip as last resort
print_warning "Staged installation had issues, trying direct pip install..."
if python -m pip install -r "$REQUIREMENTS_FILE"; then
if python3 -m pip install -r "$REQUIREMENTS_FILE"; then
print_success "Backend dependencies installed successfully"
else
print_error "Backend dependencies installation failed"
Expand Down Expand Up @@ -318,7 +318,7 @@ ALL_OK=true
print_info "Checking backend key packages..."

check_python_package() {
if python -c "import $1" 2>/dev/null; then
if python3 -c "import $1" 2>/dev/null; then
print_success " ✓ $1"
return 0
else
Expand All @@ -332,15 +332,15 @@ check_python_package uvicorn || ALL_OK=false
check_python_package openai || ALL_OK=false

# Check lightrag_hku (import name is lightrag)
if python -c "import lightrag" 2>/dev/null; then
if python3 -c "import lightrag" 2>/dev/null; then
print_success " ✓ lightrag_hku"
else
print_error " ✗ lightrag_hku not installed"
ALL_OK=false
fi

# Check raganything
if python -c "import raganything" 2>/dev/null; then
if python3 -c "import raganything" 2>/dev/null; then
print_success " ✓ raganything"
else
print_error " ✗ raganything not installed"
Expand Down
27 changes: 27 additions & 0 deletions src/agents/vision_solver/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""Vision Solver Agent Module.

This module implements image analysis and GeoGebra visualization for math problems.
It follows a four-stage pipeline:
1. BBox - Visual element detection with pixel coordinates
2. Analysis - Geometric semantic analysis
3. GGBScript - Generate GeoGebra drawing commands
4. Reflection - Validate and fix commands
"""

from src.agents.vision_solver.models import (
AnalysisOutput,
BBoxOutput,
GGBScriptOutput,
ImageAnalysisState,
ReflectionOutput,
)
from src.agents.vision_solver.vision_solver_agent import VisionSolverAgent

__all__ = [
"VisionSolverAgent",
"BBoxOutput",
"AnalysisOutput",
"GGBScriptOutput",
"ReflectionOutput",
"ImageAnalysisState",
]
Loading