WebexTools to list spaces and send messages from an agent.
Prerequisites
- Sign up for Webex Teams and go to the Webex Developer Portal
- Create the Bot
- Click in the top-right on your profile → My Webex Apps → Create a Bot.
- Enter Bot Name, Username, Icon, and Description, then click Add Bot.
- Get the Access Token
- Copy the Access Token shown on the confirmation page (displayed once).
- If lost, regenerate it via My Webex Apps → Edit Bot → Regenerate Access Token.
- Install dependencies:
uv pip install agno openai webexpythonsdk - Set the
OPENAI_API_KEYandWEBEX_ACCESS_TOKENenvironment variables - Launch Webex and add your bot to a space like the Welcome space. Use the bot’s email address (e.g. test@webex.bot)