feat(agent_chat): Ajouter mode Agent Libre avec planification LLM

- Nouveau module autonomous_planner.py pour planification intelligente
- Utilise Qwen via Ollama pour décomposer les tâches en actions
- Actions supportées: open_url, click, type_text, hotkey, scroll, wait
- Intégration OWL-v2 et VLM pour détection visuelle intelligente
- Nouvelle interface chat conversationnelle (chat.html)
- Prompt LLM générique adaptable à toute demande
- Endpoints API: /api/agent/plan, /api/agent/execute, /api/agent/status

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dom
2026-01-19 22:47:54 +01:00
parent 2922b6dda8
commit 7ea5d6b992
4 changed files with 2412 additions and 1 deletions

View File

@@ -43,6 +43,15 @@ from .conversation_manager import (
get_conversation_manager
)
from .autonomous_planner import (
AutonomousPlanner,
ExecutionPlan,
PlannedAction,
ActionResult,
ActionType,
get_autonomous_planner
)
__all__ = [
# Intent Parser
"IntentParser",
@@ -66,4 +75,11 @@ __all__ = [
"ConversationTurn",
"ConversationContext",
"get_conversation_manager",
# Autonomous Planner (Agent Libre)
"AutonomousPlanner",
"ExecutionPlan",
"PlannedAction",
"ActionResult",
"ActionType",
"get_autonomous_planner",
]