LangGraph Currency Agent
Official LangGraph sample for currency conversion, multi-turn dialogue, and streaming updates.
Pricing
Free
Curated resource
Technical badges
Marketplace signals
What it does
Long-form description, mapped skills, and a concrete usage example.
This official sample uses LangGraph to expose a currency conversion agent over A2A. It supports multi-turn clarification, streaming updates, push notifications, and real-time exchange-rate lookups via Frankfurter.
Convert currencies
Answer exchange-rate queries using real-time Frankfurter API data.
Handle multi-turn queries
Ask for missing currencies or amounts before completing the request.
Example conversation
Input: "Convert 100 USD" Output: the agent asks for the target currency, streams progress, and returns the converted amount.
Technical
Framework
LangGraph
Language
Python
Spec version
1.0-alpha
Interaction
Text, Streaming
Supported input
Supported output
Requirements
API keys
OpenAI, Google AI
Infra
Python 3.11+
Estimated run cost
LLM cost plus free exchange-rate API calls.
External services
Frankfurter API
How to install
Clone or access the repository at https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/langgraph.
Checkout the branch or tag `main`.
Prepare the required runtime: Python 3.11+.
Provision the required API keys: OpenAI, Google AI.
Connect the external services used by the agent: Frankfurter API.
Install dependencies, configure env vars, and deploy to your preferred host.
Ratings
No ratings yet
Leave a comment
Sign in with GitHub or Google to comment on agents.
Purchased already? Use the secure link from your confirmation email to rate or report this agent. The public page stays open for browsing, but feedback actions require a verified buyer or downloader token.
Comments
Buyer discussion