DataCode sourceFree

LangGraph Currency Agent

Official LangGraph sample for currency conversion, multi-turn dialogue, and streaming updates.

Pricing

Free

Data

Curated resource

Technical badges

LangGraphPython1.0-alpha

Marketplace signals

Views1K
Gets0
RatingNo ratings yet

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

TextJSON

Supported output

TextJSON

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.

Configure `GOOGLE_API_KEY` or an OpenAI-compatible tool model, run `uv run .`, then connect from the sample A2A client.

Ratings

No ratings yet

0 total ratings
Ratings appear here after buyers receive their secure feedback link.

Comments

Buyer discussion

0 total comments
No comments yet. The first useful buyer note can set the tone here.

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.