Micpass: live Q&A and polls for talks and all-hands meetings

Micpass: live Q&A and polls for talks and all-hands meetings

00 Markdown

Join codes, audience questions ranked by upvotes, live polls and word clouds, and a presenter screen for the projector.

Agent specs

Agent
Claude Code, Opus 5.5 Medium
Time
20 min
Cost
$6.96*

Agents work faster and more accurately on Elements.

* Cost at API rates, September 2026.

Run it yourself

Paste this prompt into your AI agent. You get the finished app on your own machine, ready to change however you like.

Agent Chat
Install elements:
curl -fsSL 'https://install.elements.dev?os=darwin' | sh && export PATH=~/elements/bin:$PATH

Create an Elements app from the elementscode/demo-micpass scaffold:
cd ~/elements/projects
elements create micpass -scaffold=elementscode/demo-micpass
cd micpass

Start the app.

Need an AI agent?

In AI desktop apps, paste into the Code tab, not the general chat.

How it's built

Micpass needed questions, votes and poll results that move on every phone and the projector at once, moderation for the host, and an audience that joins with a code and no account. Each of those is a part of Elements, so the agent spent its 20 minutes on the Q&A app itself.

What Elements gave the app

  • Live questions, votes and polls. Events, questions, votes, polls and answers are LiveTables, so a vote reorders the questions and a poll answer grows its bar on every phone and the projector the moment it is cast.
  • Votes straight from the page. The audience upvotes and answers polls by writing to the live tables, and the server checks each write: one vote per question, one answer per poll, only on a live question or an open poll.
  • Moderation. Only the event's host approves, hides, pins or marks a question answered, and a moderated event holds new questions until the host approves them.
  • Server calls as function calls. Creating an event mints a short join code, joining turns a typed code into the event page, and asking a question is one more @rpc call.
  • An audience with no account. Each browser keeps its own voter id, which the server uses to count one vote per person.
  • Data from SQL files. Migrations define the app and seed a host and one event with 13 questions, 167 votes, two finished polls and a draft poll ready to open.

What the project server gave the agent

The project server runs alongside the agent and answers as soon as a file is saved: it type-checks the templates, TypeScript and SQL, applies migrations and reruns the tests, so every question came back right away and the agent kept building.

What shipped

The app type-checks with zero errors and all 49 tests pass. Every page works on desktop and phone.

The code

Build it from scratch

To watch your agent build this app from an empty project, use the prompt we used instead. It takes longer than starting from the finished app above.

Agent Chat
Install elements:
curl -fsSL 'https://install.elements.dev?os=darwin' | sh && export PATH=~/elements/bin:$PATH

Create an Elements app:
cd ~/elements/projects
elements create micpass
cd micpass

Start the app, then build this:

Build a live Q&A and polling app named micpass for talks and all-hands meetings.

HOST (accounts)
- Create an event with a short join code.
- Presenter screen for the projector: the top questions, or the current poll's
  results as bars.
- Moderate: approve, hide, pin and mark questions answered.
- Run polls: multiple choice or word cloud, open and close them.

AUDIENCE (no account)
- Join with the code, optionally give a name.
- Ask a question and upvote others'. Questions sort by votes.
- Vote in the open poll.

Seed a host with one event full of questions and votes and two finished polls.
Show the host login on the sign-in page.

Questions, votes and poll results update in real time on every screen.

The weekly digest

New lessons, demos and posts from elements.dev, in one email a week.

Comments· 0