StackA2A
conversationalOfficialpython

Beeai Chat (Official Sample)

59

by A2A Project

Official A2A python sample agent: Beeai Chat

1,329 starsUpdated 2026-02-22apache-2.0
Quality Score59/100
Community
70
Freshness
100
Official
100
Skills
10
Protocol
30
🔒 Security
20

Getting Started

1Clone the repository
$ git clone https://github.com/a2aproject/a2a-samples
2Navigate to the project
$ cd a2a-samples/samples/python/agents/beeai-chat
3Install dependencies
$ pip install -r requirements.txt
4Run the agent
$ python main.py

README

BeeAI Framework A2A Chat Agent

This sample demonstrates how to create a chat agent using the BeeAI Framework with Agent2Agent (A2A) communication protocol. This agent has access to web search and weather tools.

Prerequisites

  • Python 3.10 or higher
  • Ollama installed and running

Run the Sample

  1. Navigate to the samples directory:

    cd samples/python/agents/beeai-chat
    
  2. Create venv and install Requirements

    python -m venv venv
    source venv/bin/activate
    pip install .
    
  3. Pull the model to the ollama:

    ollama pull granite3.3:8b
    
  4. Run the A2A agent:

    python __main__.py
    
  5. Run the BeeAI Chat client

Run using Docker

docker build -t beeai_chat_agent .
docker run -p 9999:9999 -e OLLAMA_API_BASE="http://host.docker.internal:11434" beeai_chat_agent

Capabilities

StreamingPush NotificationsMulti-TurnAuth: none
official-samplepython
View on GitHub