Back to Projects

My AI Twin Who Never Sleeps, Virtual Assistant of Me

Ankur’s AI clone chats like a pro, stalks his site for answers, logs fans, and yells updates via Pushover—no coffee needed!

Tags:
virtualankur-kherageminiagentic-aidigital-twin
Date:May 25, 2025
My AI Twin Who Never Sleeps, Virtual Assistant of Me

What’s This About?

At some point, I realized: I can’t be online 24/7 answering questions about my experience, background, or whether I like pineapple on pizza (I don’t, by the way). So I did what any curious technologist would do—I built a virtual version of myself.

Yes, I made a chatbot version of me. This project is a personal assistant that lives on my website and chats with visitors as if it were me—minus the coffee addiction and sleep schedule.

Why This Is Agentic AI 101 (Minus the Jargon)

This isn’t just a glorified FAQ bot. I gave it tools. Literal tools it can call on demand.

It reads my website, summarizes it, answers questions like a champ, and if it gets stumped or senses you’re a hot lead—it nudges me via a push notification. It’s a baby agent: it perceives, decides, and acts. Not world domination level (yet), but hey—it’s a start.

So, What Can This Clone of Mine Do?

1. Reads My Website Like a Creep (But Efficiently)

It scrapes the content of my actual website—including subpages—using Python, BeautifulSoup, and some old-fashioned crawling logic. So whenever someone asks about me, it knows what I’ve been up to. No outdated resumes here.

2. Talks Like Me (But With Fewer Typos)

I used OpenAI’s Gemini model and gave it a long prompt that basically says: “Pretend you’re me. Be professional, but also talk like you’re a friendly human who knows what they’re doing.” It answers questions about my work, skills, background, and projects with just the right amount of humility and show-off-iness. Think LinkedIn meets a friendly coffee chat.

3. Takes Notes (Because I Never Do)

The assistant records user interest—if someone leaves their name and email, I get a notification. If someone asks it a question it doesn’t know, it politely admits ignorance (like a good human) and logs it for me to follow up. This is thanks to the Pushover API, which sends me instant alerts. It’s like my assistant whispering in my ear: “Hey, someone’s curious about you.”

What’s Under the Hood?

Let’s talk tech:

  • Python – The language of the operation

  • OpenAI Gemini 2.0 Flash – The smooth talker

  • BeautifulSoup – For elegantly chewing through HTML

  • Pushover – For nagging me when someone reaches out

  • Gradio – The pretty UI that makes it all feel friendly and approachable

  • Dotenv – Because hardcoding secrets is a bad idea and I’ve made that mistake exactly once

Why Did I Do This?

I wanted something smarter than a boring contact form. Something that could actually have a conversation. And more importantly, something that could say, “Hi, I’m Ankur (virtually), ask me anything” without me actually being online. It’s also a playground to test how LLMs can be connected to tools, work with real-time data (like web content), and impersonate someone without turning evil. So far, so good.

I wanted something smarter than a boring contact form. Something that could actually have a conversation. And more importantly, something that could say, “Hi, I’m Ankur (virtually), ask me anything” without me actually being online.

It’s also a playground to test how LLMs can be connected to tools, work with real-time data (like web content), and impersonate someone without turning evil. So far, so good.

Cool Things It Can Do:

  • Pulls live info from my site, so it never gets outdated (unless I forget to update the site itself… oops)

  • Keeps conversations contextually relevant and fun

  • Lets people express interest or ask questions in a much more natural way than a contact form

  • Logs unknown questions so I can improve the assistant over time (and look smart when I eventually answer them)

Want to Talk to (Virtual) Me?

Head over to my website at my digital twin and say hi. Ask about my experience, projects, or anything you’d ask in a coffee chat. I promise it won’t judge your spelling.

Unless you ask if I like pineapple on pizza.