Framework primitives

Each primitive has one responsibility. Choose the smallest one that fits the work.

Primitives

PrimitiveOwns
AppUser-facing routes, APIs, data, and rendering.
AgentModel reasoning, messages, tools, and output.
ToolOne callable capability.
SkillReusable agent instructions and resources.
PromptReusable instruction templates.
ResourceReadable project data for MCP.
EvalRepeatable quality checks for agents.
TaskA background work target.
WorkflowMulti-step coordination.
RunDurable execution of work.
ScheduleScheduled run creation.
IntegrationExternal service capabilities.
MCP serverAssistant-facing tools, prompts, and resources.
SandboxIsolated command and file execution.
ExtensionsReplaceable runtime infrastructure.

How primitives combine

Features can combine primitives, but one primitive should own the triggering event and primary lifecycle.

For example, an app route can receive a webhook. A workflow can coordinate the response. A task can run slow background work. An agent can reason about a user-facing decision. A skill can give the agent task-specific instructions.

For task-focused selection, see Choose a primitive. For exact agent runtime APIs, see veryfront/agent.