Thanks to visit codestin.com
Credit goes to github.com

Skip to content

reoring/weather-agent

Repository files navigation

weather-agent

This is a minimal sample that uses the OpenAI Responses client (agent_framework.openai.OpenAIResponsesClient). It is a demo Agent application built with the Microsoft Agent Framework. You can run it with uv.

Prerequisites

  • Python 3.10+
  • uv installed (if not installed: curl -LsSf https://astral.sh/uv/install.sh | sh)

Setup

uv sync
cp .env.example .env
# Open .env and set OPENAI_API_KEY and OPENAI_RESPONSES_MODEL_ID

Example .env:

OPENAI_API_KEY=sk-...
OPENAI_RESPONSES_MODEL_ID=gpt-5-nano
# Optional
# OPENAI_ORG_ID=...
# OPENAI_BASE_URL=...

Run

# Entry point (console_script)
uv run weather-agent

# Or run as a module
uv run python -m weather_agent.main

About

Minimal OpenAI Responses agent built with Microsoft Agent Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published