CLI configuration and automation
Install the CLI using CLI. Use sikaru --help for top-level options, and an operation’s --help or --schema for exact arguments.
Set up credentials
sikaru auth login starts device sign-in:
- Open the displayed verification URL.
- Enter the code if requested.
- Approve with your Sikaru account.
The CLI stores the resulting user credentials in its credential store and refreshes them automatically. This signed-in identity can connect your personal apps and secrets.
SIKARU_API_KEY takes precedence when present, so unset it for interactive personal access. Do not put a literal token in shell history. If sign-in expires or is denied, start login again. If refresh is revoked, sign in again.
An environment credential can stay active after keyring logout. Use auth status to identify credential sources, and remove an injected environment variable separately when needed.
Discover and validate a request
PROJECT and support stand for your project ID and active agent slug. A dry run validates the request locally. It does not prove that credentials, permissions, resources, or hosted execution are available.
Format output for scripts
Raw output bypasses structured formatting. Use --query status --format json when you extract a field. Scripts should check the process exit status and handle stderr separately.
Configure connection settings
Only GET and HEAD may retry automatically. Mutation commands require reconciliation after uncertain responses. A CLI timeout does not cancel a hosted run: call sikaru runs cancel explicitly when you intend to cancel.
Generate shell completions and the manual
Install the generated file using your shell’s completion setup. Supported shells are bash, zsh, fish, PowerShell, and elvish.
Integrate with other agents
Skill generation writes local instructions for using the public CLI. It does not create a hosted managed agent, deploy a release, or export the hosted agent’s instructions. Review the output before you add it to another agent’s tool environment. For machine execution, use Local compute.
Run in your workspace
Fresh calls create fresh sessions. Resume only with the returned state_dir and the original workspace. See Local compute for scoped workers, containers, approval parking, and structured exit outcomes.
