Skip to content

[Feature]: Implement AG-UI to ACP Jaeger AI (PoC) #8252

@Nabil-Salah

Description

@Nabil-Salah

Requirement

Requirement

Implement a Proof of Concept (PoC) for the Jaeger backend to act as a stateless protocol translator bridging the frontend UI and an external AI sidecar. The backend must accept connections using the AG-UI protocol (from CopilotKit) and proxy those requests to an external "Bring Your Own Agent" (BYOA) sidecar using the Agent Client Protocol (ACP) over WebSockets/application (stdin/stdout).

Context & References

Architecture & Request Flow

Implementation Tasks for PoC

  1. Gateway Routing & Auth
  • Create the jaegerai package and register the /api/ai/chat HTTP handler.
  • Ensure the handler utilizes existing Jaeger tenancy/bearer token middleware.
  1. Protocol Translation (Go Backend)
  • Define the Go structs required to parse incoming AG-UI requests.
  • Implement the ACP WebSockets adapter to dial the external sidecar (e.g., ws://localhost:9000).
  • Build the streaming loop: Read incoming ACP notifications from the sidecar and format them as AG-UI Server-Sent Events (SSE) for the HTTP response writer.
  1. Test Environment (The Sidecar)
  • Provide a lightweight Python sidecar script using the official agentclientprotocol SDK and Gemini API to act as the test target for the Go gateway.

Problem

Proposal

No response

Open questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    changelog:new-featureChange that should be called out as new feature in CHANGELOGenhancementgoPull requests that update go code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions