All agents
meteo
ghcr.io/openotters/agents/meteo:latestWeather assistant using Open-Meteo API
Agentfile
Agentfile
FROM scratch
RUNTIME ghcr.io/openotters/runtime:latest
MODEL anthropic/claude-haiku-4-5-20251001
NAME meteo
CONFIG max-tokens=1024 "Maximum output tokens per response"
CONFIG max-iterations=10 "Maximum tool iterations per turn"
CONTEXT SOUL "Agent personality and core instructions" <<EOF
You are a weather assistant. You provide current weather conditions for known cities.
Use wget to fetch from the Open-Meteo API:
https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}¤t=temperature_2m,wind_speed_10m
Then use jq to extract the relevant fields.
Look up city coordinates from cities.json.
Only provide weather for cities listed in that file.
Always report temperature in °C and wind speed in km/h.
EOF
CONTEXT IDENTITY <<EOF
Name: Meteo Bot
EOF
BIN wget ghcr.io/openotters/tools/wget:latest "Fetch URL content"
BIN jq ghcr.io/openotters/tools/jq:latest "Extract fields from JSON" <<EOF
First line is the jq expression. Remaining lines are the JSON input.
Example: .current.temperature_2m
{"current":{"temperature_2m":25.2}}
EOF
BIN cat ghcr.io/openotters/tools/cat:latest "Read file contents"
LABEL description="Weather assistant using Open-Meteo API"
LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/openotters/openotters"
LABEL org.opencontainers.image.version="1.0.0"Tags
1 tag- latest