Skip to content

viamrobotics/agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b8426f7 · Mar 20, 2025

History

82 Commits
Mar 13, 2025
Mar 20, 2025
Feb 20, 2025
Mar 13, 2025
Mar 20, 2025
Mar 5, 2025
Feb 20, 2025
Mar 19, 2024
Mar 20, 2025
Aug 20, 2024
Feb 20, 2025
Mar 13, 2025
Mar 13, 2025
Mar 13, 2025
Mar 13, 2025
Dec 18, 2024
Mar 13, 2025
Mar 5, 2025
Nov 18, 2024
Feb 24, 2025
Mar 13, 2025
Feb 20, 2025

Repository files navigation

Viam Agent

A self-updating service manager that maintains the lifecycle for viam-server (as built from RDK) and other Viam provided system services.

For more information, see the Viam Agent documentation.

Development

Makefile Targets

  • make will build a viam-agent for your current CPU architecture. Note that as only linux is supported, this will be a linux binary.
  • make arm64 arm64 specific build.
  • make amd64 amd64 specific.
  • make all will build for all (both) supported architectures.
  • make lint to lint.

Version Tagging

The makefile will attempt to get a tagged version from Git. If you want to manually force a version, set TAG_VERSION=0.1.2 in the make command.
Note that there is no "v" in the actual version, though it is expected in git. E.g. a git tag of v0.1.2 becomes TAG_VERSION=0.1.2
Ex: make all TAG_VERSION=0.1.2

DevMode

Setting the environment variable VIAM_AGENT_DEVMODE=1 will skip the self-location check for the binary, so you can run it directly during development, without installing to /opt/viam.