Deploy an AIML Server
Learn how to deploy your own AIML server for running AIML agents
Deploy an AIML Server
This guide will walk you through deploying your own AIML server to run AIML agents in your infrastructure.
Prerequisites
Before you begin, you'll need:
- Bun (v1.1.42 or higher)
- PostgreSQL (v14 or higher)
Local Deployment
-
Clone the repository:
-
Install dependencies:
-
Create a
.env
file in theapps/server
directory: -
Edit the
.env
file with your Fireworks API key and database URL: -
Run the server:
The server will be available at http://localhost:3000
by default.
Health Monitoring
The AIML server provides health endpoints:
/health
: Basic health check
You can use these endpoints with monitoring tools like Prometheus, Datadog, or cloud provider monitoring services.