Skip to main content

Planner Agent

File: examples/lm_studio_planner_agent.py

A richer planning demo that exposes multiple tools for weather, budget policy, venue selection, travel time, and venue cost estimation. The model chooses the minimum set of calls needed.

Run

uv run examples/lm_studio_planner_agent.py --scenario meetup_plan

Scenarios

ScenarioDescription
meetup_planPlans a realistic team meetup in Madrid with weather, budget, venue, and travel constraints
weather_gateChecks whether an outdoor meetup is viable without extra venue/budget work
budget_onlyVerifies a selected venue against the budget, avoids unrelated tool calls
barcelona_shortlistBuilds a short list of Barcelona venues prioritizing logistics and travel from Sants

Custom Prompts

You can override the scenario prompt:

uv run examples/lm_studio_planner_agent.py --scenario meetup_plan --prompt "Plan an offsite in Berlin"

💬 Comments