Structured, not shell
Mechanics does not interpret arbitrary shell pipelines over SSH. It accepts typed platform commands.
One structured SSH command at a time: create an app, push code, build, deploy, and expose a route. No kubeconfig required.
First command: ssh -T mechanics.run -- -h. Mechanics is not a
shell; it is a small SSH command surface for app delivery.
ssh mechanics.run. Everything else is a receipt:
Git commits, image tags, manifests, route state.
ssh -T mechanics.run -- -h
ssh -T mechanics.run -- user signup
ssh -T mechanics.run -- whoami
ssh -T mechanics.run -- app create myapp
git remote add origin ssh://git@forgejo.mechanics.run/<user>/myapp.git
git branch -M main
git push -u origin main
ssh -T mechanics.run -- app -a myapp scaffold ci
ssh -T mechanics.run -- app -a myapp scaffold agents
git pull --ff-only origin main
sha=$(git rev-parse HEAD)
ssh -T mechanics.run -- app -a myapp build wait --commit "$sha" --logs-on-failure
ssh -T mechanics.run -- app -a myapp deploy --tag "$sha"
ssh -T mechanics.run -- app -a myapp wait --tag "$sha" --json
ssh -T mechanics.run -- route -a myapp create Modern coding agents can build applications, fix bugs, write tests, and iterate quickly. But production-like deployment requires constrained authority, repeatable workflows, and observable state. Mechanics gives agents typed platform commands instead of raw infrastructure access.
Mechanics does not interpret arbitrary shell pipelines over SSH. It accepts typed platform commands.
Each SSH connection carries a clear operation: create a repo, wait for a build, update an app, inspect a route.
Mutations leave behind durable artifacts: Git commits, image tags, manifests, Kubernetes state, or DNS checks.
Human operators can run the same commands, inspect the same state, and recover using familiar GitOps tools.
Mechanics gives agents a safe command surface, then records the work in systems humans already know how to inspect: Git, CI logs, image tags, GitOps manifests, Argo CD health, Kubernetes resources, Gateway routes, and addon secrets.
Repositories, SSH remotes, commits, workflow files, and package metadata show exactly what changed.
CI status, logs, image metadata, and full-SHA tags connect every deployment to the commit that produced it.
Apps, overlays, addons, and routes are committed as files and reconciled into the tenant namespace.
Deployments, pods, events, services, and addon resources remain ordinary cluster objects with summarized health.
HTTPRoute resources expose apps with TLS, backend readiness, route acceptance, and certificate diagnostics.
CloudNativePG, SeaweedFS, Valkey, and NATS provide typed backing services through Kubernetes-native resources.
An agent does not need cloud console access, cluster credentials, registry passwords, or Argo CD tokens. Mechanics translates bounded commands into source, image, deployment, and route state.
ssh -T mechanics.run -- app create myapp
git remote add origin ssh://git@forgejo.mechanics.run/$USER/myapp.git
git branch -M main
git push -u origin main
ssh -T mechanics.run -- app -a myapp scaffold ci
ssh -T mechanics.run -- app -a myapp build wait --commit <sha>
ssh -T mechanics.run -- app -a myapp deploy --tag <sha>
ssh -T mechanics.run -- app -a myapp wait --tag <sha>
ssh -T mechanics.run -- route -a myapp create Create a source repository, scaffold CI, wait for builds, deploy image tags, and inspect runtime state.
Provision databases, buckets, caches, and messaging through typed parameters and Kubernetes secrets.
Expose OpenBao-backed values to apps through ExternalSecret manifests without handing agents cluster credentials.
Expose an app through Gateway API and inspect backend readiness, TLS, and route acceptance.
Claim hostnames with a DNS CNAME challenge while leaving DNS changes in the domain owner's hands.
Inspect CPU, memory, storage, object counts, defaults, and usage before changing the workspace.
The point is not to make agents all-powerful. The point is to give them enough platform agency to complete useful software work while keeping authority narrow, inspectable, and recoverable.
ssh -T mechanics.run -- whoami
ssh -T mechanics.run -- app list
ssh -T mechanics.run -- app -a myapp info
ssh -T mechanics.run -- route -a myapp info
ssh -T mechanics.run -- domain status www.example.com Mechanics is fast enough for autonomous coding loops and explicit enough for operators: a narrow SSH API for agents, backed by GitOps artifacts humans can review, reproduce, and override.