Skip to content

feat(faz4): Add multi-agent LLM system with orchestrator, planner, ex…#4

Merged
Kaangml merged 1 commit intomainfrom
feature
Nov 27, 2025
Merged

feat(faz4): Add multi-agent LLM system with orchestrator, planner, ex…#4
Kaangml merged 1 commit intomainfrom
feature

Conversation

@Kaangml
Copy link
Owner

@Kaangml Kaangml commented Nov 27, 2025

…ecutor, evaluator

Multi-agent architecture:

  • Orchestrator: Coordinates plan→execute→evaluate loop
  • PlannerAgent: DOM-aware multi-step planning with LLM
  • ExecutorAgent: Step execution with retry logic
  • EvaluatorAgent: Result analysis and re-planning triggers

LLM provider abstraction:

  • BaseLLMProvider with Message/LLMResponse dataclasses
  • AWS Bedrock provider (langchain-aws)
  • Google Gemini provider (langchain-google-genai)
  • OpenAI provider (langchain-openai)
  • MockLLMProvider for testing without API calls
  • Factory for provider creation by role

Browser enhancements:

  • DOMAnalyzer for intelligent page structure extraction
  • PageStructure model for interactive elements and forms

Configuration:

  • .env.example with all provider API key templates
  • LLMConfig with load_from_env() support

Testing:

  • 68 tests passing, comprehensive coverage for new components
  • All tests use MockLLMProvider (no real API calls needed)

…ecutor, evaluator

Multi-agent architecture:
- Orchestrator: Coordinates plan→execute→evaluate loop
- PlannerAgent: DOM-aware multi-step planning with LLM
- ExecutorAgent: Step execution with retry logic
- EvaluatorAgent: Result analysis and re-planning triggers

LLM provider abstraction:
- BaseLLMProvider with Message/LLMResponse dataclasses
- AWS Bedrock provider (langchain-aws)
- Google Gemini provider (langchain-google-genai)
- OpenAI provider (langchain-openai)
- MockLLMProvider for testing without API calls
- Factory for provider creation by role

Browser enhancements:
- DOMAnalyzer for intelligent page structure extraction
- PageStructure model for interactive elements and forms

Configuration:
- .env.example with all provider API key templates
- LLMConfig with load_from_env() support

Testing:
- 68 tests passing, comprehensive coverage for new components
- All tests use MockLLMProvider (no real API calls needed)
@Kaangml Kaangml merged commit 5210bba into main Nov 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant