For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
346
Sponsor

Weather

Looks up the current weather for a location via the Open-Meteo API.

Output will stream here when you run the agent.

Summary

The Weather Agent is the classic starter: ask about a place and it reports the current conditions. It geocodes the location and fetches live weather from the free Open-Meteo API — no key required. Reach for it as a minimal, end-to-end example of an agent with a single tool.

Installation

$ pnpm dlx shadcn@latest add @agentcn/langgraph/weather

Composition

├── index.ts
├── instructions.md
├── tools/get_weather.ts

Customization

  • Edit index.ts to change the model, description, or system prompt.
  • Add route-local tools under tools/; tool input and output types are inferred from TypeScript.
  • Run dawn verify before deploying generated LangGraph artifacts.