Ga naar hoofdinhoud

Binaire implementatie

Sinaptic® DROID+ is een enkel, statisch gekoppeld binair bestand met nul externe afhankelijkheden. Download het, maak het uitvoerbaar en start het — geen runtime, geen pakketbeheerder, geen containers vereist.

Download

Installatiescript (aanbevolen):

curl -fsSL https://get.droid.plus | sh

Het script detecteert uw besturingssysteem en architectuur, downloadt het juiste binaire bestand en plaatst het in /usr/local/bin/.

Handmatige download:

Download het binaire bestand voor uw platform van de GitHub Releases:

PlatformArchitectuurBinair bestand
Linuxamd64droid-linux-amd64
Linuxarm64droid-linux-arm64
macOSApple Silicondroid-darwin-arm64
macOSInteldroid-darwin-amd64
Windowsamd64droid-windows-amd64.exe
chmod +x droid-linux-amd64
sudo mv droid-linux-amd64 /usr/local/bin/droid

Uitvoeren

# Initialiseer een project
droid init mijn-agent
cd mijn-agent

# Configureer uw API-sleutel
cp .env.example .env
# Bewerk .env met uw sleutel

# Starten
droid up

Uitvoeren als een systemd-service

Voor Linux-productieomgevingen kunt u een systemd-unit maken:

# /etc/systemd/system/droid.service
[Unit]
Description=DROID+ AI Agent Runtime
After=network.target

[Service]
Type=simple
User=droid
WorkingDirectory=/opt/droid
ExecStart=/usr/local/bin/droid up --config /opt/droid/droid.yaml
Restart=on-failure
RestartSec=5
EnvironmentFile=/opt/droid/.env

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now droid

Bijwerken

Vervang het binaire bestand en herstart de service:

curl -fsSL https://get.droid.plus | sh
sudo systemctl restart droid

Uw configuratiebestanden en de gegevensmap staan los van het binaire bestand, dus updates zijn niet-destructief.