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/headDeclarative <head> metadata management.
veryfront/routerClient-side routing, navigation, and links.
veryfront/contextAccess route params, page data, and MDX frontmatter.
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/providerAI SDK model provider registry. Maps “provider/model” strings to AI SDK LanguageModel instances. Auto-initializes providers from environment variables on first use.
veryfront/fsFilesystem operations and path 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 AI SDK (embeddings, similarity) and LangChain (text splitting) behind veryfront’s own API.
veryfront/cliVeryfront CLI entry point.