Skip to content

Revisit the AgentService protocol #4

Closed

Description

@rakyll

AgentService should stop support for the bidi streaming. We no longer want sub agents to be able to trigger other agents through the bidi connection. Proto should look like:

message AgentRequest {
  string conversation_id = 1;
  string exec_id = 2;
  AgentStart start = 3;
}

message AgentResponse {
  string conversation_id = 1;
  string exec_id = 2;
  oneof type {
    AgentOutputs outputs = 3;
    AgentEnd end = 4;
  }
}

service AgentService {
  rpc Connect(AgentRequest) returns (stream AgentResponse);
}

The protocol will be revisited in the long term but we can keep Connect as a placeholder in its new form until we have alignment on agent resumption protocols.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions