Inspiration
Most people have asked nicely, twice, and still been ignored. A roommate says "later." A teammate says "I already sent it." Sometimes, the harder we try to be polite, the less seriously our message is taken. But when frustration builds, it is easy to write something we regret.
I wanted to build a tool for the middle ground: a way to be firm, clear and persistent without becoming threatening or cruel.
What it does
Steady Ghost helps users express the same difficult request at four levels of force: Gentle, Plain, Steady and The Last Word.
Each level has its own distinct communication guide: the Sibling, the Coach, the Teacher and the Parent.
Users can also paste the reply they received. Steady Ghost examines the actual words and classifies the response, such as whether the matter is settled, unanswered, refused, insulting or claimed to be completed. Its verdicts are supported by exact quotations from the reply. If there is not enough evidence, it says so rather than guessing.
The safety rules are central to the experience. Steady Ghost rejects threats and insults and prevents the introduction of dates, amounts, numbers or names that the user did not provide.
It never sends messages. Users remain in control: copying is the only way a message leaves the page.
The application also includes four written example conversations, with multiple rounds, to demonstrate how the experience works.
How I built it
I built Steady Ghost with a lightweight Node.js backend and a plain HTML, CSS and JavaScript frontend.
Its safety system is implemented through code rather than relying solely on model instructions. Checks for dangerous language, unsupported facts, threats, insults, consequences and quotations run before a response can be accepted.
The application supports Google AI Studio and Vertex AI as Gemini backend options. Model responses are checked against a fixed structure, with a limited retry. The system does not invent a response to fill missing information.
I also designed the visual experience around the product's actual state. The candle represents the selected level, fresh ink represents new words, the fogged mirror represents unused evidence, the bleeding quill indicates a blocked line, and the snuffed candle represents a stopped message.
The interface includes a particle-based ghost, animated bats, a pumpkin and a spider. A reduced-motion control allows users to turn off animation.
I wrote automated tests for the safety rules, backend behavior, server and pages. The final local test run passed 95 tests.
Challenges I ran into
- Making safety enforceable: A model being instructed to behave responsibly is not enough. I moved important restrictions into code and wrote tests to check that they cannot be bypassed.
- Keeping evidence honest: Every verdict needs supporting words from the actual reply. When evidence is missing, the application must say so.
- Designing a usable spooky interface: I wanted a Halloween-inspired experience without sacrificing readability, keyboard accessibility, visible focus and reduced-motion support.
- Working within the time limit: I had to balance the safety architecture, visual design, automated testing and deployment within the hackathon schedule.
Accomplishments that I'm proud of
- Building a safety system where code, rather than model instructions alone, enforces important restrictions.
- Making verdicts evidence-based, with quotations drawn from the user's pasted reply.
- Connecting the visual effects to meaningful application states.
- Creating automated tests that check the rules and catch deliberately introduced failures.
- Deploying the application on Render with a working health endpoint and homepage.
What I learned
I learned that moving an important safety rule from a prompt into code makes it measurable and testable.
I also learned that transparency needs to be designed into the product. Examples, test outputs and model-generated results should never be presented as if they are the same thing.
Finally, accessibility and visual creativity do not have to compete. A distinctive interface can still provide readable text, keyboard support and control over animation.
What's next for Steady Ghost
- Configure and verify the live Gemini backend in the deployed application.
- Record real model runs as dated replays.
- Test on more mobile devices, browsers and screen readers.
- Add support for more languages.
- Explore voice interaction while keeping the same safety principles.
Built With
- canvas-api
- css3
- gemini-api
- git
- google-ai-studio
- google-fonts
- html5
- javascript
- kiro
- kiro-steering
- node.js
- node.js-test-runner
- playwright
- render
- svg
- vertex-ai