Skip to content

agent-surfaceA compiler-authorized capability surface for frontend agents

Declare semantic capabilities in code, bind them to live UI state, and expose only what the production contract authorizes.

Choose a path

GoalRead
Expose the first React capabilityGetting started
Understand the modelConceptsArchitecture
Integrate React or oRPCReact APIoRPC integration
Review the security boundaryPolicies and securityLimits and non-goals
Build an adapterAdaptersErrors
Add CI and testsTestingCLI
Run the repository exampleExample application

Architectural contract

A capability becomes executable only through this path:

text
compiled declaration
  → immutable authority
  → privately authorized runtime binding
  → registry validation
  → registry-owned invocation

Runtime data can narrow the compiled surface but cannot add identities, effects, schemas, confirmation posture, or policy attachments. Unsupported registrations and tool exposure fail closed. See Architecture for the full guarantee and its boundary.

Project

Source, issues, and releases live on GitHub: Wiseair-srl/agent-surface. Packages are published to npm under @agent-surface/*, starting with @agent-surface/core. Contributions start with CONTRIBUTING.md; security reports go through SECURITY.md.

Compiler-authorized frontend capabilities for agents. Source on GitHub.