admin

command
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command admin runs the admin service on its own, with the admin SPA embedded when built with `-tags adminui`.

`admin -init -config <file>` seeds a development profile (self-signed localhost certificate plus a minimal config) and exits; see run.sh.

It reads the same configuration keys as a product server so an existing server configuration file can be reused: app.*, security.*, admin_server.*, logging.max_entries, metrics.max_entries, and controller.* for the optional NATS messenger. With controller.embedded = true it also runs the NATS controller in-process (operator JWT and system account come from the admin server), which is what feeds the Services, Logs, and Store metrics pages in a development profile. With queue_server.port set it also runs the job queue relay service, which feeds the Queue page.

With a controller configured, the admin API is also served over NATS as admin_service in every account (admin_server.nats_api, default true), and the queue service as queue_server (queue_server.nats_api, default true); see package natsapi.

The AI assistant (package ai) is hosted at /api/v1/ai and /mcp unless ai.enabled = false; ai.effort, ai.allow_writes, and ai.max_turns tune it and the model credentials come from the API token vault (docs/AI.md).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL