Skip to Content
DojOps: AI-powered DevOps automation. Learn more →
dojops-saSetup guide

Setup guide

Step-by-step walkthrough of dojops-sa setup, from installation to your first autonomous run.

Duration: 10-15 minutes Prerequisites: Node.js 20+, git, an LLM provider API key


Step 1: Install dojops-sa

npm install -g @dojops/super-agent

Confirm the binary is available:

dojops-sa --version # 0.1.0

Step 2: Install the dojops CLI

dojops-sa uses the dojops CLI for code generation. If you don’t have it yet:

npm install -g @dojops/cli

The setup wizard detects whether dojops is installed and offers to install it automatically if missing.

Step 3: Configure an LLM provider

dojops-sa delegates all LLM calls to the dojops CLI. Configure your provider:

dojops config

This sets the provider and API key. Supported providers:

ProviderEnvironment variable
OpenAIOPENAI_API_KEY
AnthropicANTHROPIC_API_KEY
DeepSeekDEEPSEEK_API_KEY
Google GeminiGEMINI_API_KEY
OllamaOLLAMA_HOST (defaults to http://localhost:11434)
MistralUses OpenAI-compatible API
GitHub CopilotUses OpenAI-compatible API

The setup wizard checks for a configured provider and warns if none is found.

Step 4: Run the setup wizard

dojops-sa setup

The wizard performs these steps in order:

4a. dojops CLI check

Detects the installed dojops CLI version. If not found, offers to install @dojops/cli globally.

4b. LLM provider verification

Checks if dojops config has been run or if any provider environment variables are set. Warns if not configured but allows proceeding.

4c. Database initialization

Creates the SQLite database at ~/.dojops-super-agent/agent.db with WAL mode enabled. Applies all schema migrations and generates an encryption key for credential storage.

4d. License token

Prompts for your DojOps license token:

? Enter your license token: dojops_abc123...

Get a token from console.dojops.ai/settings/licenses . The token is validated online against the license server. Offline trial tokens with cryptographic verification are also supported.

4e. Connector configuration

Prompts to add a ticketing system connector. This step is optional during setup; you can add connectors later with dojops-sa connectors add.

Available connector types:

  • Jira (Cloud or Data Center): requires base URL, email, and API token
  • GitLab: requires base URL and personal access token
  • GitHub: requires personal access token (classic or fine-grained)
  • Confluence (read-only knowledge source): requires base URL, email, and API token

Credentials are encrypted with AES-256-GCM before storage.

4f. Knowledge base

Scrapes 17 pages from doc.dojops.ai  and stores them locally. This knowledge base is used during planning to enrich ticket context. It refreshes automatically every night at midnight UTC.

4g. Setup complete

Marks the setup as finished. You’re ready to start the agent.

Step 5: Start the agent

# Start the autonomous loop (polls every 5 minutes) dojops-sa start # Or run a single pass and exit dojops-sa start --once

Verifying the setup

Check that everything is configured:

# Show agent status and tracked tickets dojops-sa status # List configured connectors dojops-sa connectors list # Show which credentials are set dojops-sa config list

Environment variables

VariablePurposeDefault
DOJOPS_SA_ENCRYPTION_KEY64-char hex string (32 bytes) for credential encryptionAuto-generated and stored in DB
DOJOPS_CONSOLE_URLCustom console URL (for self-hosted)https://console.dojops.ai
DOJOPS_PROVIDEROverride the LLM providerFrom dojops config
DOJOPS_MODELOverride the LLM modelFrom dojops config
DOJOPS_CONTEXT_ENABLEDEnable Context7 documentation lookupfalse

Troubleshooting

”No LLM provider configured”

Run dojops config to set up a provider, or set the appropriate environment variable (e.g. OPENAI_API_KEY).

”License validation failed”

Check that your token starts with dojops_ and hasn’t expired. Visit console.dojops.ai/settings/licenses  to check your license status.

”Lock file exists”

Another instance of dojops-sa is running, or a previous run crashed. If no other instance is active, the stale lock at ~/.dojops-super-agent/agent.lock will be auto-cleaned on the next start (PID-based detection).

Next steps