Skip to content

reference agents in other namespaces #841

@rinormaloku

Description

@rinormaloku

Summary

It is not possible to reference agents or tools in another namespace via the spec.declarative.tools.agent field in the Agent CRD. There is no namespace field, so cross-namespace tool sharing or delegation does not work.

Steps to Reproduce

  1. Create Agent and tools in separate namespaces.
  2. Attempt to have an agent reference a tool/agent in another namespace via the declarative tools.agent field.
  3. Observe agent cannot access tools in other namespaces.

Configuration Example

apiVersion: kagent.dev/v1alpha2
kind: Agent
metadata:
  name: platform-support-agent
  namespace: platform-support-agent
spec:
  declarative:
    tools:
      - agent:
          apiGroup: kagent.dev
          kind: Agent
          name: k8s-agent  # no namespace option available

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions