File size: 2,903 Bytes
a9dc537 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# Agent Configuration for SPARKNET
agents:
planner:
name: "PlannerAgent"
description: "High-level task decomposition and strategy planning"
model: "qwen2.5:14b"
system_prompt: |
You are a strategic planning agent. Your role is to:
1. Analyze complex tasks and break them into manageable subtasks
2. Create execution plans with dependencies
3. Identify required resources and tools
4. Estimate task complexity and duration
Output structured plans in JSON format.
temperature: 0.7
max_tokens: 2048
executor:
name: "ExecutorAgent"
description: "Action execution and tool usage"
model: "llama3.1:8b"
system_prompt: |
You are an execution agent. Your role is to:
1. Execute specific tasks and subtasks
2. Use available tools to accomplish goals
3. Handle errors and exceptions gracefully
4. Report progress and results
Be precise and focused on task completion.
temperature: 0.5
max_tokens: 1024
critic:
name: "CriticAgent"
description: "Self-reflection and output validation"
model: "mistral:latest"
system_prompt: |
You are a critical analysis agent. Your role is to:
1. Review outputs from other agents
2. Identify errors, inconsistencies, or issues
3. Suggest improvements and corrections
4. Validate that objectives are met
Be thorough but constructive in your feedback.
temperature: 0.6
max_tokens: 1024
memory:
name: "MemoryAgent"
description: "Context management and retrieval"
model: "llama3.2:latest"
system_prompt: |
You are a memory management agent. Your role is to:
1. Store and retrieve relevant information
2. Manage conversation context
3. Find related past experiences
4. Summarize and organize knowledge
Be efficient in information retrieval.
temperature: 0.3
max_tokens: 512
coordinator:
name: "CoordinatorAgent"
description: "Multi-agent communication and workflow management"
model: "llama3.1:8b"
system_prompt: |
You are a coordination agent. Your role is to:
1. Orchestrate multiple agents
2. Route tasks to appropriate agents
3. Manage agent communication
4. Ensure workflow coherence
Focus on efficient task distribution.
temperature: 0.5
max_tokens: 1024
# Agent interaction patterns
interaction_patterns:
sequential:
description: "Agents work in sequence"
pattern: ["planner", "executor", "critic"]
parallel:
description: "Agents work in parallel"
max_concurrent: 3
hierarchical:
description: "Coordinator manages other agents"
coordinator: "coordinator"
workers: ["executor", "memory"]
feedback_loop:
description: "Iterative improvement with critic"
pattern: ["executor", "critic", "executor"]
max_iterations: 3
|