AI agentChatbotAutomationIntegrations

An AI-agent platform for participants in Michał Połuch’s program

A purchase creates an account and grants access automatically, without manual handling. Program participants use AI agents in one place, with usage limits and conversation history.

4 min read

Client
Michał Połuch
Industry
Online education / Digital products
Scope
Custom systems and API integrations
Delivery time
1 week

Who the client was and what was getting in the way

Michał Połuch runs an educational program sold as a digital product. Participants were to receive a set of AI agents supporting specific tasks from the program, such as a bonus-idea generator. Until then, these resources were scattered, and someone had to grant access by hand each time.

The first challenge was making the experience cohesive. The agent chat, user accounts, subscriptions, and post-sale support needed to be one application, not a collection of tools connected by links. Participants should be able to sign in once and find everything there.

The second challenge was access control. Every agent query has a cost, so access needed to depend on an active subscription and usage needed a daily limit. Messages explaining that a limit had run out or access was inactive also had to be clear; otherwise, each case would come back as a support ticket.

Third, the journey from purchase to an active account had to require no action from the program owner. Fourth, prompts and models for individual agents had to be changeable without releasing a new application version, and an outage in the external configuration service could not make the platform stop working.

What we built

We built the application in Next.js and based accounts, database, and permissions on Supabase, including row-level security rules so no user could access someone else’s conversations. We added sign-up and login, an account screen with a profile, and a chat interface that supports multiple agents.

Before any request reaches a model, it passes two checks: whether the subscription is active and whether the daily limit has been reached. Both checks happen on the server, so they cannot be bypassed from a browser.

Responses are generated through OpenRouter and streamed, so text appears as it is produced instead of after several seconds of silence. Each agent’s prompt and model are stored in Agenta Cloud, making changes to its behavior a configuration update rather than a new deployment. If that service is unavailable, the platform falls back to the last known configuration instead of refusing to serve requests.

We connected sales through a webhook to Publigo. Purchase events are signed and verified; once the signature is validated, the system creates an account and activates the subscription automatically. Conversation history is saved, so participants can return to an existing thread rather than starting from scratch. Finally, we added an automatic reply to incoming messages outside business hours, sent through Resend, with a frequency limit so no one receives the same message five times.

How it works today

The work took about a week and was divided into four stages: mapping the purchase and access process and designing the data model; building the application and login; integrating models and sales automations; and, finally, stabilization and production deployment.

Now a participant buys the program and has a working account shortly afterward, without contacting support. They sign in, choose an agent, and start a conversation with responses streaming in. Threads are saved. Daily limits control model costs in the background and surface only when someone actually reaches the limit. The program owner can change agent prompts and models through the configuration whenever they want an agent to respond differently.

The outcome

There is one platform instead of a collection of disconnected tools. Access activates automatically after purchase, so support does not bottleneck sales. Subscriptions and daily limits control access to agents and keep model costs in check. Agent configuration is separate from the code, and an outage in the configuration service does not stop the platform.

What we would do differently

The sales webhook turned out to be the most sensitive part. It is the only place where an external system can create an account, so signature verification and protection against duplicate events were mandatory from the first line of code. We implemented them correctly, but tested only at the end against the live purchase flow. Next time, we will set up a way to replay events in a test environment right at the beginning.

We also underestimated the need for a fallback when external agent configuration is unavailable. The first version assumed the service would always be online. One brief outage made it clear that the system should default to the last known configuration, not an error message.

Signed-in screen with profile
Signed-in dashboard with profile details and account settings.
Main screen after sign-in
The application’s main view after a user signs in.
Bonus Idea generator — completed thread
A completed Bonus Idea generator thread with its input details.
Bonus Idea generator — generating a response
A response is being generated.
Bonus Idea generator — response
The AI agent’s completed response in the thread.
Bonus Idea generator — starting view
The starting view of the Bonus Idea Generator tool.

Pricing

Process discovery, an automation plan, implementations, and ongoing support. One fixed rate.

The Swarm subscription

Advisory and implementation service (B2B): we talk with your team, map processes, and suggest improvements. We agree on priorities together, implement an AI agent, automation, or internal system each month, and monitor and maintain the solutions that are in use. Billed monthly; collaboration is remote.

4 900 PLN net /mo

6 027 PLN gross (VAT 23%)

  • ✓ Conversations with your team and discovery of your company’s processes
  • ✓ A map of automation opportunities and shared prioritisation
  • ✓ A new AI agent, automation, or internal system every month
  • ✓ Monthly Kickoff & Mapping Call (45 min)
  • ✓ Implementation meeting with a demo (15–30 min)
  • ✓ 24/7 monitoring of live automations
  • ✓ Incidents fixed within 24 hours — included
  • ✓ Team training and consultations included
  • ✓ Pause or cancel without notice — by the day before the next billing period

No commitment — pause or cancel with one click.

BLIKVisaMastercardMaestro

BLIK, card, instant bank transfer, or payment by pro forma invoice. Online card payments are processed by Autopay S.A. Payment methods and refunds.

Pause without notice

Nothing in the queue? Pause your subscription by the day before the next billing period, and save any unused days for later.

One-week trial

Not feeling it after the first week? We refund 3/4 of the fee — no questions asked.

Prefer to talk?

Book a 30-minute call and see if it is right for you.

Book a call
★

Satisfaction guarantee

Not fully satisfied with the service in your first month? We refund 3/4 of the fee. In practice, you get a one-week trial of The Swarm for 1/4 of the price — 1 225 PLN instead of 4 900 PLN net.

BIG GROWTH Sp. z o.o. · ul. Lipowa 3D, 30-702 Kraków · NIP 6793284750 · REGON 527118883 · KRS 0001073383
BLIKVisaMastercardMaestro
Online payments: Paynow (mElements S.A., mBank Group) — BLIK, payment card, instant bank transfer. Online card payment services are provided by Autopay S.A. Payment currency: PLN. Prices on the Website are net prices (VAT 23%).
© 2026 The Swarm — AI automation on subscription · HeyNeuron