Skip to content

epic: Refactor Kagenti APIs for a Compositional Agent Platform Architecture #523

Closed as not planned

Description

@pdettori

Goal

Transition Kagenti from inheritance-based CRDs to a compositional API model that augments standard Kubernetes workloads (Deployment, StatefulSet, Job) with modular agentic capabilities—identity, discovery, and observability—while simplifying build and deployment workflows.


Phase 1 – Build Migration

Objective: Decouple build logic from Kagenti and adopt a lightweight, Kubernetes-native build system.


Phase 2 – Agentic Workloads Migration

Objective: Replace Agent CRD with standard Kubernetes workloads and enable agentic features via admission webhook.


Phase 3 – MCPServer Workload Migration

Objective: Remove ToolHive abstraction and migrate MCPServer to standard Kubernetes primitives.


Phase 4 – Composition API Introduction

Objective: Introduce modular CRDs for agentic capabilities and consolidate operator logic.

  • Design composition APIs for TokenExchange, AgentCard and AgentTrace #560
    • TokenExchange (Identity & Delegated Authorization)
    • AgentCard (Discoverability & Connectivity)
    • AgentTrace (Observability & Tracing)
  • Implement single controller manager for all composition APIs (Istiod-style consolidation).
  • Extend admission webhook and operator to integrate with new APIs.
  • Explore proxy injection and composite API patterns for MCP stdio support.

Architectural Principles

  • Compose, don’t replace: Reference existing workloads via targetRef instead of embedding PodSpecs.
  • Non-intrusive: Avoid mandatory workload abstractions; enable incremental adoption.
  • Modular: Each capability (identity, discovery, observability) is an independent CRD.
  • Future-proof: Design clean interfaces for possible future separation of controllers.

Activity

  1. added theissue type on Jan 16, 2026
  2. amfred commented on Jan 16, 2026

    @amfred

    I love where this is going...

  3. github-actions commented on May 3, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this issue is still relevant, please comment or remove the stale label.

  4. github-actions commented on May 17, 2026

    @github-actions

    This issue was closed because it has been stale for 14 days with no activity. Feel free to reopen if this is still relevant.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions