Skip to main content

Deploy Locally

Prerequisites

You'll need Docker installed on your machine. If you don't have it yet, download and install it from here.

caution

Before you start, make sure that the port 80 is not being used by other applications. To free up resources, you can run docker system prune.

Starting agenta in Production Mode

mkdir agenta && cd agenta
curl -L https://raw.githubusercontent.com/agenta-ai/agenta/main/docker-compose.gh.yml -o docker-compose.gh.yml
docker compose -f docker-compose.gh.yml up -d
caution

To update to the last version of agenta. Please run docker compose -f docker-compose.gh.yml up -d --pull always Which forces docker to pull the last version of the image

Starting agenta in Development Mode

1. Clone the Repository and Navigate to the Folder

git clone https://github.com/Agenta-AI/agenta.git
cd agenta

2. Launch the Agenta Server

docker compose -f "docker-compose.yml" up -d --build

Verify the Installation

Open your browser and go to http://localhost. If you see the Agenta web interface, you're good to go.

Details

Troubleshooting The most likely reason for failure is a port conflict. To check whether this is the case please check whether the containers for agenta are all running (agenta-web, agenta-backend, mongodb and redis) and check the logs for the containers agenta-web and agenta-backend.

If that is not the problem, please file an issue in github or reach out on #support on Slack. We are very active there and should answer within minutes (European time).