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

オープン
#3,642 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
go

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
4.5k
フォーク
937
平均マージ
1日 10時間
マージ済み PR(30日)
150

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kagent-dev/kagent のほかの issue

kagent-dev/kagent の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。