Skip to main content

Code

cookbook/05_agent_os/interfaces/whatsapp/reasoning_agent.py

Usage

1

Set up your virtual environment

2

Set Environment Variables

See the WhatsApp Bot setup guide for how to get these values from the Meta Developer Dashboard.
3

Install dependencies

4

Run Example

Key Features

  • Advanced Reasoning: ReasoningTools for step-by-step financial analysis
  • Real-time Data: Stock prices, analyst recommendations, company news
  • Claude Powered: Superior analytical and reasoning capabilities
  • Structured Output: Well-formatted tables and financial insights
  • Show Reasoning: Use show_reasoning=True on the Whatsapp interface to see the model’s thought process