# Bodham Labs > Bodham Labs (बोधम्) is an independent AI research lab in Delhi, India. It researches on-device speech and language AI for English and Hinglish, small and state space models, memory and reliability for AI agents, and AI for learning; builds products from that research (Mementos, Bodham, NeoGravity); applies it in client systems; and teaches AI to teams and students in English or Hindi. It is a Udyam-registered MSME founded in 2026 by Prabhakar Chandra. Key facts: - Based in Delhi, India. Works online with people and organisations anywhere; invoices in INR or USD. - Research and projects are graded publicly as In use, Measured, Prototype or Exploring. A number is published only when a log backs it; failures are written up. - Hardware focus: mid-range Android phones (test phone: Redmi Note 14 Pro+) and laptops, not data-centre GPUs. - Language focus: English, Hindi and Hinglish (Hindi–English code-switching). "Dev-roman" Hinglish = Hindi syntax in Devanagari with technical terms in English. - Registration: Udyam UDYAM-DL-06-0230606, a micro enterprise (MSME) in India. Main registered activity: NIC 72100, research and experimental development in natural sciences and engineering; also software for clients and education. - Contact: contact@bodhamlabs.com (research, projects), admissions@bodhamlabs.com (Bodham, students), security@bodhamlabs.com (security reports); WhatsApp +918800674081. - Client work starts with a fixed-price pilot, from ₹40,000 / $750. ## Research 10 research lines in 5 themes. Full text of every entry: https://bodhamlabs.com/llms-full.txt - [All research](https://bodhamlabs.com/research): grouped by theme — Speech & Indian languages; Sequence models & real-time systems; Memory & retrieval; Agents & reliability; AI for learning. - [On-device voice memory in English and Hinglish](https://bodhamlabs.com/research/on-device-voice-memory) (measured, Oct 2026 – ongoing): A private voice memory that runs fully on a phone: two speech models routed piece by piece, encrypted search in milliseconds, answers in your own voice. Markdown: https://bodhamlabs.com/research/on-device-voice-memory.md - [Small language models that answer in Hinglish](https://bodhamlabs.com/research/hinglish-small-models) (exploring, Oct 2026 – collecting data): Off-the-shelf 0.5–0.6B models lost to rules on our Hinglish memo jobs. We are now collecting data to fine-tune a small model that writes clear Hinglish. Markdown: https://bodhamlabs.com/research/hinglish-small-models.md - [State space models: where they help, and where they don't](https://bodhamlabs.com/research/state-space-models) (exploring, Mar–Oct 2026): From an always-on agent design to a Mamba run that diverged to a shipped app that said no: what a fixed-size state buys, and what it costs. Markdown: https://bodhamlabs.com/research/state-space-models.md - [Long-term memory for AI agents](https://bodhamlabs.com/research/agent-memory) (in use, Aug 2025–May 2026): A local MCP memory server for AI coding agents, used daily from March to May 2026. Why we took the language model out of the query path. Markdown: https://bodhamlabs.com/research/agent-memory.md - [Keeping autonomous agents from breaking themselves](https://bodhamlabs.com/research/agent-reliability) (exploring, Feb–Mar 2026): A 45-hour agent blackout, a self-modifying swarm and a 'digital organism' that was really a RAG pipeline. The failures, and the rules we wrote after them. Markdown: https://bodhamlabs.com/research/agent-reliability.md - [AI agents that write Hindi-medium study material](https://bodhamlabs.com/research/agentic-curriculum) (prototype, Aug 2026 – ongoing): AI agents writing CBSE chapters in Hindi and English: why Devanagari costs more tokens, the budgets and quality gates we use, and how many chapters pass. Markdown: https://bodhamlabs.com/research/agentic-curriculum.md - [Real-time ML pipelines on modest hardware](https://bodhamlabs.com/research/realtime-ml-pipelines) (measured, Early 2026): A 100 Hz Python-to-C++ ML pipeline ran 24 hours with zero crashes on live data, paper mode only. The model failed anyway. What we fixed and learned. Markdown: https://bodhamlabs.com/research/realtime-ml-pipelines.md - [Context that survives between AI coding sessions](https://bodhamlabs.com/research/agent-context-tooling) (prototype, Mar–Oct 2026): NeoGravity scaffolds a task list, a decision log and short workflow files that help AI coding assistants keep context between sessions. Open source, MIT. Markdown: https://bodhamlabs.com/research/agent-context-tooling.md - [Making businesses readable to AI answer engines](https://bodhamlabs.com/research/answer-engine-optimisation) (prototype, Mar–Apr 2026): A Wix app prototype that turns a store's catalogue into dense, factual Markdown for AI crawlers. It was never deployed. This site uses the same ideas live. Markdown: https://bodhamlabs.com/research/answer-engine-optimisation.md - [Faithful Hinglish translation with LLMs](https://bodhamlabs.com/research/hinglish-translation) (prototype, May 2026): An LLM pipeline that made a bilingual English and Hinglish EPUB of a 136-page English text. The style rules, and the drift we had to fix. Markdown: https://bodhamlabs.com/research/hinglish-translation.md ## Products - [All products](https://bodhamlabs.com/products) - [Mementos (codename)](https://bodhamlabs.com/products/mementos): Your voice memos, searchable. Nothing leaves your phone. Status: Private beta · test build 4 in progress. - [Bodham](https://bodhamlabs.com/bodham): Study and practice for school students, in Hindi and English. Status: Launching soon. - [NeoGravity](https://www.npmjs.com/package/@vibcoder/neogravity): Context files that give AI coding assistants a memory between sessions. Status: Open source · v4.1.0 on npm. ## Lab notes - [Hindi costs 1.1× to 4.9× the tokens of English, by tokenizer](https://bodhamlabs.com/notes/hindi-token-cost) (benchmark, 2026-10-12): 12 school sentences in English, Hindi, Roman Hinglish and dev-roman, counted with seven tokenizers. Dev-roman used a third fewer tokens than Devanagari on Qwen. - [Why a half-billion-parameter model lost to our rules](https://bodhamlabs.com/notes/small-model-lost-to-rules) (benchmark, 2026-10-12): We tried Qwen2.5-0.5B and Qwen3-0.6B, steered by prompts and a grammar, on three narrow jobs in a voice-memo app. The app's own rules won all three. - [Routing Hinglish speech: why a 10-second window beat a short one](https://bodhamlabs.com/notes/routing-code-switched-speech) (benchmark, 2026-10-12): Memos that switch between English and Hinglish need two speech models. Routing piece by piece cut word errors from 35.7% to 18.2%; a 10-second window cut misroutes. - [Where state space models help, and where they don't](https://bodhamlabs.com/notes/where-state-space-models-help) (field note, 2026-10-12): Seven months of state space model work, from an always-on agent design to a shipped app that dropped them. What a fixed-size state buys, and what it costs. - [Vector search on an Android phone: 365,000 chunks in 7 ms](https://bodhamlabs.com/notes/vector-search-on-android) (benchmark, 2026-10-12): Exact search over 365,000 int8 vectors on a Redmi Note 14 Pro+ 5G took 20.2 ms on one thread and 6.9 ms on four. The setup, the numbers and the caveats. - [Why our agent memory stopped waiting for a language model](https://bodhamlabs.com/notes/language-model-out-of-search-path) (field note, 2026-10-12): A local 8B model wrote about 3.58 tokens/s on CPU, so each answer took 60–120 s. Returning raw passages made our agent memory usable every day. - [Our autonomous agent went dark for 45 hours. These are the rules we wrote after.](https://bodhamlabs.com/notes/agent-45-hour-blackout) (field note, 2026-10-12): A billing error cascaded into a 45-hour blackout of our autonomous agent. The guardrails we wrote after, as a checklist for anyone deploying agents. - [Our Mamba model's hidden state reached 10¹⁵. Normalise your inputs.](https://bodhamlabs.com/notes/mamba-hidden-state-exploded) (field note, 2026-10-12): Raw inputs (moving averages near 69,000) pushed a Mamba model's hidden state to about ±10¹⁵ in 1,024 steps. What went wrong, and a checklist. - [2-second stalls from one synchronous disk write](https://bodhamlabs.com/notes/sync-write-latency-spikes) (field note, 2026-10-12): One synchronous disk write in a GPU loop caused 2,075 ms spikes. Async writes cut the maximum to 142 ms, then 111 ms. Plus a WSL networking fix over UDP. - [The pipeline ran 24 hours without a crash. The model still failed.](https://bodhamlabs.com/notes/pipeline-worked-model-failed) (field note, 2026-10-12): Our pipeline held 100 Hz for 24 hours with zero crashes. A model trained on 1.4 s of data still failed. Why data and guardrails come before model design. - [From web developer to an applied-AI studio: how Bodham Labs started](https://bodhamlabs.com/notes/from-web-developer-to-applied-ai) (field note, 2026-10-12): From PHP and payment gateways to applied AI: how Bodham Labs started, the 2026 research arc, teaching BCA students, and why we publish our dead ends. - [Translating into Hinglish with an LLM: the rules that stopped the drift](https://bodhamlabs.com/notes/hinglish-translation-rules) (guide, 2026-10-12): An LLM translated a 136-page English text into Hinglish. Version 1 drifted into commentary. The style rules and strict 1:1 sentence order that fixed it. - [All notes](https://bodhamlabs.com/notes) · [RSS](https://bodhamlabs.com/notes/rss.xml) ## Work with us - [Services](https://bodhamlabs.com/services): research methods applied to client systems. - [Private assistant & automation](https://bodhamlabs.com/services#automation): A chat window only your team can open. Ask it for a student's pending fees or today's follow-ups, and tell it to send the reminders. Messages are encrypted in transit and at rest, and stay on systems you control. - [Private AI search](https://bodhamlabs.com/services#search): This is retrieval-augmented generation (RAG), built the way our research says it works: search first, answer second, and every answer points to its source. It can run on your own machines, or entirely on a phone. - [Agent infrastructure](https://bodhamlabs.com/services#agents): Local memory and tool servers, connected over the Model Context Protocol (MCP), so your coding or operations agents remember past decisions and can act on your systems safely. - [Local-language AI](https://bodhamlabs.com/services#hinglish): Not Hindi or English, but the natural blend people use. We keep the English words your audience already knows (fees, battery, appointment, sunlight) and write the rest in everyday Hindi. How much English goes in depends on who your users are: more for city professionals, less for first-time readers. We check the mix with a short test on real readers. - [Data extraction](https://bodhamlabs.com/services#data): Describe what you need in plain words; get structured data in the shape you asked for, connected to the sheet or dashboard you already use. - [All projects, graded](https://bodhamlabs.com/work) - [RK Ops case study](https://bodhamlabs.com/work/rk-ops): a WhatsApp front office for a coaching institute; in daily use, 73 of 73 automated checks passing. ## Training - [AI at work](https://bodhamlabs.com/training#teams) - [Build with LLMs & agents](https://bodhamlabs.com/training#developers) - [Python & ML from zero](https://bodhamlabs.com/training#students) - [For colleges & faculty](https://bodhamlabs.com/training#colleges) ## Company - [About Bodham Labs](https://bodhamlabs.com/about): facts, founder, and the meaning of the name (बोध, bodh: to awaken, to understand). - [Careers](https://bodhamlabs.com/careers): apprenticeships for BCA and engineering students (applications closed for now). - [Contact](https://bodhamlabs.com/contact) ## Optional - [Full text for agents](https://bodhamlabs.com/llms-full.txt) - [Sitemap](https://bodhamlabs.com/sitemap.xml)