# StudyAgentEngineering **Repository Path**: six-thousand-and-eight/study-agent-engineering ## Basic Information - **Project Name**: StudyAgentEngineering - **Description**: StudyAgentEngineering 结构化输出、多智能体协作、子agent上下文文隔离、上下文管理、多agent共享状态与信息传递 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-14 - **Last Updated**: 2026-11-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: Agent ## README # StudyAgentEngineering ## 项目目标 学习结构化输出、多 Agent 协作、上下文管理与信息传递。 技术重点:Pydantic + LangChain create_agent + LangGraph StateGraph ## 目录结构 ```text StudyAgentEngineering/ ├── .env # LLM API Key、模型配置 ├── .env.example # 环境变量示例 ├── .gitignore # Git忽略规则 ├── requirements.txt # Python依赖 ├── README.md # 学习笔记、关键API、问题记录 │ ├── examples/ # 8个阶段的独立示例 │ ├── 01_pydantic_models.py # Pydantic数据模型、字段约束与校验 │ ├── 02_structured_output.py # LLM结构化输出 │ ├── 03_tool_schema.py # Agent工具输入输出Schema │ ├── 04_multi_agent.py # 多Agent协作与任务分配 │ ├── 05_context_isolation.py # Agent上下文隔离 │ ├── 06_context_management.py # 摘要、裁剪、上下文按需加载 │ ├── 07_shared_state.py # 多Agent共享状态与信息传递 │ └── 08_full_workflow.py # 完整多Agent协作实验 │ ├── shared/ # 公共代码 │ ├── __init__.py # Python包标识 │ ├── config.py # 环境变量加载 │ ├── llm.py # LLM初始化 │ ├── models.py # 公共Pydantic模型 │ ├── tools.py # 可复用Agent工具 │ └── agents.py # 公共Agent创建方法 │ ├── data/ # 测试数据 │ ├── inputs/ # 模拟任务与输入 │ └── outputs/ # Agent执行结果 │ └── tests/ # 单元测试与集成测试 ```