AI समझता है।
कोड गिनता है।
आप तय करते हैं।The AI understands.
Code counts.
You decide.
NirmanOS के मुंशी WhatsApp पर बात समझने के लिए AI इस्तेमाल करते हैं, पर कोई रकम, गिनती या रेट AI के अंदाज़े से नहीं भरा जाता। दो कारोबारों के बीच हर कदम Twinbook से जाता है: दस्तख़त किया हुआ संदेश, दस्तख़त की हुई रसीद, और दोनों तरफ़ एक जैसी बही।NirmanOS agents use AI to understand what people say on WhatsApp, but no amount, count or rate is ever filled in from an AI guess. Every step between two businesses goes through Twinbook: a signed message, a signed receipt, and the same book on both sides.
“38 टन आया” से दोनों बही तक।From "38 ton arrived" to both books.
साइट से आया एक वॉइस नोट, कदम-दर-कदम।One voice note from a site, step by step.
- 01AI
WhatsApp पर आता हैArrives on WhatsApp
वॉइस नोट को पहले शब्दों में बदला जाता है। संदेश का पूरा पाठ जाँच-रिकॉर्ड में नहीं रखा जाता।A voice note is first turned into words. The full message text is not kept in the trace log.
- 02AI
मतलब समझा जाता हैThe intent is understood
मॉडल बताता है कि यह “माल पहुँचा” है और किस ऑर्डर का है। उसे सिर्फ़ वही काम सुझाने की इजाज़त है जो इस व्यक्ति और इस ऑर्डर की हालत में मुमकिन हैं।The model says this is "goods arrived" and for which order. It may only propose actions that are possible for this person and this order's state.
- 03CODE
आँकड़े कोड पढ़ता हैCode reads the figures
“अड़तीस” को 38 कोड बनाता है, मॉडल नहीं। अगर संदेश में आँकड़ा साफ़ न हो, तो मुंशी पूछता है; ख़ुद भरता नहीं।Code turns "अड़तीस" into 38, not the model. If a figure is not clear, the munshi asks; it never fills one in.
- 04CODE
नियम और लिमिट जाँचे जाते हैंRules and limits are checked
क्या यह व्यक्ति इस साइट पर यह कर सकता है? रकम उसकी लिमिट में है? ऊपर हो तो मालिक की मंज़ूरी पर रुकता है।May this person do this at this site? Is the amount within their limit? If not, it waits for the owner's approval.
- 05आपYOU
ज़रूरत हो तो पढ़कर सुनाया जाता हैRead back when it matters
रेट या रकम जैसे बड़े कदम भेजने से पहले मुंशी पूछता है: “भेजें? हाँ / नहीं”। आपका “हाँ” ही आगे बढ़ाता है।Before a rate or an amount goes out, the munshi asks "Send? Yes / No". Only your yes moves it on.
- 06CODE
दस्तख़त होकर सामने वाले एजेंट कोSigned and sent to the other agent
एक Twinbook संदेश बनता है, कारोबार की अपनी कुंजी से दस्तख़त होता है और सप्लायर के एजेंट को जाता है।A Twinbook message is built, signed with the business's own key and sent to the supplier's agent.
- 07CODE
सामने वाला जाँचता है, रसीद लौटाता हैThe other side checks, then sends a receipt
तय क्रम में हर जाँच के बाद ही एंट्री चढ़ती है, और दस्तख़त की हुई रसीद लौटती है। दोनों बही में वही कड़ी जुड़ती है।Only after every check, in a fixed order, is the entry written and a signed receipt returned. The same link joins both books.
दो एजेंट, एक तय रिकॉर्ड।Two agents, one agreed record.
Twinbook वह भाषा है जिसमें हमारे एजेंट आपस में सौदा दर्ज करते हैं। इसका मूल हिस्सा अब एक अलग पैकेज है, जिसमें कोई कारोबारी नियम नहीं। हर व्यापार (माल, मशीन किराया, भट्ठा) अपने नियम एक मॉड्यूल की तरह जोड़ता है। हम इसकी स्पेक और जाँच-परीक्षण खुले रूप में प्रकाशित करेंगे।Twinbook is the language our agents use to record a trade with each other. Its core is now a separate package with no business rules in it. Each trade (goods, machine hire, kilns) plugs in its own rules as a module. We will publish the spec and conformance tests openly.
- हर संदेश: Ed25519 दस्तख़त, RFC 8785 वाले एक जैसे बाइट्स परEvery message: an Ed25519 signature over RFC 8785 canonical bytes
- हर लागू संदेश पर दस्तख़त की हुई रसीद; दोहराया गया संदेश दोबारा नहीं चढ़ताA signed receipt for every applied message; a repeated message is never applied twice
- हर ऑर्डर की बही एक हैश-कड़ी; चालू होते ही दोनों तरफ़ का मिलानEach order's book is a hash chain; both sides are compared whenever the service starts
- इनकार सिर्फ़ तय कोड में: BAD_SIGNATURE, EXPIRED, WRONG_STATE…Refusals only as fixed codes: BAD_SIGNATURE, EXPIRED, WRONG_STATE…
{
"v": "hb/0.1",
"msg_id": "3f2c…e91a",
"type": "ARRIVAL",
"from": "agent:contractor-1",
"to": "agent:supplier-1",
"order_id": "6f46…d1a3",
"rev": 4,
"created_at": "2026-11-16T08:04:40Z",
"expires_at": "2026-11-17T08:04:40Z",
"body": { "items": [{ "name": "morang",
"unit": "ton", "qtyHundredths": 3800 }] },
"sig": "ed25519:Qm9…"
}
- संस्करणversion
- जाना-पहचाना भेजने वालाknown sender
- दस्तख़तsignature
- मेरे लिए है?addressed to me
- दोहराव? तो वही रसीदrepeat? same receipt
- समय बाकीnot expired
- आकार ≤ 64 KBsize ≤ 64 KB
- इस जोड़ी को यह प्रकार भेजने की इजाज़तtype allowed for this pair
- ऑर्डर की हालत इजाज़त देती हैorder state allows it
- चढ़ाओ → दस्तख़त वाली रसीदapply → signed receipt
AI को वही काम, जो उसे करना चाहिए।The AI only does what it should.
| AI | कोडCode | लोगPeople | |
|---|---|---|---|
| बोली और लिखावटSpeech and writing | वॉइस नोट को शब्द बनाना, मतलब समझनाVoice to words, understanding the intent | — | — |
| आँकड़ेFigures | कभी नहीं भरताNever fills them in | शब्दों और अंकों से पढ़ता हैReads them from words and digits | पढ़कर सुनाने पर पक्का करते हैंConfirm on read-back |
| बिलBills | — | साइट की गिनती × तय रेटSite count × agreed rate | मंज़ूर या आपत्तिAccept or object |
| इजाज़तPermissions | — | भूमिका, साइट और लिमिट की जाँचRole, site and limit checks | मालिक लिमिट तय करता हैThe owner sets limits |
| बहीBooks | — | दस्तख़त, रसीद, हैश-कड़ी, मिलानSignatures, receipts, hash chain, matching | हर कारोबार की अपनीEach business owns its own |
फ़ोटो से आँकड़े, पर जाँच के साथ।Figures from photos, with checks.
हर पढ़ाई को कोड जाँचता है। पक्का न हो तो वह व्यक्ति से पूछती है।Code checks every reading. When it is not certain, it asks the person.
मशीन का मीटरMachine meter
JCB के घंटे मीटर की फ़ोटो से। एक ही मीटर की दोबारा भेजी गई फ़ोटो पहचानी जाती है।JCB hours from a meter photo. A second photo of the same meter reading is recognised.
UPI स्क्रीनशॉटUPI screenshot
रकम और UTR पढ़ी जाती है। भुगतान तभी पक्का जब पाने वाला “मिल गया” कहे।The amount and UTR are read. A payment is settled only when the receiver confirms it.
चालान और कैश रसीदChallan and cash receipt
चालान हो तो उससे मात्रा; न हो तो साइट की गिनती। बिल उसी गिनती पर बनता है।Quantities from a challan when there is one; otherwise the site's count. The bill follows that count.
भट्ठे की डायरीKiln diary
मुंशी जी की रोकड़ बही की फ़ोटो से दिन का हिसाब। जहाँ पढ़ाई पक्की न हो, वह इंसान के पास रुकती है। (परीक्षण में)The day's accounts from photos of the munshi's cashbook. Where a reading is not certain, it is held for a person. (In testing)
भारत में, अलग-अलग बही, हर बदलाव जाँच के बाद।In India, separate books, every change tested.
- WhatsApp Business (Meta Cloud API) पर बातचीतConversations on WhatsApp Business (Meta Cloud API)
- समझ और आवाज़ के लिए Meta के Muse मॉडलMeta's Muse models for understanding and voice
- PostgreSQL, AWS मुंबई क्षेत्र में; हर कारोबार के एजेंट का अपना डेटाबेसPostgreSQL in AWS's Mumbai region; each business's agent has its own database
- दोहरी एंट्री वाली किताबें, Tally XML और Excel में निर्यातDouble-entry books, exported to Tally XML and Excel
- Node.js; Twinbook का मूल हिस्सा अलग पैकेजNode.js; the Twinbook core as a separate package
क्या चलता है, क्या आगे है।What runs, and what is next.
ठेकेदार, सप्लायर और मशीन के मुंशीContractor, supplier and machine agents
पायलट मेंIn pilotहमारे अपने पायलट में WhatsApp पर; अभी बाहरी ग्राहक नहीं।On WhatsApp in our own pilot; no outside customers yet.
Twinbook का मूल पैकेजTwinbook core package
बनाBuiltअलग पैकेज, पूरी जाँचों के साथ। स्पेक और खुले परीक्षण अगला कदम।A separate package, fully tested. The spec and open tests are next.
भट्ठा मुंशीBrick-kiln agent
परीक्षण मेंIn testingसमीक्षा के बाद आगे के परीक्षण के लिए स्वीकृत; अभी चालू नहीं।Accepted for further testing after review; not live yet.
कारोबार की पहचान-सूची और Google A2ABusiness directory and Google A2A
आगेNextGSTIN से जुड़ी एजेंट पहचान, और दूसरे एजेंटों से A2A पर जुड़ना।Agent identities tied to a GSTIN, and connecting to other agents over A2A.
सीधे जवाब।Straight answers.
AI ग़लत समझ ले तो?What if the AI misunderstands?
AI सिर्फ़ एक कदम सुझाता है। उसके आँकड़े कोड पढ़ता है, नियम कोड जाँचता है, और रकम वाले कदम पढ़कर सुनाए जाते हैं। ग़लत समझ “हाँ” से पहले ही पकड़ में आती है।The AI only proposes a step. Code reads its figures and checks the rules, and steps with money are read back. A misunderstanding is caught before anyone says yes.
कोई बीच में संदेश बदल दे या नकली भेजे तो?What if someone alters or forges a message?
बदला हुआ संदेश दस्तख़त की जाँच में फ़ेल होता है और बही में नहीं चढ़ता। नकली भेजने वाले के पास कारोबार की कुंजी नहीं होती।An altered message fails the signature check and is never written. A forger does not have the business's key.
एक ही संदेश दो बार पहुँच जाए तो?What if a message arrives twice?
हर संदेश की अपनी पहचान होती है। दोहराव पर वही रसीद लौटती है और बही में दूसरी एंट्री नहीं बनती।Every message has its own id. A repeat gets the same receipt and no second entry.
मेरा डेटा कहाँ रहता है, कौन देखता है?Where is my data, and who sees it?
AWS मुंबई क्षेत्र में, आपके कारोबार के अपने डेटाबेस में। सामने वाले कारोबार को सिर्फ़ उस सौदे के कदम दिखते हैं, आपकी पूरी बही नहीं।In AWS's Mumbai region, in your business's own database. The other business sees only the steps of your trade with them, never your whole book.
क्या दूसरे ऐप या एजेंट Twinbook से जुड़ सकेंगे?Can other apps or agents connect to Twinbook?
हाँ, यही इरादा है। स्पेक और जाँच-परीक्षण खुले होंगे, और Google A2A पर भी जोड़ बनेगा। बिलिंग या Tally से जुड़ा सॉफ़्टवेयर बनाते हैं तो हमसे बात करें।Yes, that is the intent. The spec and conformance tests will be open, with a binding to Google A2A. If you build billing or Tally software, talk to us.
Twinbook पर साथ बनाइए।Build on Twinbook with us.
बिलिंग ऐप, Tally पार्टनर, ERP या अपने एजेंट बनाने वाले: आपके साथ मिलकर पहले मॉड्यूल और जाँच तय करना चाहते हैं।Billing apps, Tally partners, ERPs and agent builders: we want to shape the first modules and conformance tests with you.