Documentation Index
Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt
Use this file to discover all available pages before exploring further.
CLI authentication
”Not authenticated. Run arga login.”
The CLI can’t find a saved API key. This happens when:
- You haven’t logged in yet — run
arga loginto authenticate. - The config file at
~/.config/arga/config.jsonwas deleted or corrupted. Runarga loginagain to regenerate it. - The API key was revoked from the Settings page under Authorized CLI devices. Run
arga loginto create a new device key.
”Device code expired. Run arga login again.”
The browser approval window wasn’t completed in time. Device codes expire after 10 minutes. Run arga login again and approve the device in the browser before the code expires.
”Device code already used. Run arga login again.”
Each device code can only be used once. If you cancelled a login attempt or the flow was interrupted, run arga login to start a fresh authorization.
”Timed out waiting for authentication approval.”
The CLI waited 10 minutes for browser approval and gave up. Make sure you complete the approval at the URL shown in your terminal. If the browser didn’t open automatically, copy the URL and open it manually.Validation errors
”A valid public http(s) URL is required.”
Arga can only test publicly accessible URLs. This error appears when:- The URL uses
localhostor a private IP address (e.g.127.0.0.1,192.168.x.x) - The URL scheme is not
http://orhttps:// - The URL is malformed or unreachable
”A prompt is required.”
Free plan users must provide a test prompt describing what to validate. Add--prompt to your CLI command:
”Email and password must both be provided.”
You passed--email without --password or vice versa. Both must be provided together:
Need more detail from a run
Usearga runs logs to retrieve the current logs snapshot for a validation run:
--errors-only keeps failed worker logs and warning/error runtime logs. Use --json for machine-readable output. The response can include warnings, and large worker logs may be truncated. For the full payload shape, see Get run logs.
Run stuck in “queued” status
If a run stays inqueued for more than a few minutes:
- Check your run status:
arga runs status <run_id> - Inspect the current logs snapshot:
arga runs logs <run_id> --errors-only - Cancel and retry:
arga runs cancel <run_id>, then start a new run - If the issue persists, contact founders@argalabs.com
Plan limits
”Monthly free plan limit reached.”
Free plan users get 10 validation runs per month. Limits reset on a rolling monthly basis. Check your remaining usage with:”Free plan allows 1 twin per run.”
Free plan users can use one digital twin per validation run. To use multiple twins in a single run, upgrade to the Team plan.”Automatic PR validation requires a Team or Paid plan.”
PR validation (arga previews pr-checks run) and CI checks are Team plan features. Upgrade to enable automatic PR validation.
”Team plan limit of N CI checks/month reached.”
Team plan includes 500 CI checks per month. If you need more, contact founders@argalabs.com about usage-based pricing.Twin provisioning
”Quickstart API key has no provisions remaining.”
Your quickstart key (issued via email signup) is limited to 5 twin provisions and has been used up. Runarga login to authenticate with GitHub and get a full-access key with no provision limit.
Twins stuck in “provisioning”
Twin instances typically start in under a minute. If provisioning takes longer than 2 minutes:- Check status:
arga runs status <run_id>or poll the status endpoint - Inspect provisioning/runtime logs:
arga runs logs <run_id> --errors-only - Cancel and retry with a fresh run
- If using the CLI wizard (
npx arga-wizard), exit and re-run it
When a
scenario_id or scenario_prompt is attached to a provision request, the status remains provisioning until twin seeding completes and seed_results are available. This is expected and ensures twins are fully initialized before the status transitions to ready.”At least one valid twin name is required.”
The twin names you provided don’t match any available twins. List valid twin names from the twin catalog or check spelling. Common twin names:slack, stripe, discord, notion, jira, github.
Twins expired during testing
Twin sessions have a default TTL of 10 minutes. If your twins expire mid-test:- Extend the session with
arga-wizard extendor the extend endpoint - Set a longer initial TTL (up to 480 minutes) when provisioning via the API directly
MCP connection issues
MCP server not connecting in your IDE
- Verify you’re logged in: Run
arga whoamito confirm your API key is valid. - Reinstall MCP config: Run
arga mcp installto rewrite the config files. - Check the config file for your IDE:
- Cursor:
~/.cursor/mcp.json - Claude Code:
~/.claude/mcp.json - Codex:
~/.config/codex/mcp.json
- Cursor:
- Verify the API key in the config matches your current key (run
arga whoamito see it). - Restart your IDE after updating the MCP config.
MCP tools returning errors
If MCP tools return “Error: Not authenticated” or similar:- Your API key may have been revoked. Check Settings > Authorized CLI devices and run
arga login+arga mcp installif the key was revoked. - The MCP config may have an outdated key. Run
arga mcp installto refresh it.
MCP tools not appearing in your IDE
Some IDEs cache MCP tool definitions. After runningarga mcp install:
- Restart the IDE completely (not just reload)
- Check that the
arga-contextserver entry exists in the MCP config file - Look for MCP connection errors in your IDE’s output/logs panel
GitHub integration
”GitHub not connected”
You need to connect GitHub before using features that depend on repository access (PR validation, CI checks). Go to Integrations and click Connect on the GitHub card.”GitHub reauthentication required”
Your GitHub OAuth token has expired or been revoked. Go to Integrations, disconnect GitHub, and reconnect it.”GitHub integration required for validation.”
PR and branch validations require a connected GitHub integration. Connect GitHub from the Integrations page before runningarga previews pr-checks run or setting up CI checks.
Email verification
”Email is already verified”
The email address you submitted is already verified on your account. No action needed. Runarga whoami to confirm your verified email.
”Wait before requesting another verification code”
Verification codes can only be requested once per minute. Wait a moment and try again.”Too many verification attempts. Request a new code”
You’ve used all 5 attempts for the current code. Click to request a new verification code and try again with the fresh code.”No active verification code found for that email”
The verification code has expired (codes last 10 minutes) or was never requested for this email address. Request a new code and enter it within 10 minutes.General
Network errors
If you see “Network error” from the CLI, check:- Your internet connection
- That
https://api.argalabs.comis reachable:curl https://api.argalabs.com/health - If using a custom API URL (
--api-urlorARGA_API_URL), verify it’s correct

