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:
| Platform | Architectuur | Binair bestand |
|---|---|---|
| Linux | amd64 | droid-linux-amd64 |
| Linux | arm64 | droid-linux-arm64 |
| macOS | Apple Silicon | droid-darwin-arm64 |
| macOS | Intel | droid-darwin-amd64 |
| Windows | amd64 | droid-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.