# Pregota — Economic Intelligence for everyday commerce > Pregota is everyday commerce, powered by Economic Intelligence: it understands the economy around you — who sells what, where, at what price, and what people need — and connects you to it, on WhatsApp and the web, under your one phone number. ## What Pregota can do - Find shops, products and prices near you — type it, say it or send a photo - Buy and order food — collect it or have it delivered - Book a salon, tutor, mechanic or hotel room - Find a house to rent, or list yours free - Get a ride or send a parcel - Send and keep money — M-Pesa in and out - Sell — open your shop, restaurant, service or rentals - Keep the record — receipts, deliveries and deni (who owes who) Its shelves are live: real products, real prices, in stock or not, by town and estate. Any AI agent can search them. **Your AI. Your Permission. Your Commerce.** An agent a person has connected to her Pregota account (OAuth) can order for her, within the limits she set — and every payment is still her own M-Pesa PIN on her own phone. No agent can pay, and nothing an agent sends counts as payment. ## Search Pregota's shelves - [Search API (OpenAPI 3.1)](https://pregota.com/api/search/v1/openapi.json): free, no key, a fair share per caller. - [Who sells it, where, at what price](https://pregota.com/api/search/v1/offers?q=sugar%20in%20Juja): `GET /api/search/v1/offers?q=&place=&limit=` — English or Swahili ("sukari", "mkate"); cheapest first; when nothing matches by name, the closest listings by meaning, each marked `closest` (not what was asked for). - [Businesses](https://pregota.com/api/search/v1/businesses?q=salons%20in%20Juja): `GET /api/search/v1/businesses?q=&place=` — by name, trade or place. - One listing: `GET /api/search/v1/listings/{id}`; links for the person to buy it herself: `GET /api/search/v1/listings/{id}/prepare?quantity=` (creates nothing). - MCP server: `https://pregota.com/mcp` (Streamable HTTP, stateless) — read tools for anyone (`search_products`, `find_businesses`, `read_listing`, `prepare_order` and more); with her connected account (OAuth: `https://pregota.com/.well-known/oauth-protected-resource`): `submit_order`, `send_gift`, `basket_add` / `basket_checkout` (several shops, one M-Pesa prompt), `order_status`, `my_orders`, `my_preferences`, `my_obligations`. Send an `idempotency_key` with an order to make a retry safe. - UCP (Universal Commerce Protocol): profile at `https://pregota.com/.well-known/ucp` — checkout sessions at `/ucp/v1`, identity linking to her Pregota account, M-Pesa (`com.pregota.mpesa`) as the payment handler, signed order webhooks. - Compare one thing across every shop: `GET /api/search/v1/compare?q=&place=` (MCP tool `compare_prices`) — cheapest first, `middle_kes` only where at least 3 shops list it; sizes are never mixed. - How one thing's price is moving: `GET /api/search/v1/brief?q=&place=&days=` (MCP tool `market_brief`) — the middle now and then, from the same shops' own prices. - Ask one business a question: `GET /api/search/v1/businesses/{handle}/ask?q=` (MCP tool `ask_business`) — answered from what it taught its agent (`business_says`, its own words) or Pregota's records; not known, it says so and gives the person the link to ask the business herself on Pregota. - Each business's agent card: `GET /agents/{handle}` — what agents may do there, as its owner set it (prices shown, in stock said, orders prepared, a daily limit). Every business result carries its `agent_card`. - A quote from the shop's agent: `GET /api/search/v1/listings/{id}/quote?quantity=&agent=` (MCP tool `request_quote`) — price, total, how sure it is there now (`availability`), held 15 minutes, and `confirm.whatsapp`, a link the person opens to accept it herself with her own M-Pesa PIN, within her own spending limits. - A2A (agent-to-agent): agent card at `https://pregota.com/.well-known/agent-card.json`; JSON-RPC `message/send` at `https://pregota.com/a2a` — the same skills, answered at once. ## Rules for agents - Quote prices and shops exactly as returned; a result marked `closest` is not the thing asked for — say so. - Never state a stock count; `in_stock` is all Pregota says — and when it is `null`, the business chose not to say. - Keep each business's rules: when `can_order` is false, give the person the shop page and say why (`next_step`). - Without her connected account you cannot buy: give her the `buy.whatsapp` link. With it, you order within her limits — over them, tell her; only she can change them. - You can never pay or confirm a payment. An order is paid only when M-Pesa confirms her PIN; read `order_status`. ## Pages - [Home](https://pregota.com/) - [Discover shops and services](https://pregota.com/discover) - [Saka Keja — houses to let](https://pregota.com/saka-keja) - [Sitemap](https://pregota.com/sitemap.xml) - [Privacy Policy](https://pregota.com/privacy)