API Reference wardrik_daemon v#0.1.0-rc.1
Copy MarkdownModules
Runs Wardrik as a daemon, on a machine of yours, with no app around it.
Reads an agent file: a Markdown file in agents/.
Defines the agents in agents/. It's the daemon's Wardrik.Declarations.
The wardrik command, also installed as rik.
The commands on tokens and the vault: who reaches the daemon, and the secrets agents hold.
The commands that set Wardrik up and run the daemon: init, doctor, status, reload, audit and the rest.
The commands on agents: listing, showing, asking, following and stopping them.
The commands on the calls agents wait on a person for: listing, approving and denying them.
Formats times and counts for the CLI, in few characters.
One command wardrik takes, defined once for its help, its options and running it.
Writes wardrik completion SHELL: completion for bash, zsh or fish.
What every command runs with: the directories, the environment, the deployment's org, the terminal it writes to, the name it was typed as, and whether it prints JSON.
Prints an agent's events as they happen.
Writes wardrik help: every command by group, the commands in a namespace, or one command.
wardrik init: from a fresh install to a front door that has answered once. It says what it does
as it goes
The commands on MCP servers an owner adds, and the accounts an owner connects.
Prints rows as columns, each as wide as its widest cell, under a faint header.
The terminal a command writes to: how wide it is, whether it takes colour, and whether someone types at it.
The commands on an agent's triggers: listing, setting and removing them.
Issues the token the wardrik command acts with.
Lists the tools the daemon offers agents by name.
Reaches a daemon over its HTTP API. The wardrik command uses it.
Reads config.yaml as the daemon starts.
Reads config.yaml's channels: the chat apps agents are reached through.
Reads config.yaml's mcp: the MCP servers agents may call, each by a name of your own.
Reads config.yaml's notify: the targets agents' notices go to, each by a name of your own.
Reads config.yaml's oauth: the providers people connect accounts with.
Reads config.yaml's orgs: the orgs beside the deployment's own.
Turns Owl.Data into chardata, with or without colour.
Renders streamed markdown a line at a time.
Turns an agent's events into the lines a terminal shows. Each line is written once and never redrawn.
A markdown table: its header, its body rows, and each column's alignment.
The directories the daemon keeps things in.
Checks what the daemon reads, running or not. Prints a line for each check
Checks every agent file and policy as the daemon reads them.
Reads the env file: variables the daemon sets where its environment doesn't.
Says which orgs the daemon runs agents for, and the policies each is held to. It's the daemon's
Wardrik.Orgs.
Reads the policies in policies/.
Runs the daemon once its store is up. WardrikDaemon.Server starts it.
Runs the daemon.
Mix Tasks
Runs the wardrik command from source, without a release.