Ren

Configuration files

Your spec is a .ren folder of YAML and Markdown files that describe your organization, with a folder for each space, agent and app.

Folder layout

Every ren infra command uses the .ren folder in the current directory unless you pass another path, such as ren infra plan ren-setup/.ren. Keep it in your main repository, or in a repository of its own.

.ren/
├── org.yaml
├── instructions.md
├── deploy.yaml
├── environments.yaml
├── ren.lock
├── memory/
│   └── memory.md
└── spaces/
    └── engineering/
        ├── space.yaml
        ├── instructions.md
        ├── schedules.yaml
        ├── webhooks.yaml
        ├── channels.yaml
        ├── memory/
        │   └── memory.md
        ├── agents/
        │   └── planner/
        │       ├── agent.yaml
        │       └── instructions.md
        └── apps/
            └── engineering-tools/
                ├── app.yaml
                ├── mcps.yaml
                └── skills/
                    └── release-notes/
                        └── SKILL.md
PathWhat it holdsPage
org.yamlThe organization’s settings. Every spec has it.Organization
deploy.yamlWhich organization the spec belongs todeploy.yaml
environments.yamlThe organization’s machinesMachines
ren.lockWhat Ren looked like at your last sync. Ren writes it.ren.lock
spaces/<slug>/space.yamlA shared spaceSpaces
spaces/<slug>/agents/<name>/An agent that the space ownsAgents
spaces/<slug>/apps/<slug>/An app that the space owns, with its skills and MCP serversApps
schedules.yaml, webhooks.yamlThe space’s automationsAutomations
channels.yamlThe space’s Slack and GitHub channelsChannels
instructions.md, memory/Instructions and memory, at each levelInstructions and memory

The commands ignore any other file, so you can keep a README.md in the folder.

YAML and Markdown

Settings go in YAML. Longer text, such as instructions, memory and skills, goes in Markdown files next to it, where it’s easier to write and to review:

spaces/engineering/space.yaml
name: Engineering
description: Plans, builds and reviews changes to the example app.
spaces/engineering/instructions.md
Open a pull request for every change.

Names

A folder’s name, or a key in a YAML file, is how Ren identifies that resource. Most names are slugs: lowercase letters and digits joined by single dashes, at most 64 characters long.

NameWhere it isRules
Space slug, such as engineeringFolder under spaces/A slug. The display name is name in space.yaml.
Agent name, such as plannerFolder under agents/A slug, unique in the organization
App slug, such as engineering-toolsFolder under apps/A slug, unique across Ren
Skill, such as release-notesFolder under skills/The same as name in its SKILL.md, in one app only
Schedule, webhook or channelKey in its YAML fileA slug
Machine, such as Node buildKey in environments.yamlAny name

Files refer to each other by these names. A schedule names its agent, a space names its machine, and a space can use an agent that another space owns:

spaces/support/space.yaml
name: Support
uses:
  agents: [tester]

ren infra validate checks that every name a file uses exists.

deploy.yaml

deploy.yaml holds what ties the spec to one real organization: the organization’s slug, the Slack channels and GitHub repositories behind its channels, and its shared profiles.

deploy.yaml
organization: acme
profiles:
  engineering-tools:
    acme-bot:
      name: Acme bot
spaces:
  engineering:
    channels:
      example-app:
        kind: github
        repository: acme/example-app
    profiles:
      engineering-tools: [acme-bot]

Only organization is required. Plan, apply and pull check that you’re signed in to that organization, so you can’t apply the spec to the wrong one. Channels and Profiles explain the other keys.

If the file is missing, ren infra pull writes it.

ren.lock

ren.lock records the version of each resource in Ren at your last pull or apply, which are the two commands that write it. A plan reads it to tell the changes you made in the spec from the changes someone made in Ren since, which is how it spots conflicts.

Don’t edit ren.lock, and commit it after each pull and apply. If you have no ren.lock yet, run ren infra pull before you plan.