# JerryWritingAgent **Repository Path**: dingling1890/jerry-writing-agent ## Basic Information - **Project Name**: JerryWritingAgent - **Description**: 为儿子作文打造的Agent - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-12 - **Last Updated**: 2026-07-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 🌈 彩虹作文小老师 Agent 面向小学 1-6 年级学生的写作学习 Agent。 ## 功能一览 | 模块 | 说明 | |------|------| | ✏️ 写作闯关 | 7 种模式:闯关/陪写/体检/范文/每日10分钟/素材/先说后写 | | ⚙️ 模型配置 | 界面配置 API Key、Base URL、模型、Temperature | | 📊 能力画像 | 技能成长、徽章、薄弱点、连续练习天数 | | 🎁 素材本 | 6 类素材宝箱,手动添加或 AI 自动提取 | | 📘 家长周报 | 近 7 天练习汇总 + 可选 AI 综合观察 | | 🗣️ 先说后写 | 口述转书面句(低年级友好) | ## 快速开始 ```powershell cd c:\Users\SN90552\Desktop\fsdownload\JerryLearn py -m venv .venv .venv\Scripts\pip install -r requirements.txt .venv\Scripts\python.exe src\app.py ``` 打开 http://127.0.0.1:7860 → **「模型配置」** 页填入 API Key → 保存 → 开始闯关。 ## CLI ```powershell .venv\Scripts\python.exe src\main.py .venv\Scripts\python.exe src\main.py -m "我是四年级,要写《我的妈妈》" ``` ## 数据存储 | 路径 | 内容 | |------|------| | `data/settings.json` | 模型配置(界面保存) | | `data/profile.json` | 学生能力画像 | | `data/materials.json` | 素材本 | | `sessions/*.json` | 对话会话 | ## 测试 ```powershell .venv\Scripts\python.exe tests\test_agent.py ```