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

Aperta
#3,642 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
4.5k
Fork
937
Merge medio
1g 10h
PR unite (30g)
150

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kagent-dev/kagent

Tutte le issue di kagent-dev/kagent

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.