Skip to content

[Question] Streaming vs Invocation #1112

Description

@carmine-sacco

Can an agent offer a streaming interface and an invocation interface? If it is so, is there any way to understand the type of request on AgentExecutor?

Let me say that I'm trying to build an Agent which performs two type of operations:

  1. Very long and complex operation which provides status updates every time that it completes an operation
  2. Fast and simple operation like print the content of the file X.

I'd like to provide the first operation as streaming and the second one as a simple invocation. How can I do it using A2A which sends request to the same interface.

Should I create a different executor for each AgentInterface?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions