DevTrends开发者趋势
主题色

doors-dev /

neui

Neui is an AI agent and a web framework built as one stack. The core is a server-driven Go web framework ( https://github.com/doors-dev/doors ); neui ( https://github.com/doors-dev&#x2F…

DT小说创作DT软件开发DTAgent 能力扩展DTAgent 管理与编排DTMCP 服务DTWeb 应用DTWeb

关于

Neui is an AI agent and a web framework built as one stack. The core is a server-driven Go web framework ( https:&#x2F;&#x2F;github.com&#x2F;doors-dev&#x2F;doors ); neui ( https:&#x2F;&#x2F;github.com&#x2F;doors-dev&#x2F;neui ) turns each page into an agent harness. FEATURES: The agent sees & operates UI. Annotate what agent can access (links, inputs, buttons), so agent sees it and can assist user with UI operations or even automate it with scripting. ~>neui.Use{ Desc:"submit the form" } <button>Submit<&#x2F;button> or expose context data for the agent: <div class="card"> ~neui.Data{Text: "the product shown in the card", Object: product} ... <&#x2F;div> Dynamic tools, right in the markup Same way as you render a button to the user, you give the agent a tool. No endpoints or lifecycle management needed. ~(if user.IsAdmin() { ~neui.Tool[Refund, Receipt]{ Name: "refund", Desc: "Refund the order", Handler: orders.Refund, } }) Work environment Isolated file workspaces and sandboxed scripting ("code mode") out of the box. Agentic apps When a user needs something your UI doesn&#x27;t have, agent builds it on demand. Complete chat experience Thread list, history, message edits, full-text search, a message queue and automatic compaction. Batteries included MCP connector, web search and .xlsx tools, rich building blocks library for generative apps. COMPARED TO COPILOT KIT: - Agent thread runs on the server, so browser can&#x27;t rewrite the history&#x2F;tools to use your LLM backend + less traffic and faster tool-loops - System prompt and provided tool list do not change during operation - it caches and stays hot (because it&#x27;s usually the same for all your users!) - Pull-based, targeted UI sync; agent monitors only parts of UI that are relevant to the task (compared to full state attached to any user message) - Neui is already a harness with its own sandbox - just bring your model. - For generative UI agent writes a small app on specialized micro framework; agent doesn&#x27;t need to answer each click or load user input&#x2F;API responses into context - CON: Is not stack-agnostic, like AG-UI stuff TRY IT: The repo has a demo app with all of this: git clone https:&#x2F;&#x2F;github.com&#x2F;doors-dev&#x2F;neui && cd neui DEEPSEEK_API_KEY=... go run .&#x2F;examples&#x2F;business-systems&#x2F;backoffice Then open http:&#x2F;&#x2F;localhost:8095. Claude, GPT, Gemini, DeepSeek and any OpenAI-compatible provider will work. STATUS: Both doors and neui are Apache-2.0. I released the first version about 3 weeks ago, so it&#x27;s early and I am still optimizing some system instructions. Neui itself took me 3 months, on top of the 2 years I spent on the framework underneath (it&#x27;s awesome, btw), which made it possible.

收录记录

  1. Show HN

    2026年11月27日 · 1 次收录

讨论这个产品