SWAMP SERVE
swamp serve starts a WebSocket API server that exposes your Swamp repository
for remote workflow and model execution. The server holds the repository,
clients connect over WebSocket, and workers execute steps remotely.
For a first-time walkthrough of starting a server and connecting a worker, see the Remote Execution tutorial. For TLS setup (direct certificates or reverse proxy with Caddy), see Set Up TLS for swamp serve.
In This Section
- Set Up Token Authentication — start the server with token auth, mint and distribute tokens, store credentials for automatic use
- Manage Access Grants — create allow and deny grants, add CEL conditions, reload the policy snapshot
- Manage Groups — create local groups, assign members, and grant access by group
- Check Your Permissions — check what you can do on a server without asking an admin
- Run Commands on a Remote Server — run models, query data, and manage vaults on a remote server
- Real-World Scenarios — team isolation, environment separation, deny overrides, and user offboarding