Devframe: A Framework for Building Developer Tools

Anthony Fu released Devframe, a framework for building developer tools that can be deployed as Vite plugins, CLI, static reports, or MCP servers. It uses a handler-first model and is designed for both humans and AI coding agents.
Key insights
Core Design: Handler-First
Devframe uses a handler-first model: defineDevframe() defines a tool with id, capabilities, RPC functions, shared state, SPA, diagnostics, and agent interfaces. initDevframe() produces a Web standard handler or Connect middleware. This allows the same tool to run as Vite plugin, CLI, static report, or MCP server.
Designed for Humans and Agents
Devframe treats coding agents as first-class citizens. RPC functions are private by default, exposed via MCP adapter with descriptions and schema. It integrates json-render for predictable UI. The repository includes skills/devframe directory and AGENTS.md for agent-native documentation.
Portability and Adaptability
The framework achieves portability by targeting Web standard request/response and Connect middleware, which are supported by modern frameworks like Hono, Nitro, Next.js, SvelteKit, Vite, and Rsbuild. Adapters provide convenience layers for CLI, dev server, build, MCP server, and Vite plugin.