# wardrik_daemon v0.1.0-rc.1 - API Reference

## Modules

- [WardrikDaemon](WardrikDaemon.md): Runs Wardrik as a daemon, on a machine of yours, with no app around it.
- [WardrikDaemon.AgentFile](WardrikDaemon.AgentFile.md): Reads an agent file: a Markdown file in `agents/`.
- [WardrikDaemon.Agents](WardrikDaemon.Agents.md): Defines the agents in `agents/`. It's the daemon's `Wardrik.Declarations`.
- [WardrikDaemon.CLI](WardrikDaemon.CLI.md): The `wardrik` command, also installed as `rik`.
- [WardrikDaemon.CLI.Access](WardrikDaemon.CLI.Access.md): The commands on tokens and the vault: who reaches the daemon, and the secrets agents hold.
- [WardrikDaemon.CLI.Admin](WardrikDaemon.CLI.Admin.md): The commands that set Wardrik up and run the daemon: `init`, `doctor`, `status`, `reload`, `audit` and the rest.
- [WardrikDaemon.CLI.Agents](WardrikDaemon.CLI.Agents.md): The commands on agents: listing, showing, asking, following and stopping them.
- [WardrikDaemon.CLI.Approvals](WardrikDaemon.CLI.Approvals.md): The commands on the calls agents wait on a person for: listing, approving and denying them.
- [WardrikDaemon.CLI.Clock](WardrikDaemon.CLI.Clock.md): Formats times and counts for the CLI, in few characters.
- [WardrikDaemon.CLI.Command](WardrikDaemon.CLI.Command.md): One command `wardrik` takes, defined once for its help, its options and running it.
- [WardrikDaemon.CLI.Completion](WardrikDaemon.CLI.Completion.md): Writes `wardrik completion SHELL`: completion for bash, zsh or fish.
- [WardrikDaemon.CLI.Context](WardrikDaemon.CLI.Context.md): 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.

- [WardrikDaemon.CLI.Follow](WardrikDaemon.CLI.Follow.md): Prints an agent's events as they happen.
- [WardrikDaemon.CLI.Help](WardrikDaemon.CLI.Help.md): Writes `wardrik help`: every command by group, the commands in a namespace, or one command.
- [WardrikDaemon.CLI.Init](WardrikDaemon.CLI.Init.md): `wardrik init`: from a fresh install to a front door that has answered once. It says what it does
as it goes
- [WardrikDaemon.CLI.Servers](WardrikDaemon.CLI.Servers.md): The commands on MCP servers an owner adds, and the accounts an owner connects.
- [WardrikDaemon.CLI.Table](WardrikDaemon.CLI.Table.md): Prints rows as columns, each as wide as its widest cell, under a faint header.
- [WardrikDaemon.CLI.Terminal](WardrikDaemon.CLI.Terminal.md): The terminal a command writes to: how wide it is, whether it takes colour, and whether someone
types at it.
- [WardrikDaemon.CLI.Triggers](WardrikDaemon.CLI.Triggers.md): The commands on an agent's triggers: listing, setting and removing them.
- [WardrikDaemon.CLIToken](WardrikDaemon.CLIToken.md): Issues the token the `wardrik` command acts with.
- [WardrikDaemon.Capabilities](WardrikDaemon.Capabilities.md): Lists the tools the daemon offers agents by name.
- [WardrikDaemon.Client](WardrikDaemon.Client.md): Reaches a daemon over its HTTP API. The `wardrik` command uses it.
- [WardrikDaemon.Config](WardrikDaemon.Config.md): Reads `config.yaml` as the daemon starts.
- [WardrikDaemon.Config.Channels](WardrikDaemon.Config.Channels.md): Reads `config.yaml`'s `channels`: the chat apps agents are reached through.
- [WardrikDaemon.Config.MCP](WardrikDaemon.Config.MCP.md): Reads `config.yaml`'s `mcp`: the MCP servers agents may call, each by a name of your own.
- [WardrikDaemon.Config.Notify](WardrikDaemon.Config.Notify.md): Reads `config.yaml`'s `notify`: the targets agents' notices go to, each by a name of your own.
- [WardrikDaemon.Config.OAuth](WardrikDaemon.Config.OAuth.md): Reads `config.yaml`'s `oauth`: the providers people connect accounts with.
- [WardrikDaemon.Config.Orgs](WardrikDaemon.Config.Orgs.md): Reads `config.yaml`'s `orgs`: the orgs beside the deployment's own.
- [WardrikDaemon.Console.Ansi](WardrikDaemon.Console.Ansi.md): Turns `Owl.Data` into chardata, with or without colour.
- [WardrikDaemon.Console.Markdown](WardrikDaemon.Console.Markdown.md): Renders streamed markdown a line at a time.
- [WardrikDaemon.Console.Printer](WardrikDaemon.Console.Printer.md): Turns an agent's events into the lines a terminal shows. Each line is written once and never
redrawn.
- [WardrikDaemon.Console.Table](WardrikDaemon.Console.Table.md): A markdown table: its header, its body rows, and each column's alignment.
- [WardrikDaemon.Dirs](WardrikDaemon.Dirs.md): The directories the daemon keeps things in.
- [WardrikDaemon.Doctor](WardrikDaemon.Doctor.md): Checks what the daemon reads, running or not. Prints a line for each check
- [WardrikDaemon.Doctor.Agents](WardrikDaemon.Doctor.Agents.md): Checks every agent file and policy as the daemon reads them.
- [WardrikDaemon.EnvFile](WardrikDaemon.EnvFile.md): Reads the env file: variables the daemon sets where its environment doesn't.
- [WardrikDaemon.Orgs](WardrikDaemon.Orgs.md): Says which orgs the daemon runs agents for, and the policies each is held to. It's the daemon's
`Wardrik.Orgs`.
- [WardrikDaemon.Policies](WardrikDaemon.Policies.md): Reads the policies in `policies/`.
- [WardrikDaemon.Running](WardrikDaemon.Running.md): Runs the daemon once its store is up. `WardrikDaemon.Server` starts it.
- [WardrikDaemon.Server](WardrikDaemon.Server.md): Runs the daemon.

## Mix Tasks

- [mix wardrik](Mix.Tasks.Wardrik.md): Runs the `wardrik` command from source, without a release.

