[FEATURE] Declared agent-to-agent delegation for Substrate actors (follow-up to #3007 deferral of subAgent.agentRef)

Abierto
#3,642 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
go

Línea de trabajo

Read runtimeauth.Authorizer, docs/architecture/a2a-gateway.md, and the prior discussion in #3007 to understand the current actor access rules and deferred design. The issue asks maintainers to choose between subAgent.agentRef and configurable actor grants; implementation and completion criteria depend on that decision.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

On v1.0.0, an Agent running as a Substrate actor cannot call another Agent. runtimeauth.Authorizer allows an actor to get only its own Agent and Session, and docs/architecture/a2a-gateway.md says that cross-agent delegation and configurable actor grants are not implemented.

The workarounds don't cover it:

  • The shared subAgent.templateRef compiles into the parent's runtime, so it can't give the peer its own MCP servers, credentials, Session or harness.
  • invoke_agent (#3486) is unavailable to actors for the same reason.

We carry a small patch for this (planeodev/kagent#12). Peers must be declared by annotation and be in the same namespace. Calls are served on behalf of the Session owner, and no bearer token is passed to the peer. We would like to upstream this policy, either as part of Dedicated subagents or as configurable actor grants.

Question: which shape do the maintainers prefer?

  1. subAgent.agentRef with the same rule (the follow-up deferred in #3007).
  2. An actor grant in the authorizer configuration.

We're happy to send the PR for whichever shape you pick.

Lenguaje dominante
Go
Estrellas
4.5k
Forks
937
Merge medio
1 d 10 h
PR fusionados (30 d)
150

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de kagent-dev/kagent

Todos los issues de kagent-dev/kagent

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.