Global multi-service agent with intelligent service selection #31
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The current agent only works against a single service at a time (per-service tab). Many real-world tasks require coordinating multiple services.
Solution
Add a global agent accessible from the router dashboard (navbar button + main panel) that:
Changes
Implemented on branch development_31 (commit
297b1f0):Global Multi-Service Agent
A two-step AI agent pipeline that works across all registered services:
Service Selection - LLM reads a compact catalog of all healthy services (name, description, methods) and determines which services the prompt needs. Returns a JSON array of service names.
Multi-Service Code Generation - Stages all selected Python clients, builds a combined system prompt with all interfaces, generates and executes a coordinated Python script with retry loop.
Changes:
API: POST /api/agent with {"prompt": "...", "model": "...", "max_retries": 3}
Returns AgentResponse + selected_services array.
All tests pass (7/7).