scorpiox-agent core

Clone, build, and run agents with scorpiox. Fetches agent repos, compiles .NET solutions, and launches interactive or SDK-mode sessions.

linux-x64 linux-arm64 macos-arm64 windows-x64

⚙️ Flags & Options (23)

Flag Short Description Takes Value
--repo -r Git repository URL (default: from AGENTS_REPO_URL env) Yes
--branch -b Git branch (default: main) Yes
--sln -s Solution file path (auto-detected if not specified) Yes
--dll -d DLL name (inferred from sln if not specified) Yes
--list -l List available agents and exit No
--dry-run -n Clone and build, but skip launching scorpiox No
--prompt -p Extra text to append after CLAUDE.md Yes
--model -m Model: haiku, opus, sonnet (passed to scorpiox) Yes
--id Task instance ID (default: auto-generated UUID) Yes
--pat Personal access token for private repos Yes
--cwd Working directory for the agent session Yes
--no-clone Skip git clone (use existing source) No
--no-build Skip dotnet build (use existing binaries) No
--force Force rebuild even if cached Yes
--diag Print all resolved paths and exit (diagnostic mode) No
--print-task-dir Print task directory and exit (machine-readable) Yes
--cache-dir Override agent cache base directory Yes
--sdk SDK mode: exec scorpiox-sdk --print instead of TUI No
--session-id Session ID (passed to scorpiox-sdk in --sdk mode) Yes
--provider Provider (passed to scorpiox-sdk in --sdk mode) Yes
--task-dir-base Override task instances base directory Yes
--tui -i Launch in TUI interactive mode Yes
--help -h Show help No

💡 Usage Examples

List available agents
$ scorpiox-agent --list
# Available agents:
# code-reviewer — Automated code review agent
# deploy-manager — Deployment orchestration agent
# test-runner — Test execution and reporting agent
Run an agent from a repository
$ scorpiox-agent --repo https://git.example.com/org/my-agent.git
# Clones repo → auto-detects .sln → builds → launches scorpiox session
Specify branch, model, and custom prompt
$ scorpiox-agent -r https://git.example.com/org/my-agent.git \
    -b develop \
    -m opus \
    -p "Focus on security analysis"
Use a private repo with PAT authentication
$ scorpiox-agent --repo https://git.example.com/private/agent.git \
    --pat ghp_xxxxxxxxxxxxxxxxxxxx \
    --branch main
Dry run — clone and build without launching
$ scorpiox-agent --repo https://git.example.com/org/agent.git --dry-run
# ✓ Cloned to /tmp/scorpiox-agents/agent-abc123
# ✓ Built Agent.dll successfully
# Dry run complete — skipping launch
SDK mode for programmatic integration
$ scorpiox-agent --repo https://git.example.com/org/agent.git \
    --sdk \
    --session-id sess-001 \
    --provider claude_code
# Launches in SDK mode — output to stdout for piping
Rerun with cached build (skip clone and build)
$ scorpiox-agent --no-clone --no-build \
    --cwd /tmp/scorpiox-agents/agent-abc123 \
    --dll Agent.dll
# Skips clone & build, launches directly from cached artifacts
Diagnostics — inspect resolved paths
$ scorpiox-agent --diag
# Cache dir: /home/user/.cache/scorpiox/agents
# Task base: /tmp/scorpiox-task-instances
# Repo URL: (from AGENTS_REPO_URL)
# Branch: main
# DLL: (auto-detect)

📦 Source & Build Info

Source File
scorpiox/scorpiox-agent.c
Lines of Code
2,802
Dependencies
libsxutil