CyberStrikeAI 个人维护主线:日常修复、功能优化与验证;选定改动通过独立 fork 向上游贡献。
Go to file
Sycun 6e6277d521 fix(tasks): load goal task controller from the app entrypoint 2026-11-13 21:02:11 +08:00
.github/workflows feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
agents refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
cmd fix(tls): reuse the generated HTTPS certificate across updates 2026-11-13 11:09:49 +08:00
docs feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
images docs: update WeCom group QR references 2026-09-23 18:02:00 +08:00
internal fix(tasks): retain failure notices and distinguish prior attempts 2026-11-13 20:21:21 +08:00
knowledge_base Add files via upload 2025-12-20 18:13:32 +08:00
mcp-servers Update mcp_reverse_shell.py 2026-03-27 19:39:49 +08:00
plugins refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
roles refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
runtime/pi perf(pi): reduce DeepSeek input overhead with automatic economy profile 2026-11-13 14:24:10 +08:00
scripts fix(tasks): load goal task controller from the app entrypoint 2026-11-13 21:02:11 +08:00
skills refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
tools feat(proxy): add stable HTTP egress settings isolated from tools and models 2026-11-01 00:03:51 +08:00
web fix(tasks): load goal task controller from the app entrypoint 2026-11-13 21:02:11 +08:00
.gitignore refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
CHANGELOG.md feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
LICENSE Add files via upload 2026-03-13 00:11:48 +08:00
README.md feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
README_CN.md feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
SECURITY.md Add files via upload 2026-07-07 14:06:29 +08:00
config.example.yaml refactor(config): align context optimization with upstream Pi policy 2026-11-13 19:54:11 +08:00
go.mod refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
go.sum refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
requirements.txt fix(tools): declare Python parser dependencies 2026-11-13 10:29:50 +08:00
run.sh feat(runtime): introduce Pi agents and native workflow and retrieval engines 2026-11-11 09:19:14 +08:00
upgrade.sh fix: serialize installation updates and recover interrupted adoption and rollback 2026-10-09 10:58:12 +08:00

README.md

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 Task Management → Goal tasks.

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.

Goal tasks

Open Task Management → Goal tasks, describe the objective, scope and acceptance criteria, save a draft, then start it. The coordinator schedules dependent steps through the existing Pi Agent and revises the plan as results arrive.

Inspect execution conversations, checkpoints and activity; pause/resume, supply guidance, answer questions, retry failed steps and adjust time or planning-round budgets. Completed work is retained. Blocked, interrupted and budget-exhausted tasks are distinct from successful completion. Existing batch queues remain in the same page.

See task management, source research and validation boundaries.

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. Goal-task coordination persists plans and schedules complete Pi Agent steps using the existing tool loop, projects and execution conversations.

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.