Skip to content

Deploy on-prem

AbstractAI can run agents on your own servers. It connects over SSH and runs the agent with Docker Compose.

  • A Linux server reachable over SSH, with Docker and Docker Compose installed.
  • An on-prem cloud account with the SSH host, user and private key.
name: my-agent
version: 1.0.0
cloud: onprem
region: dc1
strategy: containers # the only strategy on-prem
source: { type: docker, image: ghcr.io/acme/my-agent:1.0.0 }
permissions: []
secrets: [OPENAI_API_KEY]
networking: { public: true, port: 8080 }
cloudOptions:
sshHost: 10.0.0.12
sshUser: deploy
sshKeyPath: ~/.ssh/id_ed25519 # optional if the account holds the key
composeProjectName: my-agent # optional
Terminal window
agent-platform deploy

Secrets are written to a root-only env file on the server and passed to the container. There is no serverless strategy on-prem.