Foreva AI
Foreva AI Developer Portal

Foreva AI Python SDK

Add AI voice ordering to your restaurant in minutes.

Quick Start

Installation

pip install foreva-ai

Basic Usage

from foreva_ai import ForevaAgent, MenuBuilder

# Create agent
agent = ForevaAgent("YOUR_API_KEY", "+14155551234")

# Set restaurant info
agent.set_store("Tony's Pizza", "123 Main St, SF, CA")

# Add menu items
menu = (MenuBuilder()
    .add_category(1, "Pizza")
    .add_item(101, "Margherita", 15.99, 1)
    .add_item(102, "Pepperoni", 17.99, 1)
    .build())

agent.set_menu(menu)

# Go live
result = agent.activate()
print(f"Route calls to: {result['routing_number']}")

That's it! Your AI voice agent is now live and ready to take orders.

Complete Example

See a complete pizza restaurant setup with menu customizations and options.

SDK Methods

View all available SDK methods and parameters.

Support

Need help? Email us at support@foreva.ai