Skip to main content
actual advisor puts an architecture question to the Advisor in Actual AI and prints its answer, followed by the related decisions it drew on, each with a confidence. The answer comes from your organization’s ADRs, scoped to the repository you’re working in, so you can trace each recommendation back to a decision your team made. The Advisor runs in your Actual AI account: it needs a sign-in and no local runner. The actual skill asks the Advisor only when you ask it to, for example “Ask the Actual advisor how we should handle database access in a new service.”

Prerequisites

  • Sign in with actual login. actual whoami exits 2 when you aren’t signed in. See Sign in.
  • Connect your repository at app.actual.ai, so the Advisor can scope answers to it.

Ask a question

The command starts an Advisor job and waits for the answer, which can take a few minutes. Progress, such as advisor thinking…, goes to standard error and the answer to standard output, so a script or an agent can capture the answer alone. The output is text; there’s no JSON form. For example, part of the output for a question about authentication, trimmed to one related decision:

Scope

By default the question is scoped to the repository you’re standing in. The CLI matches the working tree’s origin remote to one of your organization’s connected repositories, and runs the question at the organization level when nothing matches, the match is ambiguous, or you aren’t in a git repository. --repo picks the scope and remembers it for later questions from the same working tree:
none and auto are keywords. To scope to a repository literally named none or auto, pass its owner/name form or its id. An unrecognized name fails with the list of repositories you can choose from.

Flags

Failures and fixes

The CLI renews an expiring sign-in before each question, so a sign-in that’s merely old needs nothing from you. actual advisor lists the command’s help text.