34 lines
741 B
Python
34 lines
741 B
Python
"""
|
|
Task Agent - Full orchestrator for autonomous task execution.
|
|
|
|
The Task agent can:
|
|
- Execute multi-step tasks autonomously
|
|
- Use all tools (read + write + bash)
|
|
- Spawn sub-agents (Explore, Plan) for focused work
|
|
- Return consolidated task summaries
|
|
|
|
Usage:
|
|
from src.domains.agents.task import task_agent, task
|
|
|
|
# Direct agent access
|
|
result = await task_agent.run("Create a new user model with tests")
|
|
|
|
# Convenience function
|
|
result = await task("Create a new user model with tests")
|
|
"""
|
|
from src.domains.agents.task.agent import (
|
|
TaskAgentImpl,
|
|
TaskContext,
|
|
task_agent,
|
|
task,
|
|
task_stream,
|
|
)
|
|
|
|
__all__ = [
|
|
"TaskAgentImpl",
|
|
"TaskContext",
|
|
"task_agent",
|
|
"task",
|
|
"task_stream",
|
|
]
|