uberblick/ub-agents v0.5.4
Configuration · Overview

Configuration

Configuration

ub-agents.yaml sits at the root of your repository. ub-agents init writes a starter file, and ub-agents doctor --offline validates it. Unknown keys are errors.

repository: your-org/your-project
shared-instructions: .agents/ub_agents.md

agents:
  implementer:
    runtime: "codex:gpt-6.2-sol:high"
    trigger: [ready, needs-changes]
    instructions: .agents/implementer.md
    worktree: true
    outcomes:
      handed-off: {add: [needs-review]}

poll-seconds: 30
stop-labels: [needs-human]

Repository

The GitHub repository the agents work on, as owner/name. It must match your checkout's origin.

HTTPS and SSH remotes both work, and so do SSH host aliases such as git@github-work:OWNER/REPO.git, as long as ssh -G resolves them to github.com.

repository: your-org/your-project

Agents

The roles that do the work, by name. See Agents.

agents:
  implementer:
    ...

Shared instructions

A policy file every agent reads before its own instructions: checks, merge policy and who decides. See Instructions.

shared-instructions: .agents/ub_agents.md

Poll interval

The minimum gap between queue checks, in seconds; defaults to 30. See polling rules for timing and account capacity for sizing a shared account.

poll-seconds: 30

Stop labels

Labels that park an item until a person acts. Defaults to needs-human. See Stop labels.

stop-labels: [needs-human]

Everything else

All optional:

KeyPage
limitsLimits
queueQueue
approvals, trusted-botsApprovals
trusted-pr-authorsTrusted PR authors
upstream-retrospectivesUpstream retrospectives
launchersLauncher accounts
cleanupCleanup hook
eventsLoop events
checkout-setupCheckout setup
runtime-updatesRuntime updates
runtime-argsPer-CLI argument defaults

Using a different configuration file

Every command reads ub-agents.yaml by default. Pass --config to use another file.

$ ub-agents --config staging.yaml launch

Relative paths and ub-agents.local.yaml resolve from that file's directory.

Machine-local overrides

To change settings on one machine only, put them in ub-agents.local.yaml next to ub-agents.yaml, which init adds to .gitignore. Give only the keys you change. A runtime list replaces the shared one, so repeat the shared runtime to keep it:

# ub-agents.local.yaml
agents:
  implementer:
    runtime: ["codex:gpt-6.2-sol:high", "claude:claude-opus-5-5:high"]

An optional, untracked ub-agents.local.yaml in the base file's directory, after resolving symlinks, overrides settings on one machine. The base file stays required. Relative paths in both files resolve against that directory. A missing, empty or comment-only local file changes nothing.

Both files need unique string keys. Validation runs on the merged result, and errors caused by the local file name it. Launch rereads both files before each new run. The local file is not copied into private worktrees. init adds it to .gitignore; in an existing project, add that line before creating the file.

Key reference

KeyType and defaultRules
repositoryRequired stringGitHub owner/name; must match the checkout's origin.
agentsRequired mappingNonempty; names are lowercase slugs: a letter, then letters, digits, - or _. See Agents.
upstream-retrospectiveson or off, default offOpt in to public feedback about ub-agents itself; pinned by the launcher for each run. See Retrospectives.
poll-secondsPositive number, 30Minimum gap between discovery-pass starts.

origin may be https://github.com/OWNER/REPO, git@github.com:OWNER/REPO or ssh://git@github.com/OWNER/REPO, with an optional .git or trailing /. An SSH host alias also works when ssh -G HOST reports hostname github.com. The check needs no network, so doctor --offline runs it too.