{"slug": "show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents", "title": "Show HN: GenUI, native SwiftUI interfaces generated by AI agents", "summary": "GenUI, a native Swift workspace for generative user interfaces, has been released as open-source software. The platform uses AI agents to produce declarative A2UI messages that are validated against an allowed catalog and rendered by SwiftUI without executing agent-generated code. The experimental project includes an iOS client, macOS workspace, offline component gallery, and cloud agent runtime.", "body_md": "GenUI is a native Swift workspace for generative user interfaces. Agents produce declarative A2UI messages, clients validate them against an allowed catalog, and SwiftUI renders the resulting surfaces without executing agent-generated code.\n\nThis repository is the architecture and workspace hub. Product code remains in independent repositories pinned here as Git submodules. The offline component Playground is a root-owned developer tool so it can exercise several packages together without creating another release dependency.\n\nGenUI is experimental software. The renderer and local demos work, while the hosted gateway still lacks production authentication, rate limiting, and session-resume guarantees.\n\n— native iOS client`apps/genui-ios`\n\n— native macOS workspace, migrated from`apps/genui-macos`\n\n`genui-demo`\n\n— offline component gallery with macOS and iOS hosts`apps/genui-playground`\n\n— A2UI state, binding, and SwiftUI renderer`packages/genui-kit`\n\n— shared design system and component catalogs`packages/genui-components-swift`\n\n— cloud agent client SDK`packages/genui-agent-client-swift`\n\n— transitional local tool-call bridge`packages/genui-bridge-swift`\n\n— versioned client/backend contract`protocol/genui-agent-protocol`\n\n— provider-independent agent runtime`backend/genui-agent-runtime-ts`\n\n— Cloudflare deployment and durable sessions`backend/genui-cloudflare-agent`\n\n`genui-bridge-swift`\n\nremains in the workspace while its validation and A2UI\ntooling responsibilities move to the cloud runtime. It can be removed after\nthe macOS application no longer depends on it.\n\nClone the complete workspace in one command:\n\n```\ngit clone --recurse-submodules https://github.com/kiliczsh/genui.git\ncd genui\n```\n\nFor an existing clone:\n\n```\ngit submodule sync --recursive\ngit submodule update --init --recursive\n```\n\nThe required GenUI dependencies are public. A complete recursive clone can be performed over anonymous HTTPS; private credentials are only needed for maintainer-only operations.\n\n- Xcode matching the checked-in iOS 26 and macOS 26 projects\n- Swift 6 capable toolchain (some packages retain Swift 5.9 manifests)\n- Node.js 20 or newer for the TypeScript runtime and Cloudflare gateway\n- npm and Wrangler for local gateway development\n\nInitialize the workspace and build the API-key-free Playground:\n\n```\nmake bootstrap\nmake playground-build\n```\n\nOpen `apps/genui-playground/GenUIPlaygroundMobileApp.xcodeproj`\n\n, select the\nshared `MobileApp`\n\nscheme, and run it on an iOS simulator. The gallery is\nfixture-driven and does not connect to an agent or network service.\n\nUseful workspace commands:\n\n```\nmake help\nmake status\nmake backend-check\nmake apps-build\nmake check\n```\n\nStart the local Cloudflare gateway with:\n\n```\nmake dev\n```\n\nProvider configuration remains in the gateway's ignored `.dev.vars`\n\nfile; use\nthe checked-in `.dev.vars.example`\n\nas the template. Ollama and llama.cpp can be\nused without a hosted OpenAI API key when their models support tool calling.\n\nEach submodule has its own history and remote. Commit and push changes inside the child repository first, then commit the updated submodule pointer in this repository.\n\n```\ncd packages/genui-kit\ngit switch main\ngit pull\ncd ../..\ngit add packages/genui-kit\ngit commit -m \"Update genui-kit\"\n```\n\nThe root repository owns the workspace Makefile, concise cross-repository guidance, and the Playground. It does not copy source code from the independent application, package, protocol, or backend repositories.\n\nThe repository layout and initial submodule links are established. Core package builds, native application builds, deterministic runtime smoke checks, and the offline Playground are working. Open-source licensing, anonymous dependency resolution, release tags, and production gateway safeguards are still in progress.", "url": "https://wpnews.pro/news/show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents", "canonical_source": "https://github.com/kiliczsh/genui", "published_at": "2026-07-10 17:09:07+00:00", "updated_at": "2026-07-10 17:35:22.557769+00:00", "lang": "en", "topics": ["generative-ai", "ai-agents", "developer-tools", "ai-products"], "entities": ["GenUI", "SwiftUI", "Cloudflare", "Ollama", "llama.cpp", "OpenAI"], "alternates": {"html": "https://wpnews.pro/news/show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents", "markdown": "https://wpnews.pro/news/show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents.md", "text": "https://wpnews.pro/news/show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents.txt", "jsonld": "https://wpnews.pro/news/show-hn-genui-native-swiftui-interfaces-generated-by-ai-agents.jsonld"}}