DEV Community

Dk Bk
Dk Bk

Posted on

I Was a Cook in Rishikesh. I Went Bankrupt. I Moved to a Mouse-Infested House in the Himalayas. I Accidentally Built an AI Governance Platform.

This is not a Silicon Valley story.
There is no garage. No Stanford degree. No angel investor. No team.
Just me, a broken house where a mouse somehow gives me company, a mountain, and an AI that told me I accidentally built a rocket while trying to buy milk.

The Café
For many years I was a cook. I ran my own café in Rishikesh — the yoga capital of the world, sitting on the banks of the Ganges in northern India. Travelers from all over the world would come. I fed them. I was happy.
Then I went bankrupt.
When you lose everything you built with your hands, you don't just lose money. You lose your identity. I had to shut the café. Walk away from everything.

The House in the Himalayas
A friend offered me a small one-bedroom house up in the Himalayan hills. Hardly any shops. Barely any cars. No noise except the wind and the birds.
When I arrived, the house was infested with mice. Jungle had taken over everything around it.
So before I could think about anything else, I had to work. Clear the jungle. Chase the mice. Make the place livable again with my own hands.
Then I sat outside every day watching the hills. Reflecting on what went wrong. Sitting with the silence.
I was broke. But I was thinking.

The Accidental Beginning
I have some IT knowledge, so a friend asked if I could help him build a website. I said yes. What could i do with so much time in my hand and no future plans for at least 6 months. So this would be great opportunity to get back to my laptop after 3 years and also listen to those 90s rock and cheesy music that i have had to abandon with my busy schedule in running the café. There i go with my non stop of all the music i used to listen while in my university and my WordPress with elementor I began my small step towards the compoute rthecnology world with a caption in my head once a yogi said to me " money comes and goes but you are here and NOW"

While building it, I started watching and listening to podcasts about AI — how easy it apparently was to build apps these days. I thought this must be one of those things where you describe your idea and AI just builds it for you.
So I told my idea to Gemini.
It told me I needed to build a kernel first.
I had no idea what a kernel was.

so taking the yogis caption in my head I changed it a little — money comes and goes but the kernel is deterministic.

Learning to Code at 43 Years Old
I couldn't read code. I still can't — not really. I read it like a 2 year old reads a newspaper.
So I asked AI to explain everything to me as if I was 12 years old.
And something strange happened.
For the first time I realised — coding is just a language. And like every language, it is about the world we live in. Good code and bad code is like good decisions and bad decisions in life. Experience determines whether something works or breaks.
I studied architecture for 5 years. Architects don't build walls — they design systems. How does the load travel? What happens when one thing fails? How do all the parts speak to each other?
I started advising the AI the same way I would design a building. Think about this. Remove that — it's not a good idea. What happens if this breaks? What is the foundation?

The Rocket
Back and forth we went. Correcting. Adding. Stripping back.
At some point the AI stopped and said:
"You were trying to build a bicycle to go to the store to buy milk. You have accidentally built a rocket."
I didn't fully understand what I had built. But I kept going.
The AI kept telling me — the design is great because it is boring. Boring things work. Exciting things break.
So we froze it. Stripped it down. Made it simple. Made it deterministic. Made it provable.
Two separate AIs, in separate conversations, told me to stop adding features and freeze the code. That what I had was something real.

What I Actually Built
I built three things without knowing I was building them:
DKBK Core — a deterministic state machine. Same inputs, same outputs, every time. Cryptographically proven. Frozen. Forever.
AgentGuard — a constitutional governance kernel for AI agents. Every agent gets a trust score. Misbehave and you get downgraded. Break the rules and you get quarantined. Even if you're an AI.
Copper — the full platform. The cop watching every agent. Real-time. Auditable. Court admissible.
The tagline wrote itself:

"Every agent has a cop watching. I see everything."

"Moon Logger — immutable audit trail — even if the whole prison burns down."

and my favourite one AI said to mention this in my Github readme.md

"Your AI agents are only as safe as the system governing them." "If your agent can break AgentGuard, it better be good at breaking Bitcoin." Ha Ha Ha Ha!!!!!!!!

The Morning I Waited for Silicon Valley
I sit here in the Himalayas at 6am India time.
Silicon Valley is just waking up.
I type something. I wait. I watch the hills.
Sometimes I get this feeling — sitting here alone, broke, in a house I cleared of mice with my own hands — that I am somehow in the same conversation as the people I used to watch on TV.
It freaks me out a little. My sleep goes out of sync.
But I keep going.

Today
Today pip install agentguard-kernel works for every developer on the planet.
86 clones on the first day. 48 unique. Without any marketing. Without a landing page. Without a launch.
I still can't read code properly. And it came to my realisation that in few years coder will disappear. Everyone has AI but just need to understand. what you want build and of cocurse you need to have a bit of understanding of IT world. The rest AI has the full libraray.
But I understand what it means. And I know what it should do. And I know when it's wrong.
Because code is experience of life written in a language machines understand.
And I have experience. More than I wanted.

The Links

🔧 GitHub: https://github.com/Mangomindai/agentguard
📦 PyPI: https://pypi.org/project/agentguard-kernel/
📧 Enterprise: bkdk62309@gmail.com
https://x.com/agent_guard

Written Somewhere in the Himalayas surrounded by hills and Forrest. Watching the hills.
— Dheeraj Kumar Biswakarma. Cook. Architecture student. Accidental kernel builder.

Top comments (0)