This directory contains example YAML configuration files for the nodetool agent command.
Autonomous research agent for gathering and synthesizing information from the web.
Use cases:
Tools:
Example:
nodetool agent \
--config examples/agents/research-agent.yaml \
--prompt "Research the latest developments in quantum computing"
AI coding assistant for development tasks, debugging, and code review.
Use cases:
Tools:
Example:
nodetool agent \
--config examples/agents/code-assistant.yaml \
--prompt "Create a Python script to parse CSV files and generate visualizations"
Creative writing agent for generating blog posts, marketing content, and documentation.
Use cases:
Tools:
Example:
nodetool agent \
--config examples/agents/content-creator.yaml \
--prompt "Write a blog post about sustainable software development practices"
Minimal agent configuration showing required fields only.
Use cases:
Example:
nodetool agent \
--config examples/agents/minimal.yaml \
--prompt "Summarize the main features of NodeTool"
name: my-agent
description: Agent description
system_prompt: |
Agent instructions and behavior
model:
provider: openai
id: gpt-4o
planning_agent:
enabled: true
model:
provider: openai
id: gpt-4o-mini
tools:
- write_file
- read_file
max_tokens: 8192
System Prompt:
Model Selection:
Tool Configuration:
Parameters:
nodetool agent --config your-agent.yaml --prompt "Simple test task"
nodetool agent --config your-agent.yaml --interactive
This allows multi-turn conversations to test different scenarios.
# Test multiple prompts
for prompt in "Test 1" "Test 2" "Test 3"; do
nodetool agent --config your-agent.yaml --prompt "$prompt" --jsonl
done
For complete documentation, see:
Solution: Increase max_iterations or improve system_prompt specificity
max_iterations: 20 # Increase from default 10
Solution: Verify tool is available and properly configured
nodetool agent --config agent.yaml --interactive
> /tools # List available tools
Solution: Use local models or add retry logic
model:
provider: ollama
id: llama3.2:3b # Local model, no rate limits
Solution: Use faster models for planning agent
planning_agent:
model:
provider: openai
id: gpt-4o-mini # Fast and cost-effective
To add new example configurations:
data-analyst.yaml)These examples are provided under the same license as NodeTool (AGPL-3.0).