planner

command
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

@sk-task planner#T4.3: runnable example demonstrating agent-level planning

This example demonstrates an agent with Planning enabled:

  1. Agent generates a plan before executing a task
  2. Plan is injected into the system prompt
  3. Agent executes the task with the plan as context
  4. 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/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL