Spaces:
Build error

Joseph Pollack commited on
Commit
731a241
·
unverified ·
1 Parent(s): 1515e72

adds the initial iterative and deep research workflows

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
68 files changed +17782 -3428
Files changed (50)
.gitignore+3
.pre-commit-config.yaml+1
AGENTS.mdDeleted-118
CLAUDE.mdDeleted-111
GEMINI.mdDeleted-98
docs/CONFIGURATION.mdAdded+291
docs/architecture/graph_orchestration.mdAdded+141
docs/examples/writer_agents_usage.mdAdded+415
docs/implementation/02_phase_search.md+31-19
pyproject.toml+11
src/agent_factory/agents.py+339
src/agent_factory/graph_builder.pyAdded+608
src/agent_factory/judges.py+9
src/agents/input_parser.pyAdded+178
src/agents/judge_agent.py+1-1
src/agents/knowledge_gap.pyAdded+156
src/agents/long_writer.pyAdded+431
src/agents/proofreader.pyAdded+205
src/agents/search_agent.py+1-1
src/agents/state.py+27-5
src/agents/thinking.pyAdded+148
src/agents/tool_selector.pyAdded+168
src/agents/writer.pyAdded+209
src/orchestrator.py → src/legacy_orchestrator.pyRenamed
File without content changes
src/middleware/__init__.pyAdded+33
src/middleware/budget_tracker.pyAdded+390
src/middleware/state_machine.pyAdded+129
src/middleware/workflow_manager.pyAdded+322
src/orchestrator/__init__.pyAdded+48
src/orchestrator/graph_orchestrator.pyAdded+953
src/orchestrator/planner_agent.pyAdded+174
src/orchestrator/research_flow.pyAdded+999
src/orchestrator_factory.py+1-1
src/tools/__init__.py+8-1
src/tools/crawl_adapter.pyAdded+58
src/tools/rag_tool.pyAdded+183
src/tools/search_handler.py+67-5
src/tools/tool_executor.pyAdded+193
src/tools/web_search_adapter.pyAdded+63
src/utils/citation_validator.py+91
src/utils/config.py+98
src/utils/models.py+267-1
tests/integration/test_deep_research.pyAdded+352
tests/integration/test_middleware_integration.pyAdded+245
tests/integration/test_parallel_loops_judge.pyAdded+396
tests/integration/test_rag_integration.pyAdded+343
tests/integration/test_research_flows.pyAdded+584
tests/unit/agent_factory/test_graph_builder.pyAdded+439
tests/unit/agents/test_input_parser.pyAdded+325
tests/unit/agents/test_long_writer.pyAdded+509