Workspaces
Workspaces define the runtime environment, files, repository access, and environment variables used by workflows.
Create a workspace
A workspace is the runtime environment for workflow-created agents. It starts with an elasticclaw-config.yamlfile plus instruction files such as AGENTS.md and TOOLS.md. Create one locally, edit the generated files, then push it to ElasticClaw Server.
elasticclaw workspace create --name my-app
cd .elasticclaw/workspaces/my-appelasticclaw-config.yaml
schema_version: v1
name: my-app
repositories:
- repo: my-org/my-app
permissions: write
env:
NODE_ENV: development
GITHUB_TOKEN:
secret: github_app
provider: replicatedWorkspace fields
schema_version — Optional schema marker; defaults to v1.
name — Workspace identifier.
repositories — GitHub repositories the workspace can access, with read or write permissions.
env — Inline environment values or { secret: name } references resolved from workspace or server secrets.
provider — Optional sandbox provider override for agents created from this workspace.
llm_key and default_model — Optional model key and model override.
nix and docker — Optional runtime setup flags.
tags and color — Optional dashboard metadata for agents created from this workspace.
Push a workspace
Pushing a workspace publishes elasticclaw-config.yaml and workspace files. Push workflow YAML separately into the workspace.
elasticclaw workspace create --name my-app
elasticclaw workspace push my-app
elasticclaw workflow push --workspace my-app .elasticclaw/workflows
elasticclaw workspace list
elasticclaw workspace show my-app
elasticclaw workspace rm my-app