# Dryv documentation > Dryv documentation: deterministic code generation from contracts, the dryv CLI, authoring, templating and packs, and how to use Dryv with AI agents and agent skills. Every page is also available as plain Markdown: add `.md` to its URL (section homes are `/docs/index.md`, `/authoring/index.md`, `/pack-builders/index.md`). The whole documentation in one file is at https://docs.dryvcode.com/llms-full.txt. Agent skill for Claude Code and similar agents: https://docs.dryvcode.com/skills/dryv/SKILL.md ## Docs Using Dryv: installation, the CLI loop, concepts, configuration, AI agents and reference. - [What is Dryv?](https://docs.dryvcode.com/docs/index.md): Understand Dryv's purpose, architecture, and generation model. - [Installation](https://docs.dryvcode.com/docs/usage/installation.md): Install the dryv CLI, the author and compiler for your language, and connect to a Dryv Engine. - [Get started with Dryv](https://docs.dryvcode.com/docs/getting-started.md): Create a Dryv project configuration and understand the first generation loop. - [How a project flows through Dryv](https://docs.dryvcode.com/docs/usage/workflow.md): From authored meaning to generated files, what runs where, and which command does what. - [Authoring](https://docs.dryvcode.com/docs/concepts/authoring.md): Learn how Dryv authoring defines software meaning without taking over generation. - [Canonical Dryv Runtime IR](https://docs.dryvcode.com/docs/concepts/runtime-ir.md): Understand the portable semantic model at the center of Dryv. - [Packs and templating](https://docs.dryvcode.com/docs/concepts/packs.md): Learn how reusable packs turn canonical meaning into generated representation. - [Planning and explainability](https://docs.dryvcode.com/docs/concepts/planning.md): See how Dryv makes generation work explicit before project mutation. - [Dryv agent](https://docs.dryvcode.com/docs/guides/agent.md): Run the Dryv coding agent on your own machine with your own model provider key, from the terminal or VS Code. - [Tasks](https://docs.dryvcode.com/docs/guides/tasks.md): Plan and track work as Markdown files in your project with dryv task, and let people and agents share the same tasks. - [VS Code](https://docs.dryvcode.com/docs/guides/vscode.md): Validate, plan and generate, chat with the Dryv agent and manage tasks from VS Code, using the local daemon on your machine. - [Local daemon](https://docs.dryvcode.com/docs/guides/local-daemon.md): The local Dryv daemon runs your Engine and the agent on your machine. Start, check, restart and stop it with dryv local. - [Playground](https://docs.dryvcode.com/docs/guides/playground.md): Create, generate, run and preview a Dryv project in a hosted workspace in your browser. - [Sign in and sync](https://docs.dryvcode.com/docs/guides/sync.md): Sign in to the Dryv Platform from the CLI, sync a project's tasks to your account, and read them in the web app. - [Publish packs](https://docs.dryvcode.com/docs/guides/publishing.md): Create a pack namespace, release a public or private pack from the web app, and use private packs from the CLI. - [Connect an MCP client](https://docs.dryvcode.com/docs/guides/mcp.md): Connect an AI assistant to the Dryv Platform MCP server, sign in with OAuth, and let it read and run your Playground projects. - [dryv.yaml project usage](https://docs.dryvcode.com/docs/usage/dryv-yaml.md): Configure semantic input, packs, destinations, and generation behavior for a project. - [Find and use packs](https://docs.dryvcode.com/docs/usage/packs.md): Search the official pack registry, read what a pack needs, and add it to your project at a pinned commit. - [Agents and CI](https://docs.dryvcode.com/docs/usage/agents-and-ci.md): Run Dryv from CI and let AI agents use it correctly with built-in guides and stable JSON results. - [Clean up generated code](https://docs.dryvcode.com/docs/usage/clean-generated-code.md): Remove unused imports and run formatters on generated files with project actions, or add a ready-made preset with one command. - [CLI reference](https://docs.dryvcode.com/docs/usage/cli.md): Every dryv command, what it does, and which ones write files. - [All CLI commands](https://docs.dryvcode.com/docs/cli/commands.md): Every dryv command with its usage and options, taken from the CLI's own help. - [About the Platform](https://docs.dryvcode.com/docs/platform.md): What is open source, what the hosted Dryv Platform adds, and when you need to sign in. - [The web app](https://docs.dryvcode.com/docs/platform/web-app.md): What you can do at app.dryvcode.com, the Dryv Platform web app. - [Account and security](https://docs.dryvcode.com/docs/platform/account-and-security.md): Sign-in methods, passkeys, two-factor authentication, sessions, AI provider keys, usage, notifications, data export and account deletion. - [Organizations](https://docs.dryvcode.com/docs/platform/organizations.md): Create an organization, invite people, choose their roles and transfer ownership. - [Ecosystem and extensibility](https://docs.dryvcode.com/docs/ecosystem/extensibility.md): Understand how Dryv adds languages, renderers, clients, packs, and engine implementations without fragmenting semantics. - [Runtime vocabulary](https://docs.dryvcode.com/docs/reference/vocabulary.md): A user-facing reference for Dryv's canonical software concepts and relationship rules. - [Template context](https://docs.dryvcode.com/docs/reference/template-context.md): What pack templates can read, how context stays small, and how to discover it. - [Release notes](https://docs.dryvcode.com/docs/reference/changelog.md): What changed in Dryvcode: the current state of the open source tools and the Platform, and the 0.1.0 release. - [Use Dryv with AI agents](https://docs.dryvcode.com/docs/ai/agents.md): Let Claude Code, Codex, Cursor and other AI agents generate code with Dryv safely, using deterministic generation, JSON results, agent skills and llms.txt. - [Dryv agent skill](https://docs.dryvcode.com/docs/ai/agent-skill.md): A ready-to-use Agent Skill (SKILL.md) that teaches Claude Code and similar AI agents the Dryv code generation loop, error codes and pack commands. ## Pack builders Building packs: templates, template engines and how packs render code. - [Pack builders](https://docs.dryvcode.com/pack-builders/index.md): Everything you need to build a Dryv pack: how packs work, the template context they can read, and how to test and publish them. - [Build your first pack](https://docs.dryvcode.com/pack-builders/first-pack.md): Scaffold a pack, write a template, test it against the engine's sample model, and see the planned files. - [Pack anatomy](https://docs.dryvcode.com/pack-builders/anatomy.md): Every section of dryv.pack.yaml and the folders around it, with a real manifest explained line by line. - [Test and publish](https://docs.dryvcode.com/pack-builders/test-and-publish.md): Prove a pack with Dryv's conformance checks and a fixture project, then publish it to the pack registry. - [CLI for pack builders](https://docs.dryvcode.com/pack-builders/cli.md): The dryv commands pack authors use, and how to make sure your installed CLI has them. - [Core model](https://docs.dryvcode.com/pack-builders/design/core-model.md): A pack is a reusable generator. - [Layouts and units](https://docs.dryvcode.com/pack-builders/design/layouts-and-units.md): The runtime layout is deliberately small. - [Composition and bindings](https://docs.dryvcode.com/pack-builders/design/composition-and-bindings.md): Composition remains explicit. - [Template filesystem](https://docs.dryvcode.com/pack-builders/design/template-filesystem.md): This document applies the locked rules from 00-locked-decisions.md. - [Starters, recipes and ownership](https://docs.dryvcode.com/pack-builders/design/ownership.md): A starter helps a user begin an editable project/workspace. - [Actions and commands](https://docs.dryvcode.com/pack-builders/design/actions.md): Commands exist only to support generation. - [Action command schema](https://docs.dryvcode.com/pack-builders/design/action-schema.md): Status: design direction - [Action resolution](https://docs.dryvcode.com/pack-builders/design/action-resolution.md): Status: design direction - [Project configuration](https://docs.dryvcode.com/pack-builders/design/project-configuration.md): Status: proposed Usage-tier change caused by the pack-design redesign - [Design rules](https://docs.dryvcode.com/pack-builders/design/rules.md): Status: locked for this design review - [Packs reference](https://docs.dryvcode.com/pack-builders/design/packs-reference.md): A pack selects IR subjects, discovers templates from its filesystem, and declares generated identity: names, paths, symbols, imports and exports. Working examples: sdk/examples/packs/fastapi-backen... - [Implemented contract](https://docs.dryvcode.com/pack-builders/design/implemented-contract.md): The approved design record preserves the locked decisions and examples. This page describes the implemented contract only; generated-unit composition and dryv.lock remain incomplete. - [Context overview](https://docs.dryvcode.com/pack-builders/context/overview.md): This directory documents the renderer-facing context that pack templates can request. - [Context catalog](https://docs.dryvcode.com/pack-builders/context/catalog.md): This is the pack-author index for renderer-facing context paths. - [Derived values](https://docs.dryvcode.com/pack-builders/context/derived.md): Beside the raw, IR-shaped context, the engine offers derived context: deterministic facts that templates would otherwise reconstruct. It exists so a template can mostly look like the code it emits,... - [Template analysis protocol](https://docs.dryvcode.com/pack-builders/context/analysis-protocol.md): For the derived vocabulary templates can request (classifications, presence facts, JSON literals, HTTP views, storage, generated representations) and the CLI discovery commands, see context/derived... - [Context resolution](https://docs.dryvcode.com/pack-builders/context/resolution.md): The DemandDrivenContextProjector turns validated requirement paths into the minimal render context for one file. It resolves directly from IR and planning indexes. There's no expanded context-IR co... - [Artifact graph](https://docs.dryvcode.com/pack-builders/context/artifact-graph.md): Planning turns selections and the template filesystem into concrete files, symbols and edges before rendering (decision 0007). - [Template servers](https://docs.dryvcode.com/pack-builders/context/template-servers.md): A server manifest documents Dryv runtime endpoints. It is infrastructure wiring, not project generation configuration. - [Tracing](https://docs.dryvcode.com/pack-builders/context/tracing.md): GenerationResult.trace exposes a dryv.trace/v1alpha1 graph, and artifacts keep compact TraceReference links into it. - [schema](https://docs.dryvcode.com/pack-builders/context/schema.md): Derived additions: has presence facts, json literals, fields[].storage.primarykey and field-link generated. See derived.md. - [operation](https://docs.dryvcode.com/pack-builders/context/operation.md): Derived additions: facets.http.is., inputs[].is., inputgroups.[], path.effective and path.segments[]. See derived.md. - [event](https://docs.dryvcode.com/pack-builders/context/event.md): A reusable semantic event with optional payload and explicit operation/workflow listeners. - [policy](https://docs.dryvcode.com/pack-builders/context/policy.md): A reusable authorization/business rule with explicit required/provided semantic context and an optional expression rule. - [failure](https://docs.dryvcode.com/pack-builders/context/failure.md): A reusable domain/operation failure for exceptions, error DTOs, protocol errors, and documentation. - [workflow](https://docs.dryvcode.com/pack-builders/context/workflow.md): A named orchestration graph connecting operation/workflow calls, event waits, data bindings, policies, transitions, and outputs. - [view](https://docs.dryvcode.com/pack-builders/context/view.md): A semantic user-facing view composed from named context values, independently meaningful parts, and one or more surface presentations. - [view.part](https://docs.dryvcode.com/pack-builders/context/view-part.md): An independently selectable portion of a view that can generate a form, presenter, action component, or other UI fragment while retaining view ownership. - [surface](https://docs.dryvcode.com/pack-builders/context/surface.md): A delivery/presentation surface such as web, mobile, desktop, CLI, or embedded. - [expression](https://docs.dryvcode.com/pack-builders/context/expression.md): A named renderer-neutral evaluable expression used by policies, defaults, invariants, and semantic conditions. - [property.primitive](https://docs.dryvcode.com/pack-builders/context/property-primitive.md): A reusable primitive semantic value suitable for validators, serializers, database mappings, SDK scalars, and value aliases. - [property.enum](https://docs.dryvcode.com/pack-builders/context/property-enum.md): A reusable finite value set. Member names must be explicit so templates do not depend on dictionary-key iteration behavior. - [property.composite](https://docs.dryvcode.com/pack-builders/context/property-composite.md): A reusable structured value object made of named fields plus invariants. - [property.literal](https://docs.dryvcode.com/pack-builders/context/property-literal.md): A reusable exact literal used for constants, discriminators, and protocol/domain markers. - [property.union](https://docs.dryvcode.com/pack-builders/context/property-union.md): A named semantic union suitable for sealed types, discriminated unions, serializers, and schema alternatives. - [property.record](https://docs.dryvcode.com/pack-builders/context/property-record.md): A reusable key/value mapping type. - [property.tuple](https://docs.dryvcode.com/pack-builders/context/property-tuple.md): A reusable ordered heterogeneous tuple. - [property.generic](https://docs.dryvcode.com/pack-builders/context/property-generic.md): A reusable generic definition or a reusable application of another generic definition. - [property.temporal](https://docs.dryvcode.com/pack-builders/context/property-temporal.md): A reusable temporal value such as date, instant, duration, interval, or zoned date-time. - [pack](https://docs.dryvcode.com/pack-builders/context/pack.md): Selectable subject: no Context root: pack - [file](https://docs.dryvcode.com/pack-builders/context/file.md): Planning-derived additions: file.dependencygroups and file.dependencies[].isself. See derived.md. - [group](https://docs.dryvcode.com/pack-builders/context/group.md): Selectable subject: no - [feature](https://docs.dryvcode.com/pack-builders/context/feature.md): Selectable subject: no - [application](https://docs.dryvcode.com/pack-builders/context/application.md): Selectable subject: no - [Shared contracts](https://docs.dryvcode.com/pack-builders/context/shared-overview.md): These files define reusable nested context contracts that are not independent selection subjects. - [NameContext](https://docs.dryvcode.com/pack-builders/context/shared-name.md): NameContext is the shared renderer-facing shape for a semantic name. - [Explanation](https://docs.dryvcode.com/pack-builders/context/shared-explanation.md): ExplanationContext carries advisory notes attached to semantic subjects or structural metadata. - [Lifecycle](https://docs.dryvcode.com/pack-builders/context/shared-lifecycle.md): LifecycleContext exposes deprecation and removal metadata for reusable semantic subjects. - [Semantic link](https://docs.dryvcode.com/pack-builders/context/shared-semantic-link.md): SemanticLinkContext is a bounded link to another semantic subject. - [Semantic path](https://docs.dryvcode.com/pack-builders/context/shared-semantic-path.md): SemanticPathContext is a renderer-friendly semantic path. - [Semantic value](https://docs.dryvcode.com/pack-builders/context/shared-semantic-value.md): Derived additions: value.is. classification flags and value.generated planned representations. See derived.md. ## Authoring Writing contracts: the authored source Dryv compiles to canonical Runtime IR. - [Authoring](https://docs.dryvcode.com/authoring/index.md): Describe your software once: schemas, operations, events, policies and more, in TypeScript or Python, compiled to canonical Runtime IR. - [Quick start](https://docs.dryvcode.com/authoring/quick-start.md): Install an author, declare a schema and an operation, compile it, and plan generation. - [Conventions](https://docs.dryvcode.com/authoring/conventions.md): Naming, structure and modelling habits that keep contracts readable, portable and easy for packs to use. - [Troubleshooting](https://docs.dryvcode.com/authoring/troubleshooting.md): The authoring errors people hit most often and how to fix them. - [Cookbook](https://docs.dryvcode.com/authoring/cookbook.md): Worked recipes for common modelling problems, each built from verified Dryv author code. - [A CRUD resource](https://docs.dryvcode.com/authoring/cookbook/crud-resource.md): Model an entity once, derive read/create/update/query shapes with projections, and expose five operations over HTTP. - [Properties, enums and validation](https://docs.dryvcode.com/authoring/cookbook/properties-and-validation.md): Reusable value types with constraints, plus enums, literals, unions, records, tuples and optional or array fields. - [Relations between schemas](https://docs.dryvcode.com/authoring/cookbook/relations.md): Declare foreign keys with cardinality and delete behaviour, including relations to abstract schemas. - [Policies and access](https://docs.dryvcode.com/authoring/cookbook/policies-and-access.md): Model authentication and authorization as reusable semantic requirements, not framework guards. - [Scoped operations](https://docs.dryvcode.com/authoring/cookbook/scoped-operations.md): Constrain which records an operation may touch, using trusted values from a policy such as the current tenant. - [Events and workflows](https://docs.dryvcode.com/authoring/cookbook/events-and-workflows.md): Declare events and failures, tie them to operations, and say who listens. - [Storage and projections](https://docs.dryvcode.com/authoring/cookbook/storage-and-projections.md): Describe how a schema is stored, then derive purpose-specific shapes from it instead of copying fields. - [TypeScript author](https://docs.dryvcode.com/authoring/sdk/typescript.md): Describe your software once, in TypeScript: schemas, operations, events, policies. The dryv CLI compiles it and generates code from it with reusable packs. - [Python author](https://docs.dryvcode.com/authoring/sdk/python.md): Describe your software once, in Python: schemas, operations, events, policies. The dryv CLI compiles it and generates code from it with reusable packs. It mirrors the TypeScript author (@dryvcode/a... - [Canonical vocabulary](https://docs.dryvcode.com/authoring/vocabulary/canonical.md): This document defines the rules governing vocabulary across Dryv. - [Runtime IR reference](https://docs.dryvcode.com/authoring/vocabulary/runtime-ir.md): The implemented dryv.ir/v1alpha1 ownership model. Per-concept pages: properties, schemas, policies, events, operations, workflows, views, parts, presentations, themes, groups. Serialization rules:... - [Naming](https://docs.dryvcode.com/authoring/vocabulary/naming.md): This document defines the serialization vocabulary shared by Runtime IR, the Authoring Protocol, compilers, loaders, serializers, packs, inspection, and tooling. - [Groups](https://docs.dryvcode.com/authoring/vocabulary/groups.md): A Group is a semantic organizational scope within Dryv. - [Properties](https://docs.dryvcode.com/authoring/vocabulary/properties.md): Properties are reusable value definitions shared across Dryv Authoring, canonical Runtime IR, and template packs. - [Schemas](https://docs.dryvcode.com/authoring/vocabulary/schemas.md): This document describes the canonical Runtime IR contract. Authoring implementations may expose richer helpers, but they must lower into these resolved forms. Runtime IR does not preserve authoring... - [Operations](https://docs.dryvcode.com/authoring/vocabulary/operations.md): An Operation is a named executable semantic capability of the authored software. - [Events](https://docs.dryvcode.com/authoring/vocabulary/events.md): An Event is a named semantic occurrence in authored software. It describes that something meaningful happened without binding the occurrence to a broker, queue, WebSocket library, callback mechanis... - [Policies](https://docs.dryvcode.com/authoring/vocabulary/policies.md): A Policy is reusable declarative rule meaning that can be referenced wherever the App needs a policy decision without embedding framework or implementation behavior. - [Workflows](https://docs.dryvcode.com/authoring/vocabulary/workflows.md): A Workflow describes semantic orchestration across multiple pieces of behavior over time. It owns ordered/conditional/waiting execution that is larger than one Operation. - [Views](https://docs.dryvcode.com/authoring/vocabulary/views.md): A View is a coherent semantic interaction composed from Parts. It describes experience meaning without describing framework pages, visual component trees, layout, styling, route handlers, or genera... - [Parts](https://docs.dryvcode.com/authoring/vocabulary/parts.md): A Part is a neutral semantic interaction building block owned by one View. A Part describes one focused interaction meaning without prescribing visual controls, layout, framework components, or sty... - [Presentations](https://docs.dryvcode.com/authoring/vocabulary/presentations.md): A Presentation connects one owning View to a reusable Surface. It is intentionally lightweight and has no independent canonical identity outside that View. - [Themes](https://docs.dryvcode.com/authoring/vocabulary/themes.md): A Theme is a Group-owned semantic declaration that supplies interoperable token values and a closed set of portable roles. It preserves design meaning across targets without putting CSS, Flutter, S... ## Optional - [Pack registry](https://packs.dryvcode.com/llms.txt): every public Dryv pack. - [Dryv home](https://dryvcode.com/): what Dryv is and how to install it.