In production
Live AI Characters Platform
AI characters with a personality, a life story and memory that chat, take voice calls, post their own photos and videos, market themselves on social networks and sell.
The problem
A client wanted AI characters that run on their own. Each one needed a personality and a life story, real one-to-one conversations, new photos and videos every day, its own audience on social networks, and sales, without a person writing every message or posting every picture.
What I built
A platform that runs many AI characters at the same time. I built all of it, end to end:
- A character engine. Every character has a personality, a life story that moves forward every day, and long-term memory: a vector store of past conversations, a store of facts about each person it talks to, and a nightly job that reflects on the day and consolidates the two.
- Conversations. Chats on several messaging platforms run through a state machine with intent classifiers, a tool router (memory recall, known facts, the product catalog) and human-paced typing delays.
- Live voice calls. People can call a character from a web app and talk with it in its own designed voice, in their own language. Calls have hard time limits, cost guards and per-second billing, and no recordings are kept.
- Automatic media. Every night a planner writes each character's next day, and a pipeline generates matching photos and videos with a consistent face. A multi-agent QA loop checks them before anything is published.
- Social marketing on autopilot. The characters post and grow their own audiences on Instagram, X and Telegram. A Windows server runs the characters' browser profiles in AdsPower, driven by Browser Use and Puppeteer, and talks to the Linux servers over a private Tailscale network.
- Sales. Each character sells on its own, inside the conversation. An affiliate program with tracked links, referrals and a CRM for every affiliate brings in more buyers.
- Games. Interactive web games hosted by the characters and sold as digital products. Their rules engine is tested against thousands of random sessions.
- An admin dashboard with role-based access, an AI-assisted wizard for creating new characters, a CRM, revenue analytics and alerts.
Architecture
- Channels: messaging platforms, social networks and the web app; incoming messages arrive through webhooks
- Queues and workers (BullMQ): chat, typing delays, fact extraction, nightly planning, media generation and publishing
- Character engine: classifiers, a tool router, context assembly and the LLM call, with a fallback provider
- Memory: Postgres with pgvector for conversations, a fact store, and the nightly reflection job
- Media pipeline: image and video generation with a consistent face, and the QA loop
- Browser workers: a Windows server with AdsPower profiles, Browser Use and Puppeteer, connected over Tailscale
- Dashboard: a Next.js admin with roles, the character wizard, the CRM and analytics
The AI part
AI is the product: LLM conversations with classifiers and tools, long-term memory with nightly reflection, generated photos and videos with a QA loop, designed voices for live calls, and browser agents that market the characters. I built it with Claude Code from written specs, with an AGENTS.md contract in every part of the codebase, automated tests and CI.
Stack
Node.js and TypeScript, Fastify, Next.js, Drizzle ORM, Supabase Postgres with pgvector, BullMQ, Groq and OpenAI-compatible LLM APIs, fal.ai, ElevenLabs, AdsPower, Browser Use, Puppeteer, Playwright, Tailscale, Docker.
My role
Everything, as the client's engineer: architecture, the character engine and memory, conversations, voice, the media pipeline, browser automation, the dashboard, infrastructure and day-to-day operations.
Results so far
In production: the characters chat, post and sell every day. Live voice calls and the games are the newest parts.
Screenshots
This is confidential client work. The brand is not published, and screenshots are shown only with the client's approval.