{"id":27183149,"url":"https://github.com/greathayat/exploring-agents-sdk","last_synced_at":"2026-04-25T12:36:49.501Z","repository":{"id":284647431,"uuid":"955619505","full_name":"GreatHayat/exploring-agents-sdk","owner":"GreatHayat","description":"This repository will help you to learn OpenAI's Agents SDK by creating 3 agents.","archived":false,"fork":false,"pushed_at":"2025-03-26T23:47:34.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T15:57:48.914Z","etag":null,"topics":["agentic-ai","agents","agents-sdk","ai","google-calendar-api","llm","openai-agent-sdk","openai-agents","python","weather-agent"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreatHayat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-26T23:35:45.000Z","updated_at":"2025-03-26T23:49:17.000Z","dependencies_parsed_at":"2025-03-27T00:39:22.281Z","dependency_job_id":null,"html_url":"https://github.com/GreatHayat/exploring-agents-sdk","commit_stats":null,"previous_names":["greathayat/exploring-agents-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GreatHayat/exploring-agents-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Fexploring-agents-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Fexploring-agents-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Fexploring-agents-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Fexploring-agents-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreatHayat","download_url":"https://codeload.github.com/GreatHayat/exploring-agents-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatHayat%2Fexploring-agents-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","agents","agents-sdk","ai","google-calendar-api","llm","openai-agent-sdk","openai-agents","python","weather-agent"],"created_at":"2025-04-09T15:55:27.649Z","updated_at":"2026-04-25T12:36:49.480Z","avatar_url":"https://github.com/GreatHayat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Agents Repository\n\nThis repository provides implementations of AI agents utilizing the OpenAI Agents SDK. The agents included are:\n\n- **Basic Agent**: A foundational agent demonstrating the core functionalities of the OpenAI Agents SDK.\n- **Weather Agent**: An agent that fetches current weather information using the OpenWeatherMap API.\n- **Appointment Agent**: An agent that interacts with Google Calendar API to search for and create events.\n\n## Prerequisites\n\nBefore running the agents, ensure you have the following:\n\n- **Python 3.10+**: The codebase is compatible with Python version 3.10 and above.\n- **OpenAI Agents SDK**: A lightweight framework for building agentic AI applications.\n- **API Keys**:\n  - **OpenAI API Key**: Required for utilizing the OpenAI Agents SDK.\n  - **OpenWeatherMap API Key**: Needed for the Weather Agent to fetch weather data.\n  - **Google Calendar API Credentials**: Necessary for the Appointment Agent to access and manage calendar events.\n\n## Installation\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/yourusername/ai-agents-repo.git\n   cd ai-agents-repo\n   ```\n\n\n2. **Set Up a Virtual Environment** (Optional but recommended):\n\n   ```bash\n   python3 -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n\n3. **Install Dependencies**:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n\n## Configuration\n\n1. **OpenAI API Key**:\n\n   Set the `OPENAI_API_KEY` environment variable:\n\n   ```bash\n   export OPENAI_API_KEY='your_openai_api_key'\n   ```\n\n\n   Replace `'your_openai_api_key'` with your actual OpenAI API key.\n\n2. **OpenWeatherMap API Key**:\n\n   Set the `OPEN_WEATHER_API_KEY` environment variable:\n\n   ```bash\n   export OPEN_WEATHER_API_KEY='your_openweather_api_key'\n   ```\n\n\n   Replace `'your_openweather_api_key'` with your actual OpenWeatherMap API key.\n\n3. **Google Calendar API Credentials**:\n\n   Download your `credentials.json` from the Google Cloud Console and place it in the root directory of the project. Ensure the Google Calendar API is enabled for your project.\n\n## Usage\n\n### Basic Agent\n\nTo run the Basic Agent:\n\n\n```bash\npython basic_agent.py\n```\n\n\nThis agent serves as a template to understand the integration of the OpenAI Agents SDK.\n\n### Weather Agent\n\nTo run the Weather Agent:\n\n\n```bash\npython weather_agent.py\n```\n\n\nThis agent fetches current weather data for a specified location using the OpenWeatherMap API. Ensure the `OPEN_WEATHER_API_KEY` is set as an environment variable.\n\n### Appointment Agent\n\nTo run the Appointment Agent:\n\n\n```bash\npython appointment_agent.py\n```\n\n\nThis agent interacts with the Google Calendar API to search for and create events. Ensure that your `credentials.json` is correctly configured and placed in the root directory.\n\n## API References\n\n- **OpenAI Agents SDK**: [Documentation](https://platform.openai.com/docs/guides/agents-sdk)\n- **OpenWeatherMap API**: [Documentation](https://openweathermap.org/api)\n- **Google Calendar API**: [Documentation](https://developers.google.com/calendar)\n---\n\nFor any issues or contributions, please feel free to submit a pull request or open an issue in this repository. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreathayat%2Fexploring-agents-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreathayat%2Fexploring-agents-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreathayat%2Fexploring-agents-sdk/lists"}