Skip to content

Conversation

@zzstoatzz
Copy link
Contributor

@zzstoatzz zzstoatzz commented Apr 11, 2025

sample agent integration with A2A illustrating multi-turn interrogation to extract ContactInfo from a user

this example is using marvin, which:

  • has a familiar Agent.run method that accepts result_type: T so an agent can produce many different structured outputs (using tools: list[Callable[..., T]]) if desired
  • has streaming / wide model support via pydantic-ai
example usage
» MARVIN_LOG_LEVEL=DEBUG MARVIN_DATABASE_URL=sqlite+aiosqlite:///test.db uv run agents/marvin
image
» uv run hosts/cli --agent http://localhost:10001
image

@google-cla
Copy link

google-cla bot commented Apr 11, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@zzstoatzz zzstoatzz marked this pull request as ready for review April 11, 2025 21:33
@zzstoatzz zzstoatzz marked this pull request as draft April 12, 2025 04:01
@zzstoatzz zzstoatzz force-pushed the main branch 3 times, most recently from 940ef76 to 89d87d3 Compare April 12, 2025 04:49
@zzstoatzz zzstoatzz marked this pull request as ready for review April 12, 2025 05:21
@zzstoatzz
Copy link
Contributor Author

zzstoatzz commented Apr 18, 2025

hi @kthota-g - sorry for the tag but should be ready when you have a chance

@zzstoatzz
Copy link
Contributor Author

thanks for the review @kthota-g ! feedback should be addressed in 5c0c3c9

@kthota-g kthota-g merged commit 70471d0 into a2aproject:main Apr 18, 2025
1 check passed
dudutwizer pushed a commit to xpander-ai/A2A that referenced this pull request Apr 23, 2025
* merge conflict

* merge conflict

* update readme

* small fix

* multi turn

* improve and fix multiturn

clean up

update link

update type

readme

* clean up

nit

* lockfile

* update readme

* address review comments

clarify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants