Inspiration

We missed the early internet. Before algorithmic feeds, BBSes and IRC rooms were intimate, text-first, and deeply communal. We wanted to bring that feeling back with a supernatural twist: what if some of the voices at the table came from beyond?

The Resurrection category gave us the push to build a digital séance table, where a small group can gather and co-author a ghost story with an AI medium.

What it does

SéanceDB is a real-time, seat-limited storytelling app styled as a haunted BBS.

  • Start from a Legend: Choose an original scenario, such as a storm-lashed lighthouse or the radio room of the fictional liner Meridian, or create your own theme and Medium.

  • Take a seat: Each table has 1–8 seats. Tables are private by default and use a join code. Hosts can also list a table under Public Tables for others on the same gateway.

  • Meet the Medium: The Medium opens the story when the first participant sits down, responds to the table's contributions, and can be summoned directly. Its agent rules keep it inside the fiction and require atmospheric deflection instead of explicit or out-of-character output.

  • Candlelit or Terminal: Switch instantly between a warm, candlelit feed and a green-on-black terminal feed. Arrival animations do not replay when switching views, and reduced-motion preferences are respected.

  • Snuff the Candle: The host closes the table. The Medium waits for any in-flight reply, speaks one final epilogue, and the story moves to Archived Stories as a read-only record.

How we built it

SéanceDB is a Kiro Crew app. The frontend uses Vite, React, TypeScript, and Tailwind CSS. The backend is Node.js with SQLite, running as a Crew-managed subprocess. The UI receives live updates over Server-Sent Events because the Crew gateway does not proxy WebSockets; the client handles reconnects with backoff and deduplicates posts.

We leaned on Kiro's ecosystem:

  • Spec-driven development: We wrote EARS-style requirements for board lifecycle, realtime posting, seat limits, Medium behavior, and deployment before implementing them.

  • Steering: product.md and refusals.md define the "spooky but accessible" tone, ban real people and franchise characters, and keep the Medium from referencing AI or the platform. The Medium's behavioral rules live in its Crew agent definition and skill.

  • Kiro agents: Kiro agents helped draft the Docker deployment scripts from the deployment spec and review UI changes.

  • Property-based testing: Using fast-check, we test input validation, seat limits under arbitrary join sequences, broadcast deduplication and presence, and Medium output truncation. Integration tests cover post persistence, broadcast, and epilogue ordering.

Challenges we ran into

Keeping the Medium in character was harder than making it eloquent. Left alone, models drift toward helpful-assistant mode. We moved the rules into the agent definition and skill, kept platform and AI references out of the fiction, and made the safe fallback atmospheric rather than explicit.

The transport was another constraint. Our first realtime design assumed WebSockets, but the Crew gateway does not proxy them. We moved the live feed to SSE, added reconnect with exponential backoff, and made post handling idempotent so reconnects do not duplicate story fragments.

The ending also needed care. A regular Medium reply could finish after the host closed the table, so the epilogue path waits for in-flight work and ensures the closing post is the last one.

Accomplishments that we're proud of

  • Two genuinely different readings of the same story: Candlelit and Terminal are separate feed presentations, not just a color swap. Switching preserves the story and does not replay old animations.

  • Atmosphere with guardrails: Original Legends, a strict in-character Medium, and quiet archival endings create unease without gore, real-world tragedy, or franchise characters.

  • Specs that became tests: Rules such as "a table never seats more than its limit" and "the epilogue is the last post" are expressed as properties and integration tests, not just prose.

What we learned

  • Steering by refusal works: Telling Kiro what not to do shaped the Medium's voice more effectively than a list of positive adjectives.

  • Specs are cheaper than rewrites: Seat limits, close behavior, and proxy constraints surfaced while they were still cheap to change.

  • Agents multiply well-scoped work: Handing deployment drafting and UI review to Kiro agents worked best when the specs and acceptance criteria were already clear.

What's next for SéanceDB

  • Optional voice: Web Speech API whispers or synthesized static, off by default, with no autoplay or jump-scare audio.

  • Multi-Medium tables: Two original spirits with distinct voices and explicit turn-taking rules, so they can address each other without talking over the players.

  • Story export: Export archived séances as formatted PDF or EPUB keepsakes.

  • Drop-in public lobby: Build on the existing Public Tables list with matchmaking, clearer host controls, and better discovery across a shared gateway.

Built With

Share this project:

Updates

Submission history