frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Optimism Engine – The first AI engine with a deterministic Safety Layer

https://optimism-engine.vercel.app/
1•sucharithan•1h ago

Comments

sucharithan•1h ago
I built the Optimism Engine because I noticed a dangerous gap in how we are using AI for mental health.

Right now, everyone is rushing to add "AI Chatbots" to their apps. But there is a huge risk they are ignoring: Hallucinations. Generative AI (like ChatGPT) is creative, but it makes mistakes. It can miss a suicide cue. It can give bad advice. In mental health, a "creative" mistake isn't just a bug, it's a liability.

The Problem with "Prompts":

Most apps try to fix this with "Prompt Engineering." They write long instructions telling the AI: "Please be safe. Don't give medical advice."

But here is the problem: Asking an AI to be safe is not the same as forcing it to be safe. It’s like asking a toddler to "be careful", they try, but you can't rely on them 100% of the time.

The Solution: The "Gatekeeper" Architecture:

I built the Optimism Engine to solve this. It is not just a chatbot; it is a Hybrid Safety System.

Think of it like a traffic light. Before the AI can say anything, it must pass through The Gatekeeper (my Logic Layer).

Logic First: The Gatekeeper is built with hard-coded rules, not AI. It checks every single message for danger signs (like suicide keywords) or cognitive distortions (like "Catastrophizing").

The Override: If a danger sign is detected, the Gatekeeper physically cuts the power to the AI. The AI is never allowed to generate a response. Instead, a pre-written, safe response is served immediately. This guarantees Zero Hallucination Risk on safety issues.

Context Awareness: The engine is smart enough to know the difference between "I don't know how to code" (a learning gap) and "I don't know why I'm alive" (a crisis). It adjusts the AI's instructions so it doesn't annoy or panic the user.

An Engineering Upgrade, Not a Medical Tool:

I want to be clear: This is an Engineering Upgrade, not a clinical product. I am not a doctor; I am a developer. I am selling the infrastructure, the plumbing and safety valves that other companies need to build their own apps on top of.

Who is this for?

If you are a founder or developer building a mental health or coaching app, you have a choice:

* Spend 6 months and a ton of money building your own "Safety Layer" and State Machine.

* Or acquire the Optimism Engine today and have enterprise-grade safety tomorrow.

I’m selling the Full Source Code + IP to help you build safer, smarter, and more reliable AI products. Let's stop playing Russian Roulette with mental health technology.

Feel the App on Loom (Modest): Re: - 25 February 2026

A White House Staffer Appears to Run Pro-Trump X Account

https://www.wired.com/story/a-white-house-staffer-appears-to-run-massive-pro-trump-meme-page/
1•doener•1m ago•0 comments

Show HN: Onera – Private LLM Inference Inside AMD SEV-SNP Enclaves

https://onera.chat
1•shreyaspapi•1m ago•1 comments

Next-Token Predictor Is an AI's Job, Not Its Species

https://www.astralcodexten.com/p/next-token-predictor-is-an-ais-job
1•bananaflag•2m ago•0 comments

Tests Are the New Moat

https://saewitz.com/tests-are-the-new-moat
1•vinhnx•5m ago•0 comments

'Access to Insight' is shutting down

https://www.accesstoinsight.org/
1•bifftastic•5m ago•0 comments

The next batch of fixed Epstein files links and notes is live

https://xcancel.com/IAmAnonLegion/status/2026853415863615662?s=20
1•doener•5m ago•0 comments

Programming has changed dramatically due to AI in the last 2 months (Karpathy)

https://twitter.com/karpathy/status/2026731645169185220
2•bakigul•9m ago•0 comments

Demo of an indie AI collaboration app – beyond Codex and Claude Code desktop

1•seeksky•10m ago•1 comments

AIQuotaBar – macOS menu bar app that shows Claude and ChatGPT usage limits

https://github.com/yagcioglutoprak/AIQuotaBar
1•toprak123•15m ago•0 comments

Git City – Your GitHub as a 3D City

https://www.thegitcity.com/
1•duck•16m ago•1 comments

Mumsnet campaign demands ban on social media for under-16s

https://www.theguardian.com/society/2026/feb/26/mumsnet-campaign-demands-ban-social-media-under-16s
2•pmg101•18m ago•0 comments

Shipcast – Turn your Git commits into tweets, automatically

https://shipcast.dev/
1•guoyu•18m ago•0 comments

Show HN: LucidExtractor – Extract web data in plain English, no selectors

https://lucidextractor.liceron.in
1•yukendiran_j•23m ago•0 comments

A larger cage: about the ongoing calls for "digital sovereignty"

https://www.structural-integrity.eu/a-larger-cage-about-the-ongoing-calls-for-digital-sovereignty/
1•doener•24m ago•0 comments

Earth's heat to power 10k homes in renewable energy first for UK

https://www.bbc.co.uk/news/articles/cewzg77k721o
2•RobinL•24m ago•0 comments

Show HN: Snaplake – Query past database states without restoring backups

https://snaplake.clroot.io
1•clroot•24m ago•0 comments

Show HN: Context Harness – Local first context engine for AI tools

https://github.com/parallax-labs/context-harness
1•__parallaxis•24m ago•0 comments

Perplexity Computer

https://www.perplexity.ai/hub/blog/introducing-perplexity-computer
1•kamaal•24m ago•0 comments

Show HN: I Made an AI Skill to Help Write Tlaps Proofs

https://github.com/younes-io/agent-skills/blob/main/skills/tlaps-workbench/SKILL.md
1•youio•25m ago•0 comments

Implementing a Clear Room Z80 / ZX Spectrum Emulator with Claude Code

https://antirez.com/news/160
2•boyter•26m ago•0 comments

RUS-Pat Bringing Optical Color to Ultrasound

https://www.caltech.edu/about/news/bringing-optical-color-to-ultrasound
1•Liquidity•27m ago•0 comments

Show HN: SendView – Mail merge from Airtable/GSheets, sends through your email

https://sendview.app/
2•jbrake•33m ago•0 comments

Evidence for the weak Sapir-Whorf hypothesis

https://twitter.com/colingorrie/status/2026658482959565246
2•MrBuddyCasino•34m ago•0 comments

Apple's Touch-Screen Laptop to Have Dynamic Island, New Mac Interface

https://www.bloomberg.com/news/articles/2026-02-24/apple-s-touch-screen-macbook-pro-to-have-dynam...
3•mpweiher•34m ago•0 comments

Show HN: Trust-gated developer communities with portable identity (AT Protocol)

https://github.com/JohannaWeb/ProjectFalcon
2•JohannaWeb•37m ago•1 comments

A Logic Named Joe(1946)

https://www.baen.com/chapters/W200506/0743499107___2.htm
2•largbae•37m ago•0 comments

Open-Source Discord Alternatives

https://lwn.net/SubscriberLink/1058319/7f10cd1d82956e9f/
2•mkesper•38m ago•0 comments

Burned $250 in tokens on Day 1 with OpenClaw

2•aposded•38m ago•0 comments

You are likely unable to connect to http://archive.ph

https://twitter.com/pberrini/status/2026884672584867986
2•petethomas•39m ago•1 comments

Show HN: Sleeping LLM – A language model that remembers by sleeping

https://github.com/vbario/sleeping-llm
2•vbaranov87•41m ago•0 comments