The tilde.state.yaml file
tilde.state.yaml describes the desired configuration for resources in a workspace. It can include ChatKit agents and providers, MCP servers, tool providers, skill registries, wikis, memory-bank bindings, reverse proxies, and their relationships.
State files can declare variables for values that change between environments, such as an agent endpoint URL. They do not contain API keys, signing keys, third-party credentials, conversation history, or other runtime content. An import returns generated values separately and leaves credential-backed resources pending until you connect the corresponding accounts.
Each exported resource may carry a tagged team, user, or user_team ownership value. Workspace export remains workspace-only unless personal or private resources are explicitly included. When importing personal or user_team resources, provide an explicit source-user-to-target-user mapping. Import fails if an owner is unmapped; it never silently promotes a personal resource to workspace ownership or creates an orphan.
Hosted MCP provider connections preserve their catalog provider identity, endpoint configuration, authentication mode, tool provider, and MCP mappings. API keys, bearer tokens, OAuth client secrets, access tokens, and refresh tokens remain encrypted credential references rather than state values.
Safe self-extension proposals export secret-free intent, the server-authored review preview, any secret-free provider-setup continuation, and source resource receipts as audit metadata. Approval identity, Human Approval tokens, leases, execution status, generated outputs, and source rollback authority are not portable. Import always creates a fresh pending proposal in the destination workspace, rebuilds its preview, and requires a new explicit human approval there. Imported source receipts never authorize deletion of destination resources.
OAuth providers that use dynamic client registration must register a new client in the destination environment because the redirect URI and client registration belong to the source environment. Import recreates the provider and returns a one-time authorization URL. Manual OAuth providers keep their pre-registered client configuration and ask you to reconnect the user credential separately.
Commit tilde.state.yaml with your application so reviewers can see which Tilde resources it expects.
Export state from a workspace
- Tilde
- CLI
- Select the workspace you want to export.
- Go to Settings → Team settings → State.
- Open the Export tab and click Export.
tilde.state.yaml.Import state manually
- Select the destination workspace.
- Go to Settings → Team settings → State.
- Open the Import tab and upload
tilde.state.yaml. - Provide any variables requested by the file.
- Review the validation result and resource plan, then apply it.
- Save the generated import outputs and complete any items under Pending credentials.
--auto-apply only in a trusted automated workflow where the state change has already been reviewed.
Add a Deploy with Tilde button
Add the button to a project’sREADME.md when its repository contains a tilde.state.yaml file.
README.md
repository-url must point to a GitHub repository over HTTPS. state-path must be a relative path to a YAML file, so monorepos can use a value such as agents/code-review/tilde.state.yaml.