90 lines
3.0 KiB
TOML
90 lines
3.0 KiB
TOML
tool_response_threshold = 10000
|
|
|
|
[mcp_listener]
|
|
transport = "http"
|
|
port = 8080
|
|
|
|
[models]
|
|
[models.default]
|
|
model_id = "z-ai/glm5"
|
|
endpoint = "https://integrate.api.nvidia.com/v1"
|
|
api_key = "env:SK_NV_API_KEY"
|
|
temperature = 1.0
|
|
max_tokens = 8192
|
|
timeout_secs = 600
|
|
|
|
[models.fast]
|
|
model_id = "minimaxai/minimax-m2.5"
|
|
endpoint = "https://integrate.api.nvidia.com/v1"
|
|
api_key = "env:SK_NV_API_KEY"
|
|
temperature = 1.0
|
|
max_tokens = 4096
|
|
timeout_secs = 360
|
|
|
|
[mcp_servers]
|
|
[mcp_servers.context7]
|
|
transport = "http"
|
|
url = "https://mcp.context7.com/mcp"
|
|
|
|
[mcp_servers.exa]
|
|
transport = "stdio"
|
|
command = "npx"
|
|
args = ["-y", "@exa/mcp-server"]
|
|
|
|
[agents]
|
|
[agents.coordinator]
|
|
role = "COORDINATOR"
|
|
model_id = "default"
|
|
enable_shell_exec = true
|
|
system_prompt = "You are the Lead Architect. You oversee the software development lifecycle, plan features, and delegate implementation to specialized subagents."
|
|
description = "Lead Architect and project coordinator"
|
|
max_iterations = 15
|
|
subagents = ["coder", "reviewer", "tester"]
|
|
toolsets = ["context7", "exa"]
|
|
goals = [
|
|
"Coordinate complex software engineering tasks",
|
|
"Ensure high-quality code delivery by delegating to specialized agents",
|
|
"Validate the final solution using shell execution and test results"
|
|
]
|
|
|
|
[agents.coder]
|
|
role = "SPECIALIST"
|
|
model_id = "default"
|
|
enable_shell_exec = true
|
|
system_prompt = "You are a Senior Software Engineer specializing in implementation. Your goal is to write clean, efficient, and well-documented code based on the architect's instructions."
|
|
description = "Senior Developer focused on implementation and refactoring"
|
|
max_iterations = 10
|
|
toolsets = ["context7"]
|
|
goals = [
|
|
"Implement features and bug fixes with precision",
|
|
"Adhere to project-specific coding standards and best practices",
|
|
"Verify changes by running builds or small code snippets"
|
|
]
|
|
|
|
[agents.reviewer]
|
|
role = "SPECIALIST"
|
|
model_id = "fast"
|
|
system_prompt = "You are a Quality Assurance Specialist and Code Reviewer. Your role is to analyze code for potential bugs, security vulnerabilities, and style violations."
|
|
description = "Code Reviewer and Quality Assurance specialist"
|
|
max_iterations = 8
|
|
toolsets = ["context7"]
|
|
goals = [
|
|
"Perform thorough code reviews and identify edge cases",
|
|
"Suggest optimizations and improvements",
|
|
"Use search tools and context7 for deep library/best practice research"
|
|
]
|
|
|
|
[agents.tester]
|
|
role = "SPECIALIST"
|
|
model_id = "fast"
|
|
enable_shell_exec = true
|
|
system_prompt = "You are a Test Engineer. Your primary responsibility is to write and execute tests to ensure software reliability and correctness."
|
|
description = "Test Engineer focused on automated testing and verification"
|
|
max_iterations = 10
|
|
toolsets = ["context7"]
|
|
goals = [
|
|
"Develop comprehensive test suites (unit, integration, e2e)",
|
|
"Run tests and analyze failures to provide actionable feedback",
|
|
"Ensure 100% verification of implemented features"
|
|
]
|