Quick Start
This guide gets Astromesh Node installed and running on your system. Pick your platform and follow the steps.
Step 1: Install
Section titled “Step 1: Install”Node releases are published on GitHub under node-v* tags (the repository’s “latest” release is the core, so releases/latest/download/... URLs do not find the Node packages). Set VERSION to the Node release you want:
VERSION=0.1.10curl -LO https://github.com/monaccode/astromesh/releases/download/node-v${VERSION}/astromesh-node_${VERSION}_amd64.debsudo apt install ./astromesh-node_${VERSION}_amd64.debVERSION=0.1.10curl -LO https://github.com/monaccode/astromesh/releases/download/node-v${VERSION}/astromesh-node-${VERSION}-1.x86_64.rpmsudo dnf install ./astromesh-node-${VERSION}-1.x86_64.rpmVERSION=0.1.10ARCH=$(uname -m) # arm64 (Apple silicon) or x86_64 (Intel)curl -LO https://github.com/monaccode/astromesh/releases/download/node-v${VERSION}/astromesh-node-${VERSION}-macos-${ARCH}.tar.gzmkdir astromesh-node && tar -xzf astromesh-node-${VERSION}-macos-${ARCH}.tar.gz -C astromesh-nodecd astromesh-nodesudo ./install.sh$Version = "0.1.10"Invoke-WebRequest -Uri "https://github.com/monaccode/astromesh/releases/download/node-v$Version/astromesh-node-$Version-windows.zip" -OutFile astromesh-node.zipExpand-Archive -Path astromesh-node.zip -DestinationPath astromesh-node
# Run the installer (as Administrator)cd astromesh-node.\install.ps1Verify the installation:
astromeshctl versionExpected output:
astromesh-cli 0.3.1astromesh core 0.61.0Step 2: Initialize
Section titled “Step 2: Initialize”Run the interactive configuration wizard. Run as root, it writes /etc/astromesh/runtime.yaml and providers.yaml (on macOS and Windows the daemon reads a different directory — follow the macOS or Windows guide for this step):
sudo astromeshctl initThe wizard asks for a node role (full, gateway, worker, inference) and a provider (ollama, openai, anthropic, or skip). With Ollama it checks http://localhost:11434 and writes the config even if Ollama is not running yet; with OpenAI or Anthropic it asks for the API key and stores it in /etc/astromesh/.env, which the systemd unit loads.
To accept all defaults (role full, provider ollama) without prompts:
sudo astromeshctl init --non-interactiveStep 3: Start the Service
Section titled “Step 3: Start the Service”The package already enables the unit; it does not start it.
sudo systemctl start astromeshdsudo launchctl load /Library/LaunchDaemons/com.astromesh.daemon.plistinstall.ps1 does not register the service. From the extracted folder, register it with the bundled wrapper, then start it:
& "$env:ProgramFiles\Astromesh\venv\Scripts\python.exe" .\astromeshd-service.py --startup auto installStart-Service astromeshdStep 4: Verify
Section titled “Step 4: Verify”Check that the daemon is running and agents are loaded:
astromeshctl statusExpected output (values vary):
Astromesh Daemon Status┏━━━━━━━━━━━━━━━┳━━━━━━━━━┓┃ Property ┃ Value ┃┡━━━━━━━━━━━━━━━╇━━━━━━━━━┩│ Version │ 0.59.0 ││ PID │ 4521 ││ Mode │ system ││ Uptime │ 12.4s ││ Agents Loaded │ 10 │└───────────────┴─────────┘Run a full diagnostics check:
astromeshctl doctorStep 5: Run Your First Agent
Section titled “Step 5: Run Your First Agent”With the service running, pick an agent from astromeshctl agents list and call the API:
curl -s http://localhost:8000/v1/agents/support-agent/run \ -H "Content-Type: application/json" \ -d '{"query": "Hello! What can you do?"}' | jq .answerThe response carries answer, steps and usage; see POST /v1/agents/{name}/run.
Next Steps
Section titled “Next Steps”- Configuration — Customize
runtime.yaml, profiles, and environment variables - CLI Reference — Full
astromeshctlcommand reference - Troubleshooting — Common issues and
astromeshctl doctor - Your First Agent — Define a custom agent in YAML