Team 4: Architecture & Design
Fixed:
- #6: Created unified state adapter (state_adapter.py)
- StateAdapter class to convert between OpusState and OpusGraphState
- create_unified_state() for initializing either system
- graph_to_opus() and opus_to_graph() converters
- #11: Added output validation to BaseAgent
- validate_output() method that parses JSON and validates against Pydantic schemas
- Extracts JSON from markdown code blocks
- Returns validated model or error message
- #12: Already properly handled (orchestrator imports get_framework_prompt)
Research Tools:
- SearchTool: Multiple backends (Tavily, Serper, Brave, DuckDuckGo)
- WikipediaTool: Wikipedia lookup
- AcademicSearchTool: CrossRef, Semantic Scholar
- ResearchOrchestrator: Comprehensive multi-source research
ResearchAgent:
- NOT just fact-checking - actively discovers NEW information
- Identifies trends beyond training data cutoff
- Generates innovations from cross-referencing sources
- Deep research with subtopics
VerifiedFactChecker:
- Live claim verification against web sources
- Confidence scoring
- Citation needed detection
Dependencies added: tavily, wikipedia, arxiv, duckduckgo-search
- Add .env to .gitignore (API keys stay local)
- Add LLM client with MiniMax and OpenAI support
- Update config to load from environment variables
- Wire up Architect agent to actually call the LLM
- Add MiniMax API key to local .env file