frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

OpenAI's Apps SDK – How It Works

1•zachpark•3h ago
TL;DR OpenAI just shipped its Apps SDK — the real infrastructure behind ChatGPT “apps.” Built on top of the Model Context Protocol (MCP), it lets anyone create interactive UI widgets that talk directly to the LLM. Think: the App Store moment for AI.

CORE ARCHITECTURE Every ChatGPT app has two halves:

The MCP server — defines tools and logic.

The widget — a web app compiled to JS and rendered inside ChatGPT’s iframe.

When you say “Show me homes on Zillow,” the LLM: → Calls the MCP tool → Fetches the linked UI resource → Loads it into an iframe

It’s a full-stack app living inside ChatGPT.

PROJECT STRUCTURE OpenAI suggests:

app/ server/ # MCP logic and tools web/ # React/Svelte widget, compiled to JS

The server just needs to serve HTML embedding your JS bundle. Framework-agnostic, flexible — even host server and widget separately if needed.

HOW MCP SERVERS THINK An Apps SDK server acts like a normal MCP server, but adds UI awareness. Each tool maps to a widget resource (like ui://widget/...). When invoked, the LLM pulls that resource and renders it.

Servers can return “structuredContent” — basically JSON props that hydrate the widget UI.

THE SECRET SAUCE: WINDOW.OPENAI Every widget gets a built-in API bridge: window.openai. This lets your frontend talk directly to the ChatGPT client.

You can:

Read data from the server (toolOutput)

Persist local UI state (setWidgetState)

Call tools directly (callTool)

Send messages back to ChatGPT (sendFollowUpMessage)

Widgets aren’t static — they’re living agents wired into the model loop.

TAKEAWAY OpenAI’s Apps SDK blurs the line between app, API, and AI model. It’s a new runtime for conversational UI — a way to build micro-apps that live inside ChatGPT.

This might be the moment developers start treating ChatGPT like an OS, not a chatbot.

I NEED YOUR FEEDBACKS FOR IT

so I built FastApps — the only python framework for building chatgpt apps with zero boilerplate and instant setup

fastapps init my-app

That single command spins up a full-stack app — Python backend + React UI — ready to run inside ChatGPT.

VALUES 1. Instant setup – One command to start. No manual config. 2. Zero boilerplate – One file for your tool, one for your UI. That’s it. 3. Auth included – Built-in OAuth2 with Auth0, Clerk, or your own provider. 4. Auto-wiring – Drop a tool under /server/tools/ and it’s instantly live.

The“Apps in ChatGPT”era is just beginning. With FastApps, you can tap into ChatGPT’s 800M WAU and your app runs seamlessly both inside ChatGPT and in the new Atlas browser.

Github: https://github.com/DooiLabs/FastApps

Comments

SquidJack•2h ago
very nice idea. have some doubts so for every MCP server they defined the UI and complied into packages? so the LLM can use it. if this is the case how can it work on non defined UI's

Rethinking How We Optimize Images for Small and Mid-Sized Websites

https://err0r500.substack.com/p/rethinking-how-we-optimize-images
1•err0r500•2m ago•0 comments

VST 3.8.0 SDK Released (VST3 is now open source, released under the MIT license)

https://forums.steinberg.net/t/vst-3-8-0-sdk-released/1011988
1•crispinh•5m ago•0 comments

Why Not Valetudo?

https://valetudo.cloud/pages/general/why-not-valetudo.html
2•FlynnLivesMattr•8m ago•0 comments

Claude Skills might be a Gamechanger

https://saturnyx.dino.icu/programming-news/2025/10/22/claude-skills-might-be-a-gamechanger.html
2•saturnyx•8m ago•0 comments

Shutdown Enters Day 21 After Latest Funding Vote Fails

https://www.barrons.com/livecoverage/government-shutdown-news-today-102125
1•zerosizedweasle•12m ago•0 comments

Big Companies vs. Startups

https://danluu.com/startup-tradeoffs/
1•aamederen•14m ago•0 comments

Find clarity and calm in modern life with Wiser Life's simple Seneca insights

https://havewiserlife.com/
1•maciekdebiec•14m ago•0 comments

Chemical pollution a threat comparable to climate change, scientists warn

https://www.theguardian.com/environment/2025/aug/06/chemical-pollution-threat-comparable-climate-...
1•Michelangelo11•14m ago•0 comments

Move, Destruct, Forget, and Rust

https://smallcultfollowing.com/babysteps/blog/2025/10/21/move-destruct-leak/
3•Bogdanp•15m ago•0 comments

Trump Demurs, China Hardens

https://www.politico.com/newsletters/weekly-trade/2025/10/20/trump-demurs-china-hardens-00615091
3•zerosizedweasle•16m ago•0 comments

I built an AI that replaces spreadsheets Its name called WealthAI

https://wealth-ai.in/
1•asaws•17m ago•1 comments

After the Turing Test

https://blog.judicata.com/after-the-turing-test-651f3eb1cf54
1•igurari•19m ago•0 comments

Shipping products fast should be the #1 tech leaders' priority

2•meir-avimelec•20m ago•0 comments

Update regarding Vercel service disruption on October 20, 2025

https://vercel.com/blog/update-regarding-vercel-service-disruption-on-october-20-2025
3•MaxLeiter•22m ago•0 comments

Advent of Code 2025, there will be 12 days of puzzles

https://adventofcode.com/
2•praseodym•23m ago•1 comments

I used to like software development but not anymore

https://blog.kulman.sk/i-used-to-like-software-development-but-not-anymore/
2•ingve•24m ago•0 comments

Smart beds began roasting their owners during AWS outage

https://www.pcworld.com/article/2948826/these-smart-beds-began-roasting-their-owners-during-aws-o...
2•branko_d•26m ago•1 comments

Denosing Images of Cats and Dogs with Autoencoders

https://mayberay.bearblog.dev/denosing-images-of-cats-and-dogs-with-autoencoders/
2•mugamuga•26m ago•1 comments

Vertiginous Accounts: Travels in the Air (1871 edition)

https://publicdomainreview.org/collection/travels-in-the-air/
3•prismatic•28m ago•0 comments

Show HN: I built a Bridge wrapper for digital nomads to get paid in stablecoins

https://www.useairsend.com/
2•HenryYWF•28m ago•0 comments

Enchanting Imposters

https://daily.jstor.org/enchanting-imposters/
3•Petiver•29m ago•0 comments

Cyberselfish (1996) [pdf]

https://www.paulinaborsook.com/PDF-disk-1/Cyberselfish_Mother%20Jones.pdf
1•camillomiller•29m ago•0 comments

The Great Butterfly Heist

https://www.theguardian.com/global/2025/oct/04/great-butterfly-heist-how-collector-stole-thousand...
2•lermontov•29m ago•0 comments

Galaxy XR: Opening New Worlds

https://news.samsung.com/global/introducing-galaxy-xr-opening-new-worlds
1•mgh2•29m ago•1 comments

Kotlin Brain Teasers

https://pragprog.com/titles/kotlinbt/kotlin-brain-teasers/
1•dong13•30m ago•0 comments

Axe – CLI tool for interacting with iOS Simulators

https://github.com/cameroncooke/AXe
1•epaga•32m ago•0 comments

Google porting all internal workloads to Arm, with AI helper

https://www.theregister.com/2025/10/22/google_multi_arch_x86_arm_port/
1•beardyw•32m ago•0 comments

Even Xbox developer kits are getting a big price hike

https://www.theverge.com/report/803237/microsoft-xbox-devkit-price-hikes-developers
2•croes•33m ago•0 comments

Death to the "Sprint Review"

https://squirrelsquadron.substack.com/p/death-to-the-sprint-review-event
2•squirrel•34m ago•0 comments

Show HN: I'm 15 and built Gelt – an agentic AI that builds full-stack apps

https://gelt.dev
2•etaigabbai•36m ago•1 comments