USSD-AI Code on GitHub

Ask AI from any phone.

No data, no app and no smartphone needed. Dial *384*24#, pick a topic and type your question. The answer shows on the screen in a few seconds, and the full answer arrives by SMS. It starts with English and four West African languages: Pidgin, Yoruba, Hausa and Igbo.

Or watch one in another language:

Step 1 of 4

Press the green key to dial.

Press the green key on the phone, or the Dial button. It sends *384*24# to the network, the same as dialling on a real phone.

You can also use the phone itself. The green key sends, the red key ends, and the two blank keys under the screen do what their labels at the bottom of the screen say. To type letters, press a number key more than once: 2 once for A, twice for B.

How a session works

USSD is the GSM technology from the 1990s behind airtime balance codes. It runs on every phone, on 2G, without a data bundle. USSD-AI puts an AI behind it.

  1. 1

    Dial

    Dial *384*24# on any phone. A menu appears.

  2. 2

    Pick a topic

    Press 1 to 4 for a topic, or 5 to change the language.

  3. 3

    Ask

    Type your question with the keypad and press Send.

  4. 4

    Read the answer

    A short answer fits the screen. Press 1 and the full answer comes by SMS.

What happens between the phone and the AI
  1. Button phonesends what you pressed over USSD or SMS
  2. Mobile networkMTN, Airtel, Glo and others
  3. Africa's Talkingforwards the whole session to our server
  4. USSD-AImenus, safety checks, fits text to the screen
  5. Geminiwrites the answer in your language

If a phone can check airtime, it can ask USSD-AI.

Across Africa, people use USSD every day to buy airtime and move money, on phones that cannot open a website. The same channel can carry a question and bring back an answer.

Four topics on the main menu

Each topic has its own instructions for the AI, written for Africa. On a real network, answers fit the caller's country, worked out from their phone number. Pick a topic and the phone above asks it for you.

A farmer holding freshly picked tomatoes
  • 1 Study help

    Explains school topics simply, with a short example.

  • 2 Farming

    Practical advice with inputs a farmer can buy in a local market. It never suggests the storage fumigants that poison families, and recommends drying grain and sealed PICS bags instead.

  • 3 Health

    General information only, never a diagnosis or a dose. Emergency words skip the AI and show 112.

  • 4 Business & money

    Record keeping, pricing and saving, with amounts in the local currency.

One menu, five languages

Press 5 on the main menu to switch. Menus change straight away, and the AI answers in the same language.

Yoruba, Hausa and Igbo are written without tone marks so that every phone can show them. One accented letter would turn a 160-character SMS into a 70-character one.

Behind the screen

Every key you press on the phone above sends the same request Africa's Talking sends from a real network. This is the live exchange.

Request from the network

Dial on the phone above to start a session.

Our reply

Nothing yet.

Each screen must fit 182 characters and reach the phone within 10 seconds.

SMS sent to the phone

On an answer screen, press 1. The full answer appears here, split into SMS parts the way the network sends it.

How it was built with Kiro

USSD-AI is an entry for Kiroween 2026 in the Resurrection category. It was built spec-first in Kiro, and everything listed here is in the public repository.

Steering
Five files Kiro reads on every prompt: the product, the stack, the folder layout, the hard limits of a feature phone, and the design rules for this page.
Spec
Eight requirements in EARS form, a design with the full USSD state machine, and the task list Kiro worked through.
Hooks
Tests on every save, a screen audit when the menus change, a check that keeps the five languages in step, and a design check for this page.
Our own MCP server
Lets Kiro dial the app like a button phone and audit every journey in every language, locally or on this live site.
Property-based tests
Hypothesis sends hundreds of random sessions and messy AI replies through the menus on every run. On the first day it caught two real bugs.
Project skill
Design rules for this page, put together from three public design skills, with an automatic check for generated-looking UI.