Skip to main content

Framework API Reference

Complete API reference for the Veryfront framework.

Install

npm install veryfront

Modules

ImportDescription
veryfrontConfiguration, server bootstrap, routing, data fetching, and input validation.
veryfront/headReact head exports for document metadata rendering.
veryfront/routerReact router exports for client navigation and route context.
veryfront/contextReact page-context exports for MDX and route-aware rendering.
veryfront/fontsLoad Google Fonts as a React component.
veryfront/chatChat UI components and streaming hooks.
veryfront/markdownMarkdown rendering with syntax highlighting and diagrams.
veryfront/mdxComponent overrides for .mdx page rendering.
veryfront/agentAI agents with memory, tools, and multi-agent composition.
veryfront/toolDefine tools with Zod schemas for agents and MCP.
veryfront/workflowDAG-based agentic workflows with human-in-the-loop support.
veryfront/promptDeclare and register prompts exposable over MCP.
veryfront/resourceDeclare and register resources exposable over MCP.
veryfront/jobsJobs module for durable project-scoped background execution. Provides a public SDK surface for one-off jobs, cron jobs, batch summaries, job target discovery, and the canonical split between user-visible events and raw debugging logs.
veryfront/mcpMCP server exposing tools, prompts, and resources.
veryfront/middlewareCORS, rate limiting, logging, and timeout middleware.
veryfront/utilsInternal utilities — runtime detection, structured logging, constants (breakpoints, timeouts, HTTP codes), hashing, memoization, and feature flags.
veryfront/oauthOAuth 2.0 with 37 pre-configured providers.
veryfront/providerProvider registry. Maps “provider/model” strings to framework-compatible model runtimes. Auto-initializes built-in providers from environment variables on first use.
veryfront/fsPublic filesystem, path, and cwd utilities.
veryfront/integrationsIntegration metadata and SVG icons for all connectors.
veryfront/sandboxSandbox module for ephemeral compute environments. Provides the Sandbox class for creating and interacting with isolated execution environments.
veryfront/embeddingEmbedding — RAG primitives for chunking, embedding, and similarity search. Provides a facade over the framework’s current embedding runtime and LangChain text splitting behind veryfront’s own API.
veryfront/extensionsPublic extension API surface. Types used when authoring extensions (the scaffold template generated by veryfront extension init imports from this module), plus the runtime helpers consumers need to load, validate, and orchestrate extensions.
veryfront/cliVeryfront CLI entry point.