Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: A2A send/get task documentation#1737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dat-adi wants to merge5 commits intopydantic:main
base:main
Choose a base branch
Loading
fromdat-adi:docs/1726

Conversation

dat-adi
Copy link

  • Added in documentation for client-server interaction with the A2A agent, using theA2AClient andMessage object.
  • Addressedsend_task andget_task.
  • Added content on in-progress and completed tasks on the side of the provider.

@hyperlint-aiHyperlint AI
Copy link
Contributor

PR Change Summary

Enhanced documentation for A2A client-server interaction, focusing on task management.

  • Added documentation for using the A2AClient to send and get tasks.
  • Included examples for sending tasks and retrieving their status.
  • Documented handling of in-progress and completed tasks.

Modified Files

  • docs/a2a.md

How can I customize these reviews?

Check out theHyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add thehyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to addhyperlint-ignore to the PR to ignore the link check for this PR.

@dat-adi
Copy link
Author

Resolvespydantic/fasta2a#3

@cristiangreco94
Copy link

nice docs. it would also be useful to have an example of how to expose an A2A Agent X to another pydantic-AI Agent Y, just like pydantic-AI agents take mcp_servers as input parameters in the constructor. I know this is not implemented yet, but having a workaround example would be useful and may be relevant to this contribution.

@dat-adi
Copy link
Author

Thanks for the input!
It's worthy of consideration and I'll look into it.

@dat-adi
Copy link
Author

@Kludex could you look into this? I'm bumping this again in case it missed your notifications.

@wreed4
Copy link

nice docs. it would also be useful to have an example of how to expose an A2A Agent X to another pydantic-AI Agent Y, just like pydantic-AI agents take mcp_servers as input parameters in the constructor. I know this is not implemented yet, but having a workaround example would be useful and may be relevant to this contribution.

Yes please. I find this lacking in almost every single A2A reference material I can find and frankly the ability to send one-off requests to an A2A server is really uninteresting. The main value of this protocol is in how to expose it to another agent without just tossing it in as a tool. I wouldlove an example of that cause honestly I'm a bit at a loss 😆 .

ArthurJ reacted with thumbs up emoji

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

@KludexKludexAwaiting requested review from Kludex

Assignees

@KludexKludex

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@dat-adi@cristiangreco94@wreed4@Kludex

[8]ページ先頭

©2009-2025 Movatter.jp