AD
All projects
Littl icon
AI2026 proprietary, code private

Littl

A personal AI that gets real things done in real browsers

Website Main engineer in a small team: agent backend, Flutter app and admin console

Littl is a personal AI that does tasks instead of describing them. You ask in chat (order groceries on Zepto or Blinkit, buy something on Amazon or Myntra, find a flight, book movie tickets, reply to an email, message someone on WhatsApp) and an agent works through real browser sessions on your own accounts while you watch each step from the app. It learns your preferences over time, and it acts only with your permission: it asks once, at payment, and hands you to your own UPI app rather than holding money itself.

The Problem

Most of the sites people use every day were never built for agents. They have no APIs, their layouts shift, sessions expire and checkout demands a human. The hard part is not the language model. It is keeping a long, failure-prone browser task reliable, easy to follow and safe to interrupt, across dozens of sites, without writing a new bot for each one.

The Solution

A single agent drives real browsers through Playwright over CDP, with a Browser-Use sidecar for harder flows, and per-site knowledge lives in an admin-managed playbook instead of in code. A lane router decides per request whether it needs a direct answer, a browser task, or a connected account: Gmail and Calendar through Composio, and the person's own WhatsApp linked as a device. Work runs on a Postgres job queue in a separate worker process, so a task survives restarts and crashes, and progress streams to the phone live.

Architecture

  • TypeScript backend: a Fastify API plus a separate worker draining a Postgres job queue (SKIP LOCKED with leases), with events pushed to the app over SSE via LISTEN/NOTIFY
  • Browser layer: Playwright over CDP with a session pool, saved logins, passkeys, secret-field masking and a Browser-Use sidecar
  • Lane router fanning out to a direct answer, a browser task, Gmail/Calendar via Composio, or WhatsApp through a Go linked-device sidecar (whatsmeow)
  • Claude and GPT models with per-job routing set from the admin console, plus a separate review model
  • Long-term memory with embeddings, summaries and retrieval, and a daily For You feed built from mail, calendar, news and location
  • Payments: UPI handoff from the checkout page with a pay card that reads the cart, and Stripe subscriptions for Littl itself
  • Flutter app (Riverpod, go_router) on iOS and Android with Firebase Auth, push notifications, PostHog analytics and separate stage/prod flavors
  • React admin console: model routing, the site playbook, what Littl may do, browser task inspection and the waitlist

Challenges & How I Solved Them

An agent that asked too much

Early runs stopped for approvals on every cart step: which size, keep this item, ready to continue. Each question was reasonable, and together they made the agent slower than doing it yourself. Littl now asks only at payment, where the person's say actually matters, and handles OTP resends and upsell sheets on its own.

The right price, the wrong picture

The pay card showed a product picture next to the total, and pack and size words were merging two different products into one, so the card could show the wrong item at the moment of paying. Matching now treats pack and size as part of the product, and pictures come from every results page the run saw.

Sending a message to the right person

On WhatsApp a name like "Mom" can match several chats. Littl only sends to chats the person picked, saved contacts and groups, confirms every send on a card however it was worded, and when a send is refused it offers the other chats the name could mean instead of guessing.

Tasks that outlive the process

A browser task can take minutes, and a deploy or a crash used to end it. Moving the work onto a Postgres queue with leases, in its own worker process, meant a killed worker's jobs are picked up again and a graceful shutdown finishes what it started.

My Contributions

  • Most of the backend and app, roughly two thirds of all commits across a four-person team
  • The agent runtime, lane router and job queue with crash recovery and graceful shutdown
  • Browser checkout flows across Amazon, Flipkart, Myntra, Zepto, Blinkit, Swiggy and Licious, ending in a UPI handoff
  • Gmail, Calendar and WhatsApp connectors, including the Go linked-device sidecar
  • The admin console for model routing, the site playbook and the waitlist
  • 127 backend test files plus eval suites for memory extraction, retrieval, persona and the For You feed

Impact

  • Rolling out to early members through a waitlist at dolittl.ai
  • Shopping, food, groceries, flights, movies, email and WhatsApp handled from one chat
  • Every task runs on the person's own accounts, and payment always stays with them

Lessons Learned

An agent that acts for you is judged on what it does while you wait. Most of the work that mattered was not model quality but the seams: asking at the right moment and no more, showing the task honestly, and never sending or paying for the wrong thing.

Tech Stack

TypeScriptFastifyPlaywrightGoPostgreSQLFlutterRiverpodFirebaseClaudeOpenAIComposioStripePostHogReactAzure