{"slug": "show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction", "title": "Show HN: Polymr – A Platform for Controllable Execution and Adaptive Interaction", "summary": "A developer open-sourced Polymr, an agent platform for controllable execution and adaptive interaction through dynamically generated tools and interfaces. The platform features standardized preview modes, granular permissions, runtime policies, and allows LLMs to create reusable scripts and frontend components. It aims to balance control and flexibility for both coding and non-coding tasks.", "body_md": "Hey HN, I’m open-sourcing Polymr, an agent platform that focuses on controllable execution and adaptive interaction through dynamically generated tools and interfaces.\n\nA core design principle is that MCP tools, generated scripts, frontend components, and pages all operate on the same underlying tool surface and can build on top of one another.\n\nControl comes from things like:\n\n- Standardized preview mode when a tool call is not automatically approved. I added an SQL MCP server that can run a DML in a transaction and roll it back to provide the user with an exact preview of the resulting changes.\n\n- Granular permissions in a hierarchical model that balances power and ease of use. I added a CLI MCP server that introspects the script with Tree-sitter and dynamically extracts the required permissions and prompts the user only when additional permissions are needed.\n\n- Runtime policies to restrict tool calls ad-hoc, for example restrict which folders can be accessed or make them immutable.\n\n- Polymr has no \"mandated\" tools out of the box, allowing the user to shape it as needed.\n\nThe adaptive interaction includes:\n\n- The LLM can create scripts that encapsulate domain-specific logic on top of existing MCP tools. These scripts can be reused by other scripts, frontend components, pages, or exposed back as MCP tools. For example, a generic SQL tool can be wrapped in a higher-level tool that implements business-specific object mutations while hiding the underlying queries.\n\n- The LLM can create frontend components and pages that also work on the same tool surface, allowing for a mixture of traditional web applications combined with LLM interaction. Everything that is available on the screen is, by its very nature, also approachable by the LLM.\n\n- The LLM can reuse existing components or create entirely new ones to create dynamic composite views on the fly in a session, tailored to the problem at hand.\n\nWhile I use it daily for both work and outside of work, for coding and non-coding, it still remains very much a personal project, so expect to find bugs and rough UI edges here and there. Any feedback, critique, or bug reports are highly appreciated!\n\nComments URL: [https://news.ycombinator.com/item?id=48555900](https://news.ycombinator.com/item?id=48555900)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction", "canonical_source": "https://polymr-platform.github.io/", "published_at": "2026-06-16 14:29:54+00:00", "updated_at": "2026-06-16 14:48:46.020407+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "large-language-models", "ai-tools"], "entities": ["Polymr", "MCP", "SQL", "Tree-sitter", "LLM"], "alternates": {"html": "https://wpnews.pro/news/show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction", "markdown": "https://wpnews.pro/news/show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction.md", "text": "https://wpnews.pro/news/show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction.txt", "jsonld": "https://wpnews.pro/news/show-hn-polymr-a-platform-for-controllable-execution-and-adaptive-interaction.jsonld"}}