A2a Framework Integrationのロゴ

A2a Framework Integration

組織
OrcaQubits
a2a-framework-integration

Integrate A2A with agent frameworks — Google ADK, LangGraph, CrewAI, AutoGen, AWS Bedrock AgentCore, and Microsoft Azure AI Foundry. Use when connecting framework-built agents to the A2A protocol for inter-agent communication.

概要

公開者OrcaQubits
リポジトリagentic-commerce-skills-plugins
スキル名a2a-framework-integration
スター
40
フォーク
17
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    OrcaQubitsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルA2a Framework IntegrationをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/a2a-multi-agent/skills/a2a-framework-integration
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/a2a-multi-agent/skills/a2a-framework-integration .claude/skills/a2a-framework-integration
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでA2a Framework Integrationを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にA2a Framework Integrationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、A2a Framework Integrationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

A2A Framework Integration

Before writing code

Fetch live docs:

  1. Fetch https://a2a-protocol.org/latest/specification/ for the protocol spec
  2. Web-search site:github.com a2aproject a2a-samples for framework integration examples
  3. Web-search the specific framework's docs for A2A support:
    • site:google.github.io adk a2a agent-to-agent for Google ADK
    • site:langchain-ai.github.io langgraph a2a for LangGraph
    • site:docs.crewai.com a2a for CrewAI
    • site:docs.aws.amazon.com bedrock agentcore a2a for AWS Bedrock
    • site:learn.microsoft.com azure ai-foundry a2a for Microsoft Azure AI Foundry
  4. Fetch SDK docs for framework adapter classes

Conceptual Architecture

Why Framework Integration

Most production agents are built using frameworks (LangGraph, CrewAI, ADK, etc.). A2A framework integration allows these agents to:

  • Expose themselves as A2A servers (other agents can discover and call them)
  • Call other agents as A2A clients (delegate work to specialist agents)
  • Participate in multi-agent systems without rewriting framework-specific code

Google ADK (Agent Development Kit)

Google ADK has native A2A support since it was co-developed alongside A2A:

  • ADK agents can be directly exposed as A2A servers
  • ADK provides A2A client utilities for calling other agents
  • Agent Cards are generated from ADK agent configuration
  • Supports streaming, multi-turn, and push notifications

Integration approach: Use ADK's built-in A2A server/client utilities.

LangGraph / LangChain

LangGraph agents can be wrapped as A2A servers:

  • The graph's invoke/stream methods map to message/send and message/stream
  • Graph state maps to A2A task state
  • Interrupts in LangGraph map to input-required in A2A

Integration approach: Use A2A SDK adapters or build a thin wrapper that translates between LangGraph's interface and A2A's JSON-RPC protocol.

CrewAI

CrewAI's crew-based multi-agent model can integrate with A2A:

  • Individual crew members can be exposed as A2A agents
  • Entire crews can be wrapped as a single A2A agent
  • A2A enables cross-crew communication

Integration approach: Wrap CrewAI agents/crews with an A2A server that translates tasks to crew kickoffs.

AutoGen

Microsoft's AutoGen multi-agent framework:

  • AutoGen agents can be wrapped as A2A servers
  • AutoGen's conversation patterns map to A2A multi-turn
  • Group chat can be exposed as a single A2A agent

Integration approach: Build adapters between AutoGen's message protocol and A2A.

AWS Bedrock AgentCore

AWS Bedrock has added A2A support:

  • Bedrock agents can communicate via A2A
  • AgentCore provides infrastructure for hosting A2A-compatible agents
  • Integration with AWS IAM for authentication

Integration approach: Use Bedrock's A2A-compatible agent hosting and client utilities.

Microsoft Azure AI Foundry

Azure AI Foundry includes A2A support as part of its multi-agent orchestration stack:

  • Foundry-hosted agents can be exposed as A2A servers and consumed as A2A clients
  • Connected Agents and Multi-Agent Workflows interoperate with external A2A endpoints
  • Authentication integrates with Microsoft Entra ID
  • A2A is positioned alongside MCP for cross-vendor agent interoperability

Integration approach: Use Foundry's built-in A2A bindings on agent definitions, and the Foundry SDK's A2A client utilities for outbound calls. Verify the current binding shape against Microsoft Learn before implementing — the surface is evolving.

General Integration Pattern

Regardless of framework, the pattern is:

Exposing a framework agent as A2A server:

  1. Create an Agent Card describing the framework agent's capabilities
  2. Implement a thin A2A server that wraps the framework agent
  3. Map incoming A2A messages to framework input format
  4. Map framework output to A2A task results/artifacts
  5. Handle state mapping (framework states → A2A task states)

Using A2A agents from a framework:

  1. Fetch the target agent's Agent Card
  2. Create an A2A client in the framework's tool/action layer
  3. Map the framework's delegation pattern to A2A message/send or message/stream
  4. Handle A2A responses within the framework's processing flow

State Mapping Challenges

Different frameworks manage state differently:

  • LangGraph: Graph state with checkpoints → A2A task state
  • CrewAI: Crew execution state → A2A task state
  • AutoGen: Conversation history → A2A message history
  • ADK: Native A2A alignment (minimal mapping needed)
  • Azure AI Foundry: Connected Agents / Multi-Agent Workflow state → A2A task state

Best Practices

  • Use the simplest integration pattern that works — don't over-abstract
  • Test framework-specific edge cases (timeouts, retries, error handling)
  • Document the state mapping between the framework and A2A
  • Keep the adapter layer as thin as possible
  • Check for official A2A adapters before building custom ones
  • Handle framework-specific features that don't map cleanly to A2A (e.g., LangGraph branching)
  • Version your adapters alongside framework version upgrades

Fetch the latest framework documentation and A2A SDK adapters before implementing integrations.

よくある質問

AIスキル「A2a Framework Integration」では何ができますか?

Integrate A2A with agent frameworks — Google ADK, LangGraph, CrewAI, AutoGen, AWS Bedrock AgentCore, and Microsoft Azure AI Foundry. Use when connecting framework-built agents to the A2A protocol for inter-agent communication.

TypingMindでA2a Framework Integrationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。A2a Framework Integrationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにA2a Framework Integrationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/a2a-multi-agent/skills/a2a-framework-integrationを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

A2a Framework Integrationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

A2a Framework Integrationは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもA2a Framework Integrationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「A2a Framework Integration」は無料ですか?

はい。OrcaQubitsがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇