DevFest Nepal 2026 · Build Zone

An expense tracker whose AI agent has hands

Hisaab (हिसाब, “keeping account”) is a phone-first app where you chat to add, find and delete expenses. The AI decides which of the app's own functions to call, your browser runs them, and you can see every call.

Free and open source. Bring your own free Gemini key, or run fully offline on your device.

How it works

  1. You ask

    “I paid 120 for a bus yesterday.”

  2. The model decides

    It reads the function descriptions and asks the app to run one:

    addExpense({ amount: 120, category: "travel", note: "Bus", date: "2026-12-04" })
  3. The browser acts

    The app checks the arguments, saves the expense, and sends the result back. Risky actions like deleting wait for your “Yes”.

Two brains, one loop

Gemini, online

Your browser sends the conversation straight to Google's Gemini API with your own free key. No server in between, and nobody else pays for it.

Qwen3-0.6B, on your device

Download the model once and the same tools, prompt and loop run with no internet at all, in a Web Worker with Transformers.js.

Questions people ask

What is Hisaab?

Hisaab is a free, open-source expense tracker that runs entirely in your browser, with an AI agent you chat with to add, find and delete expenses. It is the teaching app for the “Hisaab: Give Your App Hands” Build Zone at DevFest Nepal 2026.

What is function calling?

Function calling lets an AI model ask an app to run one of the app's own functions, such as addExpense, with arguments the model fills in. The model never runs code itself: the app checks the arguments, does the work and sends the result back.

How does the agent decide which function to call?

Every function comes with a name, a description and its parameters, and the model picks the one whose description best fits your message. The app runs it, returns the result to the model, and repeats for up to six steps until the model answers in words.

Is my API key safe?

Your Gemini key is stored only in your browser's local storage and is sent only to Google's Gemini API, never to any other server. Anyone with access to your browser can read it, so use a free key from AI Studio that you don't use anywhere else.

Does it work offline?

Yes. After your first visit the app opens with no internet, and once you download the offline model the agent itself runs on your device, even in airplane mode.

Which model runs offline?

Qwen3-0.6B (onnx-community/Qwen3-0.6B-ONNX) runs in a Web Worker with Transformers.js, on WebGPU when available and WebAssembly otherwise. It downloads only when you tap Download: about 0.6 GB with WebGPU, or about 0.9 GB without.

What leaves your device