Agent / Expose, do not reimplement
Agents: expose your application instead of reimplementing it
Integrating an AI agent directly through custom tool handlers quickly creates a second copy of your application: tools reimplement transitions the UI already owns, pull the whole Model for lack of a focused context, confuse internal fact messages with user actions, and duplicate authorization across MCP, WebMCP, and A2A.
foldkit-agent turns subsets of what your Foldkit app already has—a Model projection for what an agent may observe, and selected Message variants for what it may trigger—into one protocol-neutral agent contract. Adapters for WebMCP, MCP, A2A, and Agent Native then serve that contract without duplicating business logic.
An agent capability is an application Message, never a second implementation.
Human clicks and agent calls pass through the exact same update, tests, authorization, and replay.