ashrivastava
menu
// case study — nanoclaw← all projects

NanoClaw - AI Agent on Raspberry Pi

NanoClaw is an open-source, secure AI agent framework (~3,900 lines across 15 files) that I deployed on a Raspberry Pi 3 collecting dust in a drawer. It runs as a Discord bot with a distinct personality, scanning grocery receipt photos, extracting every line item (merchant, quantity, price per kg, total), and storing everything locally in SQLite. No cloud. No subscription. Send a receipt photo on Discord and she replies with witty commentary like 'Two kinds of onions and two bags of rice - you were PREPARING for something' while quietly building a price-per-kg database across every shop. It tracks most-bought items, spending patterns, hall-of-fame moments, and acts as a personal inflation tracker built from actual receipts, not government averages. Costs ~$1/month to run. Your data never leaves your desk.

Experimental·ai·2025

Built in public to learn something or prove a pattern. Some are published packages, some are demos that live on this site.

// hero
nanoclaw

NanoClaw - AI Agent on Raspberry Pi

// stack
frontend
backend
PythonDiscord.pyOpenAI API
database
SQLite
tools
Raspberry Pi 3NanoClaw Framework
// challenges
  • Running a capable AI agent on a Raspberry Pi 3 with only 1GB RAM
  • Accurately extracting line items from grocery receipt photos via OCR
  • Giving the agent a genuine personality beyond generic assistant responses
// solutions
  • Deployed and customized NanoClaw on a Raspberry Pi 3 for grocery receipt scanning
  • Configured the agent with a distinct personality and witty contextual responses
  • Built a price-per-kg tracking system stored locally in SQLite
// outcomes — impact3

Runs 24/7 on a $35 Raspberry Pi 3 for ~$1/month with all data stored locally

Built a personal inflation tracker from real receipts across multiple shops

Tracks spending patterns, most-bought items, and price changes over time

// related — other projects
Own productpinnedfeatured
ai2026

JobJam.io — AI Job Search & Application Platform

AI-powered job search platform: discover roles, evaluate fit, tailor applications, and close skill gaps. One-time pricing, no subscriptions.

AILLMsJob SearchAnthropic Claude+3
Own productpinnedfeatured
ai2026

Fathohm — Comprehension-Debt System of Record

See how much of your codebase no human understands. A treemap of your repo colored by human comprehension score, with a tracked, assignable metric for 'who understands what' in an AI-native codebase.

AIDeveloper AnalyticsGitHub AppLLM Classification+2
Own productpinnedfeatured
ai2026

Grenz — Firewall for AI Agents

A local firewall for AI agents: scoped, revocable, observable permissions instead of your full GitHub token. Deny-by-default, MIT licensed, live at grenz.dev.

AI AgentsSecurityIAMMCP+2