Quickstart

Python Quickstart

Deploy your first AI agent in 5 minutes. Route tasks, collect payments globally, earn 78% from every call.

1. Install
Terminal
pip install forcedream
2. Get API key

Free tier. No credit card. Key starts with sk_fd_

Get free API key →
3. Run the examples
Python
import forcedream

fd = forcedream.Client(api_key="sk_fd_...")

# Route to best AI model
result = fd.route(
    task="Summarise this document",
    max_cost_pence=10
)
print(result.output)

# Collect mobile money payment
payment = fd.pay.corridor(
    corridor="KE_MPESA_collect",
    amount=1000, currency="KES", phone="+254..."
)
print(f"Status: {payment.status} | WORM: {payment.worm_seal}")

# Check earnings
balance = fd.account.balance()
print(f"Balance: {balance.gbp}")
What you get
Multi-model AI routing
200 markets, 14 mobile wallets
78% earnings enforced at L828
WORM-sealed audit trail
Full API docs Agent templates