Setup
Agent-Up is currently a development preview. CI now produces preliminary platform artifacts, but the source workflow remains the most reliable path while installer signing, update behavior, and service hardening evolve.
Installed Desktop artifacts are expected to run the Server as a local background service. Desktop, CLI, and MCP clients connect to that service at http://localhost:5000 unless AGENTUP_SERVER_URL points elsewhere.
Requirements
- .NET SDK 10.0 preview or compatible SDK for the current target framework.
- Git.
- Docker and Docker Compose when managed repositories declare Docker services.
- Node.js and npm for the documentation site.
- Nix on NixOS or Linux systems that need the provided native desktop dependency shell.
Clone and Build
git clone https://github.com/themassiveone/agent-up.git
cd agent-up
dotnet restore agent-up.sln
dotnet build agent-up.sln
Start the Server
When using an installed Desktop artifact, the Server should already be running as the local agent-up-server service.
For source development:
dotnet run --project AgentUp.Server
The development launch profile currently listens on:
http://localhost:5000
Start the Desktop
On systems with the required native desktop libraries available:
dotnet run --project AgentUp.Desktop
On NixOS:
./run-desktop.sh
The script runs the desktop inside shell.nix, which provides the native libraries needed by Avalonia, SkiaSharp, and WebKitGTK.
Release Artifacts
See Releases for the CI-produced macOS, Windows, Ubuntu, and NixOS artifact shape and MinIO/S3 upload configuration.
Configure a Repository
Add agent-up.json to the repository you want Agent-Up to manage:
{
"name": "My App",
"applications": [
{
"name": "Frontend",
"command": "npm run dev",
"path": ".",
"ports": [
{ "variable": "PORT", "defaultPort": 3000 }
]
}
]
}
Applications should read ports from environment variables supplied by Agent-Up instead of hardcoding localhost ports.
Register a Workspace
From the managed repository:
dotnet run --project /path/to/AgentUp.CLI -- start --server http://localhost:5000
This reads agent-up.json, captures the current Git branch and commit, and registers the workspace with the server.
Run Tests
dotnet test agent-up.sln
AgentUp.Tests runs the full Desktop E2E suite through platform fixture adapters. Linux uses Xvfb and WebKitGTK, macOS uses the native macOS desktop/WebView backend, and Windows uses the native Windows desktop/WebView backend. macOS CI invokes the test project executable directly so Avalonia Native initializes on the process main thread.
On NixOS or headless Linux setups:
nix-shell shell.nix --run "dotnet test agent-up.sln"
Build Documentation
npm --prefix docs install
npm --prefix docs run build
Troubleshooting
- If the desktop fails to start on Linux, use
./run-desktop.shor install the native libraries listed inshell.nix. - If the CLI cannot reach the server, pass
--server http://localhost:5000explicitly or setAGENTUP_SERVER_URL. - If an application does not bind correctly, confirm it reads the configured port environment variable.
- If Docker services fail, verify Docker and Docker Compose work outside Agent-Up first.