Sycun 2196409964 Merge bilingual README refresh (#3)
Refresh Chinese and English README for team trials
2026-11-11 14:37:53 +08:00
2026-03-27 19:39:49 +08:00
…
2026-07-07 14:06:29 +08:00

CyberStrikeAI

CyberStrikeAI

Describe the goal. Let an agent do the work, report progress, and ask when it needs your judgment.

中文 · English

Pi runtime CI Build and regression CI

CyberStrikeAI is a cybersecurity agent workbench built with Go + Pi. Describe the outcome you want: the agent interprets your intent, plans steps, calls tools, and records evidence. It reports progress as it works, asks for missing information or decisions, and continues from the saved state after you answer.

This repository is maintained by Sycun, building on AIPentest/CyberStrikeAI with the upstream history, license, and copyright notices preserved. The current version is ready for team trials. Start the new workflow from Deep Assessment → Delegate work.

Quick start · Delegate your first task · Capabilities · Architecture · Documentation · Feedback

Quick start

1. Prepare the environment

Dependency Requirement Purpose
Go 1.25+; see go.mod Build the server
Node.js and npm Node.js 22.19+ Build and run the Pi worker
Python 3.10+, with venv support Launcher and Python tool dependencies
Git Available on PATH Clone and update the source

You also need a model channel that supports tool calling, plus the tools or MCP services required by your task. The repository contains tool recipes; it does not install every security tool automatically. The first build needs access to Go, npm, and Python dependency sources.

2. Clone and start

The following commands use Bash on macOS or Linux:

git clone --branch main https://github.com/Sycun/CyberStrikeAI.git
cd CyberStrikeAI
cp config.example.yaml config.yaml

For a local trial, change the existing server.host in config.yaml to 127.0.0.1, keeping the other settings. Then start the server:

bash run.sh --http

The script prepares the Pi worker, creates a Python virtual environment, installs dependencies, and builds the server. Open http://127.0.0.1:8080/ by default; use the port shown in your configuration and terminal output.

Without --http, run.sh uses HTTPS and generates a local self-signed certificate when none is configured. For a shared deployment, see the deployment guide for listening addresses, certificates, and access controls.

3. Complete the initial setup

  1. Sign in with the initial admin password shown under ADMIN SETUP REQUIRED in the terminal, then change it.
  2. In System settings → Basic → AI channel config, enter the provider, Base URL, API key, and model, then select a default channel. Credentials in the example configuration are placeholders.
  3. Install the local tools needed for your task, or connect an available external MCP service. Verify that each tool works before assigning it to an agent.
  4. For a shared service, create separate accounts and permissions for teammates under Platform Access → Add Member.

Use config.example.yaml as the configuration reference. See configuration and configuration profiles for model channels, local models, and context settings.

Build and run manually

After completing the configuration above, you can build the Pi worker and Go server separately:

bash scripts/build-pi-runtime.sh
go build -o cyberstrike-ai ./cmd/server
./cyberstrike-ai -config config.yaml --http

A deployment needs the runtime source and a matching Pi worker bundle, or a fresh build on the destination machine. Copying only the Go binary is not enough to run agents. Prepare Python tool dependencies separately. See the Pi runtime guide.

Delegate, execute, report, ask, and continue

Open Deep Assessment → Delegate work, select a project if needed, choose the available tools, model, and budget, then describe the desired outcome. For example, after listing readable local report files in the materials field:

Organize this project's existing assessment materials into a report of verified results and evidence gaps. Read only the local files listed in the materials field; do not access new targets. Organize the report by module. At each milestone, tell me what is done and what remains. Ask me directly when a decision is needed.

flowchart LR
    A[Describe the goal] --> B[Interpret intent]
    B --> C[Plan and execute]
    C --> D[Report progress]
    D --> C
    D --> E[Review and deliver]
    B -->|Missing information| F[Ask the owner]
    C -->|Decision needed| F
    F --> G[Owner answers]
    G -->|Intake clarification| B
    G -->|Execution decision| C
  • Start with an incomplete description: the agent creates an intake draft and asks specific questions when essential goals, scope, or acceptance criteria are unclear.
  • Execute once the task is clear: selected tools advance the work, with step state, results, and execution records saved.
  • Inspect factual stage reports: see completed work, remaining work, blockers, next actions, and supporting execution references.
  • Keep independent work moving: a step awaiting an answer does not stop existing independent steps. When no work remains runnable, execution resources are released.
  • Resume after answering: Answer and continue restores the original step context. Repeating an identical answer does not repeat execution.
  • Keep questions and progress: closing the page does not lose the task; pending questions and saved results remain available after a server restart.

Owner questions and tool approvals are separate. The current entry points are the workbench and API. Automatic chat/robot routing, cross-project name resolution, external notifications, and ARTEX adapters remain future work.

See delegated work and owner questions for usage, recovery behavior, and API details.

Capabilities

Capability What it provides Details
Pi agents Single-agent, Deep, Plan-Execute, and Supervisor modes Agents and roles
Durable tasks Planning, dependencies, bounded concurrency, budgets, pause/resume, and review Task delegation
Tools and skills YAML recipes, MCP connections, role-specific tool sets, and on-demand skills Tools · Skills
Visual workflows Compose agent, tool, condition, and approval nodes Workflows
Knowledge and evidence RAG retrieval, project facts, tool records, reports, and attack-chain analysis Knowledge base
Project workspace Assets, vulnerabilities, conversations, batch tasks, and shared project context Asset management
Human oversight RBAC, tool approvals, call guards, and audit logs Security model
Integrations Burp Suite, browser extensions, bots, and external MCP services Plugins · MCP

Specialized operations also include WebShell and C2. Configure the capabilities your task needs; a tool recipe does not mean its executable is installed or validated in your environment.

Architecture

Component Responsibility
Go server and task engine Task state, dependencies, budgets, owner questions, tool execution, and evidence
Pi runtime Model interaction, agent tool loops, sessions, compaction, steering, and tool discovery
Tool gateway Dispatch to MCP or local tools under role restrictions, permissions, approvals, and execution monitoring
SQLite and Pi sessions Business state and evidence in SQLite; model conversations and compaction records in Pi sessions
Web workbench Tasks, questions, stage reports, execution traces, and project materials

Pi 1.5.2 is the only agent runtime. The Eino execution engine and dependencies have been removed. Durable assessments use the Go task engine to control execution and Pi for individual model proposals. They share the runtime with chat agents while managing their own task lifecycle.

An optional DSH-Purge-inspired prompt profile adds capability selection, main/child task anchors, and model-specific instructions. It can be disabled; Go retains tool permissions and approvals. Implementation and attribution are documented in the Pi runtime guide and third-party notices.

Plugins and interface

Integration Usage Documentation and download
Burp Suite Send selected HTTP requests to CyberStrikeAI for analysis Setup · JAR
Chrome / Edge Capture and send requests from the CyberStrikeAI DevTools tab Setup · ZIP
Explore the workbench
Dashboard
Dashboard
Dark theme
Dark theme
Chat console
Chat console
Knowledge base
Knowledge base
MCP management
MCP management
Burp Suite extension
Burp Suite extension

These repository screenshots illustrate existing features. For the new task-delegation entry point and workflow, follow the usage guide.

Updates and migration

For new installations, config.example.yaml points updates to this repository:

update:
  repo: https://github.com/Sycun/CyberStrikeAI

For an existing installation, check the source under Settings → One-click Update. An empty update.repo still selects the official upstream, not this independently maintained version. The update process builds a Pi worker matching the source. See deployment for the procedure.

Before migrating from an Eino version, back up runtime configuration and data, and finish or export existing workflows: old Eino binary workflow checkpoints cannot resume in this version. Legacy API routes, configuration keys, and historical records retain data compatibility; there is no old-engine switch. See the migration guide.

Validation status

The current implementation has been checked with full Go tests, race tests, Pi SDK integration tests, frontend regressions, and local browser checks. An isolated live-model smoke run completed the sequence ambiguous request → clarification → owner answer → echo tool execution → stage reports → completion, using synthetic inputs and tool results.

This supports team trials. Complex long-running tasks, compatibility across model channels, general intent accuracy, cost, and effectiveness still need further evaluation. See the latest checks in GitHub Actions.

Documentation

What you want to do Start here
Deploy and configure models Deployment · Configuration · Troubleshooting
Delegate tasks Usage and API · Design background, Chinese
Customize agents and tools Pi runtime · Agents and roles · Tool recipes
Integrate an application API reference · API examples · MCP
Operate a team service Security hardening · Runbooks
Contribute code Developer guide · Testing · Repository guide

Browse all topics in the English documentation or bilingual index.

Feedback and contributions

Report trial feedback in this repository's Issues. Include the commit, operating system, model protocol/channel type, reproduction steps, and redacted logs. Do not upload API keys, credentials, or sensitive engagement materials. PRs for tool adapters, usability improvements, and regression cases are welcome.

This repository and the official upstream publish independently. For upstream community information, visit AIPentest/CyberStrikeAI. Thanks to the original authors and contributors, and to Pi, MCP, and the other open-source projects used here.

License and intended use

The project is licensed under Apache License 2.0; third-party components retain their own licenses and notices. Use it for security work on systems you own or are explicitly authorized to assess, within the agreed scope and applicable law. See SECURITY.md for security reporting.

Languages
Go 42%
JavaScript 36.3%
CSS 13.1%
HTML 6.6%
Java 0.9%
Other 1.1%