Start the Local Daemon
Start a local daemon, a service that connects your applications to the Autonomi Network. Autonomi's daemon is called antd. Install it, keep it running in a terminal, and download a public image without setting up a wallet or making a payment.
Steps
1. Install the daemon
Choose your operating system. These commands download the latest antd release into a new antd directory and check it against the release's published checksums before running it. They do not install a system service or change your PATH.
Use Terminal on a Mac with Apple silicon. There is no prebuilt executable for Intel Macs.
BASE=https://gitlab.com/autonomi/ant-sdk/-/releases/permalink/latest/downloads
mkdir antd && cd antd &&
curl --fail --location --show-error --remote-name "$BASE/antd-darwin-arm64" &&
curl --fail --location --show-error --remote-name "$BASE/SHA256SUMS" &&
grep 'antd-darwin-arm64$' SHA256SUMS | shasum -a 256 -c - &&
mv antd-darwin-arm64 antd && chmod u+x antd && ./antd --versionRun these commands in Bash with curl and sha256sum installed. The commands select the executable for your machine. The executables need glibc 2.38 or later, as on Ubuntu 24.04 or newer; check your version with ldd --version. On an older system there is no prebuilt antd; use the CLI instead.
case "$(uname -m)" in
x86_64) ASSET=antd-linux-amd64 ;;
aarch64|arm64) ASSET=antd-linux-arm64 ;;
*) ASSET=; printf 'No prebuilt executable for this architecture.\n' >&2 ;;
esac
BASE=https://gitlab.com/autonomi/ant-sdk/-/releases/permalink/latest/downloads
[ -n "$ASSET" ] && mkdir antd && cd antd &&
curl --fail --location --show-error --remote-name "$BASE/$ASSET" &&
curl --fail --location --show-error --remote-name "$BASE/SHA256SUMS" &&
grep "$ASSET\$" SHA256SUMS | sha256sum -c - &&
mv "$ASSET" antd && chmod u+x antd && ./antd --versionUse PowerShell on Windows x64. The executable runs from the download directory, without an installer or administrator access.
$ErrorActionPreference = 'Stop'
$Base = 'https://gitlab.com/autonomi/ant-sdk/-/releases/permalink/latest/downloads'
New-Item -ItemType Directory -Path antd | Out-Null
Set-Location antd
Invoke-WebRequest -UseBasicParsing -Uri "$Base/antd-windows-amd64.exe" -OutFile antd.exe
Invoke-WebRequest -UseBasicParsing -Uri "$Base/SHA256SUMS" -OutFile SHA256SUMS
$expected = ((Select-String -Path SHA256SUMS -Pattern 'antd-windows-amd64\.exe$').Line -split '\s+')[0]
$actual = (Get-FileHash -Algorithm SHA256 .\antd.exe).Hash
if ($actual -ne $expected) { throw 'Checksum mismatch. Do not run the downloaded file.' }
Write-Output 'antd.exe: OK'
.\antd.exe --version
if ($LASTEXITCODE -ne 0) { throw 'antd did not report its version successfully.' }Expect a line ending in OK, followed by antd and its version number. The checksum checks the file's contents; it is not a separate signature verification.
The remaining steps use the executable in this antd directory.
2. Start without a wallet
Run the executable from the same directory. Clear any wallet key left in your shell environment so this process starts without one:
unset AUTONOMI_WALLET_KEY
./antd$env:AUTONOMI_WALLET_KEY = $null
.\antd.exeWait until the output includes REST server listening on 127.0.0.1:8082, then leave this terminal open while your application uses the service. Startup connects to network peers before the API becomes available. Without wallet configuration, you can retrieve data but cannot use wallet-backed uploads.
The APIs listen on your own computer by default. Keep that setting unless you add access controls: antd has no built-in authentication, and its API includes wallet and local-file operations.
3. Check the connection
Open another terminal and request the health endpoint:
Look for this field in the JSON response:
status: "ok" means the local API is responding, and version shows the antd version you are running. The other fields describe network connectivity and payment configuration; see the health reference when you need them.
4. Download your first file
Keep the first terminal running. In the second terminal, download this public image to downloaded.jpg in your current directory. Use a different output name if you already have a file with that name.
Open downloaded.jpg to see the image. It is a 138,931-byte JPEG. Your local service retrieved it from the Autonomi Network; no payment wallet was needed.
What happened
You installed and started a local service, checked its API, and used it to retrieve a file. Applications can use the same service through a language client or its REST/gRPC API. Press Ctrl+C in the first terminal when you want to stop it.
Next steps
Use the service from Python, JavaScript, or TypeScript.
Retrieve Data from the Network when you already have a file address
Last updated