Skip to content
lets-getitnowPublic

About

My Amplify Gen 2 starter application

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

MyBot

Built April–July 2025 · Solo founding/product engineering project · ~890 commits

Why the timing matters

I built MyBot before TikTok offered AI-agent features. Although TikTok has since moved toward similar AI experiences, this was my independent answer in spring 2025 to a product opportunity the platform itself had not yet addressed: giving every creator an AI version that could engage fans at scale.

What I built

I built MyBot, a multi-tenant AI SaaS that turns a TikTok creator’s content and voice into a subscription chat experience—“DMs that actually answer back.”

I owned the product and system end to end: creator verification, TikTok content ingestion, AI-derived voice profiles, tenant-scoped RAG, authenticated chat, rate limiting, creator monetization, subscription entitlements, payouts, and scheduled content refreshes.

The application uses a React and TypeScript frontend with AWS Amplify, AppSync, Cognito, Lambda, S3, Bedrock, Aurora vector search, EventBridge, Step Functions, Claude, and Stripe Connect. The architecture reflects several product constraints I wanted to solve from the beginning: every creator needed a distinct identity and knowledge base, fans needed reliable access based on subscription state, creators needed a direct way to monetize their audience, and the infrastructure needed to remain economically viable as the number of creators grew.

I separated each creator’s persona—how they speak—from their knowledge—what their content actually says. Access control and subscription rules are enforced on the backend rather than trusted to the client, and long-running operations such as ingestion, enrichment, content refreshes, and demo generation run asynchronously with explicit workflow state, retries, and failure visibility.

Creator monetization as a platform capability

Monetization was a core part of the product architecture, not a simple Stripe checkout integration.

I built MyBot as a Stripe Connect platform, giving creators a direct path to monetize their own audiences through paid subscriptions. Creators onboard into the platform’s payments layer, fans subscribe to individual creators, and the system manages the relationship between customer payments, creator accounts, recurring subscription state, product access, platform economics, and creator payouts.

Stripe webhooks drive backend entitlement changes so access to a creator’s AI experience reflects the actual state of the underlying subscription. That means payment status, cancellation, renewal, and other lifecycle events become application state rather than something handled independently by a checkout page.

The payments system therefore spans several layers: creator onboarding, connected accounts, fan checkout, recurring billing, subscription lifecycle events, backend entitlements, platform participation, and creator payouts.

The product was not simply a SaaS application collecting payments from its own customers. I built a platform through which creators could turn their existing audience into recurring revenue, with MyBot providing both the paid product and the infrastructure connecting creators directly to their subscribers.

RAG architecture and cost decision

One of the central engineering decisions was how to give potentially many creators isolated retrieval over their own content without creating a separate infrastructure stack for each creator.

In spring 2025, I evaluated client-side post retrieval, per-creator Bedrock Knowledge Bases, OpenSearch Serverless, Pinecone, Redis Enterprise Cloud, and Aurora PostgreSQL with pgvector.

I selected a shared Bedrock Knowledge Base backed by Aurora Serverless because it offered the lowest projected total cost of ownership at scale: managed ingestion, metadata-filtered retrieval, shared multi-tenant infrastructure, usage-based compute, and less operational overhead than maintaining separate vector infrastructure for every creator.

The design keeps creator isolation at the retrieval layer while sharing the underlying infrastructure. Creator content is ingested into the common knowledge base with creator_id metadata, and every chat retrieval is filtered to that creator before returning the five most relevant chunks.

At the storage layer, captions are organized under creator-specific S3 prefixes with metadata sidecars and ingested in batches. That implementation supports the larger product requirement: many creators can share one retrieval system while preserving creator-specific knowledge boundaries.

Aurora Serverless also let me make a deliberate product-economic tradeoff. Unlike alternatives with continuously provisioned capacity, the database could pause when idle and scale with aggregate demand. I accepted cold-resume latency in exchange for materially lower idle cost and added up to five retries at three-second intervals to absorb startup delays.

The result was an architecture where infrastructure cost followed overall platform usage rather than multiplying roughly with creator count.

Building the business system, not just the chat product

I also built an internal acquisition engine around one of the harder product problems in a creator marketplace: convincing creators to join before the platform already has scale.

Rather than asking a creator to imagine what MyBot could do for them, the system creates a personalized version of the product using their existing content before asking them to participate.

Step Functions coordinates creator content ingestion, demo generation, AI-written social proof and outreach, retries, and failure tracking. A human approval gate sits before outbound email, allowing AI to perform research and preparation without autonomously contacting prospects.

That system connects directly to the product’s monetization model. The acquisition engine identifies and prepares creators, the onboarding system brings them onto the platform, the AI experience gives their fans something worth paying for, and Stripe Connect gives the creator a direct financial reason to participate.

Rather than treating AI as an isolated feature, I used it as one component of a larger operating loop: identify a creator, understand their content and voice, generate their experience, demonstrate its value, onboard them, keep their knowledge current, serve conversations to fans, convert those fans into subscribers, and route revenue back to the creator.

What the project demonstrates

MyBot is representative of how I operate as a founding or product engineer: I start with the business and user problem, make the necessary product and architecture decisions, and then move across whatever technical layers are required to make the complete system work.

The project required me to think simultaneously about product positioning, creator incentives, marketplace cold starts, consumer UX, AI behavior, retrieval architecture, multi-tenancy, cloud infrastructure, infrastructure economics, data pipelines, asynchronous workflows, authentication, payments, subscription lifecycle management, entitlements, payouts, operational failure modes, and growth tooling—and then implement those decisions as one working product.

It was built as a sophisticated beta rather than a fully hardened production system. My next pass would focus on secrets handling, guest identity, stricter tenant isolation and IAM, resolver contract consistency, workflow identifiers, and automated testing: the practical engineering work required to move the architecture from a functional end-to-end product into a dependable production service.

About

My Amplify Gen 2 starter application

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages