feat: add DeepSeek provider + Mixture of Agents (MoA) architecture - #18
Open
XiaoBinGan wants to merge 1 commit into
Open
feat: add DeepSeek provider + Mixture of Agents (MoA) architecture#18XiaoBinGan wants to merge 1 commit into
XiaoBinGan wants to merge 1 commit into
Conversation
- Add DeepSeek as 9th LLM provider (config, factory, providers, pyproject, env) - Implement MixtureOfAgents: multi-layer proposer-aggregator with 3 persona types - Register MoA in __init__ and update registry count 35→36 - Add build_36 and tailor_36 scripts with full 11-section notebook - Add MoA to benchmarks (creative_writing, research_synthesis) - Add MoA integration test - Update all docs references 35→36 (README, docs/*.md, test docstrings) - Fix: web_search_tool returns no-op stub when TAVILY_API_KEY is missing Tests: 112/112 passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds two new features:
1. DeepSeek Provider (9th LLM provider)
config.py— Addeddeepseekto Provider Literal,deepseek_api_key, andapi_key_for()mappingllm/factory.py— Added DeepSeek capabilities +get_llm()branch via ChatOpenAI with deepseek base_urlllm/providers.py— Added ProviderInfo (deepseek-chat)pyproject.toml— Added[deepseek]optional dependency extra.env.example— AddedDEEPSEEK_API_KEY+DEEPSEEK_BASE_URLdocs/getting-started/providers.md— Added DeepSeek documentation row2. Mixture of Agents (MoA) Architecture (#36)
architectures/mixture_of_agents.py, registered in__init__.pyscripts/build_36_mixture_of_agents.py)scripts/tailor_36_commentary.py)benchmarks/tasks.yamltests/integration/test_integration_all.py3. Global 35 -> 36 Updates
scripts/execute_notebooks.py4. Bug Fix
web_search_toolto return a no-op stub whenTAVILY_API_KEYis missing, instead of crashing. This allows unit tests requiring web search architectures (ReAct, ToolUse, Planning, etc.) to pass without a Tavily key.Test Results