a2a-openai-agent-sample

darkhaniop
3
A sample agent (CurrencyAgent) utilizing the OpenAI Agents API and served via the A2A protocol.

Overview

What is a2a-openai-agent-sample

a2a-openai-agent-sample is a sample agent called CurrencyAgent that utilizes the OpenAI Agents API and is served via the A2A protocol. It is designed to demonstrate how to integrate OpenAI's capabilities with the A2A framework.

How to Use

To use a2a-openai-agent-sample, clone the repository, install dependencies using 'uv sync', set the OPENAI_API_KEY environment variable, and start the server using 'uv run python -m a2a_openai_agent_sample'. You can then interact with the agent through a sample client.

Key Features

Key features include the ability to query currency exchange rates, historical data retrieval, and integration with the OpenAI Agents SDK. The agent is designed to handle currency-related queries specifically.

Where to Use

a2a-openai-agent-sample can be used in financial applications, currency exchange platforms, and any system that requires real-time currency information or historical exchange data.

Use Cases

Use cases include querying current exchange rates, retrieving historical currency data, and assisting users with currency-related inquiries in chatbots or financial applications.

Content