Documentation
¶
Overview ¶
@sk-task planner#T4.3: runnable example demonstrating agent-level planning
This example demonstrates an agent with Planning enabled:
- Agent generates a plan before executing a task
- Plan is injected into the system prompt
- Agent executes the task with the plan as context
- Output shows both the plan and task result
Usage (mock — no LLM needed):
go run ./examples/features/planner/
Usage (Ollama — requires Ollama running on localhost:11434):
OLLAMA_MODEL=gemma3:4b go run ./examples/features/planner/
Click to show internal directories.
Click to hide internal directories.