Discover and explore top open-source AI tools and projects—updated daily.
Examples for building rich ChatGPT applications with the Apps SDK
New!
Top 28.9% on SourcePulse
Summary
This repository provides example applications for OpenAI's Apps SDK, showcasing UI components and Model Context Protocol (MCP) servers. It serves as a starting point and inspiration for developers building custom applications for ChatGPT, enabling rich, interactive user experiences by connecting LLM clients to external tools and data.
How It Works
The project leverages the Model Context Protocol (MCP), an open specification for integrating large language model clients with external tools, data, and user interfaces. MCP servers expose tools with defined JSON Schema contracts, allowing models to call them. Crucially, MCP servers can return structured content alongside metadata, such as inline HTML, which the Apps SDK interprets to render rich UI components (widgets) directly within the ChatGPT interface, keeping the server, model, and UI synchronized.
Quick Start & Requirements
pnpm install
(or npm install
/yarn install
).pnpm run build
to bundle UI components into static assets located in the assets/
directory.pnpm run dev
for live development.pnpm run serve
to host generated bundles at http://localhost:4444
with CORS enabled.cd pizzaz_server_node && pnpm start
python -m venv .venv
, source .venv/bin/activate
), install requirements (pip install -r pizzaz_server_python/requirements.txt
), and run uvicorn pizzaz_server_python.main:app --port 8000
.uvicorn solar-system_server_python.main:app --port 8000
.ngrok
to expose local ports (e.g., ngrok http 8000
).Highlighted Details
_meta.openai/outputTemplate
metadata to hydrate matching UI widgets.Maintenance & Community
Contributions via issues or PRs are welcome, though the project notes that not all suggestions may be reviewed. No specific community channels (e.g., Discord, Slack) or roadmap links are provided in the README.
Licensing & Compatibility
This project is licensed under the MIT License, which is permissive for commercial use and integration into closed-source projects.
Limitations & Caveats
The repository serves as a gallery of examples and a starting point, requiring developer effort to adapt for production use. The contribution review process may not guarantee all submitted improvements will be integrated.
6 days ago
Inactive