Make your LLM agent and chat with it simple and fast!
Setting up your agent and your chat in few clicks
Just clone repository and run docker-compose!
git clone https://github.com/winternewt/just-chat.git
docker compose up
And the chat with your agent is ready to go!
You can customize your setup by:
- Editing
agent_profiles.yaml
to customize your agent - Adding tools to
/tools
directory to empower your agent - Modifying
docker-compose.yml
for advanced settings (optional)
The only requirement is Docker! We provide detailed installation instructions for both Linux and Windows in the Installation section.
- π Start chatting with one command ( docker compose up )
- π€ Customize your AI assistant using a YAML file (can be edited with a text editor)
- π οΈ Add new capabilities with Python tools (can add additional functions and libraries)
- π Talk with agent with a chat web interface at 0.0.0.0:3000
- π³ Run everything in Docker containers
- π¦ Works without Python or Node.js on your system
We use just-agents library to initialize agents from YAML, so most of the modern models ( DeepSeek Reasoner, ChatGPT, LLAMA3.3, etc.) are supported. However, you might need to add your own keys to the environment variables. We provide a free Groq key by default but it is very rate-limited. We recommend getting your own keys, Groq can be a good place to start as it is free and contains many open-source models.
agent_profiles.yaml
- Configure your agents, their personalities and capabilities, example agents provided.docker-compose.yml
- Container orchestration and service configuration/tools/
- Python tools to extend agent capabilities. Contains example tools and instructions for adding your own tools with custom dependencies/models.d/
- ChatUI models data directory (auto-populated at runtime)/data/
- Application data storage if you want to let your agent work with additional data/env/
- Environment configuration files and settings/scripts/
- Utility scripts including Docker installation helpers/volumes/
- Docker volume mounts for persistent storage
Detailed installation instructions. If you already have Docker and Docker Compose installed, you can probably skip this section.
If you never installed Docker and Docker Compose, you can use the following instructions to install them. Otherwise you can skip this step. To check if you have Docker and Docker Compose installed, you can use the following commands:
docker --version
docker-compose --version
The commands apply to both Linux (bash) and Windows (PowerShell). After this point instaltion split into Linux and Windows.
Note: in some cases docker-compose
is called docker compose
(without -
). It depends on the version of docker compose you have installed.
Refer to the official guides:
For Ubuntu users, you can review and use the provided convenience.sh script, executing the code below. Running the script will install Docker and Docker Compose.Otherwise you can follow the steps presented after this command.
./scripts/install_docker_ubuntu.sh
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
#Updates the package lists (apt-get update).
#Installs required packages (ca-certificates and curl) for handling HTTPS-based repositories.
sudo install -m 0755 -d /etc/apt/keyrings
#Creates the /etc/apt/keyrings directory with 0755 permissions (readable and executable by everyone, writable only by the owner).
#This directory is used to store GPG keys securely.
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
#Downloads Docker's official GPG key (used to verify package authenticity) and saves it to /etc/apt/keyrings/docker.asc.
#Changes file permissions so that all users can read it (a+r).
# Add the repository to Apt sources:
#Adds Docker's official repository to the system's package sources.
#dpkg --print-architecture ensures the right package architecture (amd64, arm64, etc.).
#. /etc/os-release && echo "VERSION_CODENAME" dynamically fetches your Ubuntu version codename (e.g., jammy for Ubuntu 22.04).
#Writes the repository URL into /etc/apt/sources.list.d/docker.list.
#> /dev/null discards unnecessary output.
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
#Installs:
#docker-ce (Docker Community Edition engine)
#docker-ce-cli (Docker CLI tools)
#containerd.io (Container runtime for managing containers)
#docker-buildx-plugin (Next-gen build system for Docker)
#docker-compose-plugin (Plugin for Docker Compose v2)
curl -SL https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-$(uname -m) -o /usr/local/bin/docker-compose
#Downloads the latest Docker Compose binary (v2.32.4) from GitHub.
#$(uname -m) ensures that the correct architecture (e.g., x86_64, aarch64) is downloaded.
#Saves it to /usr/local/bin/docker-compose.
chmod +x /usr/local/bin/docker-compose
#Changes file permissions to make it executable.
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
#Creates a symbolic link from /usr/local/bin/docker-compose to /usr/bin/docker-compose.
#This allows you to run Docker Compose commands without specifying the full path.
Before installing Docker on Windows, ensure your system meets the following requirements:
Windows 10 (Pro, Enterprise, Education) Version 1909 or later Windows 11 (any edition) WSL 2 (Windows Subsystem for Linux) enabled (recommended) link here [https://learn.microsoft.com/en-us/windows/wsl/install] Hyper-V enabled (if using Windows 10 Pro/Enterprise) At least 4GB of RAM (recommended)
Though WSL is not strictly required for installation, it is highly recommended for running Linux-based containers efficiently. If you don't want to use WSL during Docker Desktop installation, uncheck the option "Use WSL 2 instead of Hyper-V". Docker will automatically switch to Windows Containers instead of Linux Containers.
Limitations Without WSL: -You cannot run Linux-based containers (unless using a full virtual machine). -Performance is slower because it uses Hyper-V (Windows 10 Pro/Enterprise) or Windows-native virtualization. -Some Docker features (e.g., Kubernetes support) won't work.
-
Download Docker Desktop [https://docs.docker.com/desktop/setup/install/windows-install/]
-
Install Docker Desktop: -Locate the Docker Desktop Installer.exe file in your Downloads folder. -Double-click to start the installation. -Check the required options: --Enable WSL 2 (recommended) --Enable Windows Containers (optional, needed for Windows-based containers). -Click Install and wait for it to complete.
-
Restart Your PC After installation, restart your computer to apply the changes.
-
Run Docker Desktop Open Start Menu and search for Docker Desktop. Click to launch Docker. Wait for it to start (it may take a few seconds). You should see the Docker whale π³ icon in the taskbar.
-
Install Docker Compose on Windows Docker Compose v2 is already built into Docker Desktop. If you need standalone Docker Compose v1, install it manually:
Download the latest Docker Compose binary: In powershell
curl -SL "https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-windows-x86_64.exe" -o "C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe"
Add Docker Compose to System Path (if not already). Restart your system.
Docker works best with Windows Subsystem for Linux (WSL 2). Open Docker Desktop, go to Settings β General, and check: Use WSL 2 for Linux containers.
- Ensure Docker Starts on Boot (Optional) To make Docker automatically start: Open Docker Desktop. Go to Settings β General. Enable "Start Docker Desktop when you log in".
sudo docker run hello-world
docker-compose --version
git clone https://github.com/winternewt/just-chat.git
docker compose up
-
After the application is started, you can access the chat interface at
0.0.0.0:3000
-
Key settings in
docker-compose.yml
:- UI Port:
0.0.0.0:3000
(underhuggingchat-ui
service) - Agent Port:
127.0.0.1:9090:8089
(underjust-web-agent
service) - MongoDB Port:
27017
(underchat-mongo
service) - Container image versions:
- just-web-agent:
ghcr.io/longevity-genie/just-agents:sha-923d91d
- chat-ui:
ghcr.io/longevity-genie/chat-ui/chat-ui:sha-eeb856a
- mongo:
latest
- just-web-agent:
- UI Port:
-
Troubleshooting container conflicts:
- Check running containers:
docker ps
- Stop conflicting containers:
cd /path/to/container/directory docker compose down
Note: Depending on your system and installation, you might need to use
docker-compose
(with dash) instead ofdocker compose
(without dash). - Check running containers:
-
Best practices for container management:
- Always stop containers when done using either:
docker compose down
(ordocker-compose down
)Ctrl+C
followed bydocker compose down
- To run in background mode, use:
docker compose up -d
- This prevents port conflicts in future sessions
- Always stop containers when done using either:
This project is supported by:
HEALES - Healthy Life Extension Society
and
IBIMA - Institute for Biostatistics and Informatics in Medicine and Ageing Research