Status: Private beta. The compose bundle, images and admin commands are still being built. The steps below are the intended flow. Check
allternit-agents-server --help on your build for exact flags.Before you start
- A Linux host with Docker and Docker Compose.
- Credentials for one model provider. See Models.
- The release archive and images from your private-beta order.
1. Unpack the compose bundle
The bundle lives atdeploy/selfhost/compose/:
2. Write the settings file
The server reads one settings file (YAML or JSON). The smallest useful one picks a provider and points at a secret:env:NAME, file:/path or vault:path#key. Every key is listed in Configuration.
3. Start it
/v1/server/info needs no key. It returns the version, the provider, the enabled features and the accepted sign-in modes.
4. Mint the first admin key
admin setup prints an ask_... admin key once. The server stores only a hash. Save it in your password manager or secret store.
5. Create an agent, an environment and a session
model must be a key of inference.model_map, or the server answers 422 model_not_mapped.
6. Send a message and follow the events
In one terminal, follow the stream:message, tool_call, tool_result and status events. If no worker serves the environment yet, the session shows waiting_for_worker with reason no_worker until one attaches.
7. Attach a worker
Workers need an environment key for the environment they serve:.env under the variable .env.example names for workers, then docker compose up -d again. Or start one worker by hand on any host that can reach the server:
Next
- Turn on OIDC sign-in and per-role keys: Authentication.
- Set network rules per environment: Networking.
- Connect the apps: Client apps.
- Use the SDKs instead of curl: SDKs.