To self host the Literal AI platform, you will need to deploy the Docker image on your infrastructure. The Docker image is available on a private registry. You will need to contact us to get access to the registry.

If you are looking to try out the platform, you can use the cloud hosted version for free!

Deploying the Image

You have several options for hosting the platform:

Update the SDKs

By default, the Literal AI SDKs point to the cloud hosted version of the platform. To point the SDKs to your self-hosted platform you will have to update the url parameter in the SDK instantiation:

Update Chainlit

If you are using Chainlit, you will need to update the LITERAL_API_URL environment variable to point to your self-hosted platform.