You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to contribute to the BeeAI Framework documentation by adding an example as an alternative for integrating BeeAI with Watsonx Orchestrate (WxO) using A2A. I know an integration already exists using the BeeAI libraries, but with this new approach.
Below the documentation
Integrating a BeeAI Agent in Watsonx Orchestrate via A2A
You can connect a BeeAI agent to IBM Watsonx Orchestrate to leverage its powerful orchestration capabilities. This guide will walk you through the process of exporting your BeeAI agent and importing it into a Watsonx Orchestrate instance.
Prerequisites
Before you begin, ensure you have the following set up and ready:
A BeeAI Agent: Your agent should be built using the A2A (Agent-to-Agent) protocol.
BeeAI SDK: The BeeAI SDK should be installed and configured.
WxO Instance: An active IBM Watson Orchestrate instance.
For WxO to communicate with your agent, it must be accessible from the internet.
Production: Deploy your agent on a server with a public IP address or a configured domain.
Development: For development and testing, you can use a tool like ngrok to create a secure tunnel to your local machine. This will generate a temporary public URL for your agent.
Step 3: Create the Agent Definition File
WxO requires a YAML file to define the external agent. Create a file (e.g., my-agent.yml) with the following structure. Replace the placeholder values with your agent's specific information.
spec_version: v1kind: externalprovider: external_chat/A2A/0.2.1name: My BeeAI Agenttitle: My BeeAI Agentnickname: My Agentdescription: > A brief and clear description of what your agent does. This helps users understand its capabilities within WxO.api_url: <YOUR_AGENT_PUBLIC_URL> # e.g., https://your-agent-domain.com or https://xxxx.ngrok-free.appchat_params:
agentProtocol: A2Astream: true
Step 4: Log in to Your WxO Instance
Next, use the WxO ADK to log in to your WxO environment. This command adds your instance to the ADK's environment list and activates it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'd like to contribute to the BeeAI Framework documentation by adding an example as an alternative for integrating BeeAI with Watsonx Orchestrate (WxO) using A2A. I know an integration already exists using the BeeAI libraries, but with this new approach.
Below the documentation
Integrating a BeeAI Agent in Watsonx Orchestrate via A2A
You can connect a BeeAI agent to IBM Watsonx Orchestrate to leverage its powerful orchestration capabilities. This guide will walk you through the process of exporting your BeeAI agent and importing it into a Watsonx Orchestrate instance.
Prerequisites
Before you begin, ensure you have the following set up and ready:
Step 1: Create Your BeeAI Agent
First, you need a BeeAI agent that communicates using the A2A protocol. If you're starting out, these resources are excellent references:
Step 2: Expose Your Agent via a Public URL
For WxO to communicate with your agent, it must be accessible from the internet.
ngrokto create a secure tunnel to your local machine. This will generate a temporary public URL for your agent.Step 3: Create the Agent Definition File
WxO requires a YAML file to define the external agent. Create a file (e.g.,
my-agent.yml) with the following structure. Replace the placeholder values with your agent's specific information.Step 4: Log in to Your WxO Instance
Next, use the WxO ADK to log in to your WxO environment. This command adds your instance to the ADK's environment list and activates it.
<YOUR_WXO_INSTANCE_URL>with the API URL of your WxO instance.Step 5: Import the Agent into WxO
Now, import the agent definition file you created in Step 3 into your WxO environment using the following command:
/path/to/your/my-agent.ymlwith the actual path to your YAML file.Step 6: Verify the Import
You can verify that your agent was successfully added to your WxO environment by listing all available agents.
Your agent should appear in the list.
Step 7: Finalize in the WxO UI
The final steps are completed in the Watson Orchestrate user interface:
Beta Was this translation helpful? Give feedback.
All reactions