Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
services:
clickhouse:
image: clickhouse/clickhouse-server:24.4.1
container_name: clickhouse
environment:
CLICKHOUSE_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
CLICKHOUSE_USER: ${OPENLIT_DB_USER:-default}
CLICKHOUSE_DATABASE: ${OPENLIT_DB_NAME:-openlit}
CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS: true
volumes:
- clickhouse-data:/var/lib/clickhouse
- ../../assets/clickhouse-config.xml:/etc/clickhouse-server/config.d/custom-config.xml:ro
- ../../assets/clickhouse-init.sh:/docker-entrypoint-initdb.d/init.sh:ro
ports:
- "9000:9000"
- "8123:8123"
healthcheck:
test: ["CMD-SHELL", "clickhouse-client --user=$${CLICKHOUSE_USER} --password=$${CLICKHOUSE_PASSWORD} --query='SELECT 1' || exit 1"]
interval: 5s
timeout: 3s
retries: 10
start_period: 100s
restart: always
openlit:
image: openlit:local
container_name: openlit
environment:
INIT_DB_HOST: clickhouse
INIT_DB_PORT: 8123
INIT_DB_DATABASE: ${OPENLIT_DB_NAME:-openlit}
INIT_DB_USERNAME: ${OPENLIT_DB_USER:-default}
INIT_DB_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
SQLITE_DATABASE_URL: file:/app/client/data/data.db
ports:
- "${PORT:-3001}:3000"
- "4317:4317"
- "4318:4318"
depends_on:
clickhouse:
condition: service_healthy
volumes:
- openlit-data:/app/client/data
healthcheck:
test: ["CMD", "node", "-e", "const ui=process.env.DOCKER_PORT||process.env.PORT||3000;let raw=process.env.OTLP_HTTP_ADDR||'0.0.0.0:4318',host='127.0.0.1',port='4318';if(raw.startsWith('[')){const end=raw.indexOf(']');if(end>1&&raw[end+1]===':'){host=raw.slice(1,end);port=raw.slice(end+2)}}else{const i=raw.lastIndexOf(':');if(i>=0){host=raw.slice(0,i);port=raw.slice(i+1)}}if(host===''||host==='0.0.0.0'||host==='::')host='127.0.0.1';const h=host.includes(':')?'['+host+']':host;Promise.all([fetch('http://127.0.0.1:'+ui),fetch('http://'+h+':'+port+'/health')]).then(rs=>process.exit(rs.every(r=>r.ok)?0:1)).catch(()=>process.exit(1))"]
interval: 5s
timeout: 5s
retries: 10
start_period: 30s
restart: always
# Simulates a bare Linux host: controller + sample Python apps as processes
linux-host:
build:
context: .
dockerfile: Dockerfile.host
container_name: openlit-linux-host
privileged: true
pid: host
environment:
OPENLIT_URL: http://openlit:3000
OTEL_EXPORTER_OTLP_ENDPOINT: http://openlit:4318
OPENLIT_POLL_INTERVAL: 10s
OPENLIT_PROC_ROOT: /host/proc
volumes:
- /proc:/host/proc:ro
- /sys/kernel/debug:/sys/kernel/debug:ro
- /sys/fs/bpf:/sys/fs/bpf:rw
depends_on:
openlit:
condition: service_healthy
volumes:
clickhouse-data:
openlit-data: