This guide covers the current build, install, and verification flow for the Go CLI, Python AI runtime, shared task system, MCP adapter, and autopent path.
For general setup, see README.md, docs/INSTALL.md, and docs/SETUP_AND_USE.md.
Required:
- Go
1.24+ - Python
3.11+forzypheron-ai - Python
3.10+forzypheron-api make
Recommended for runtime validation:
- working Python virtual environments under
zypheron-ai/.venvandzypheron-api/.venv - local model runtime such as Ollama, or hosted provider keys
- local security tools you intend to exercise, such as
nmap,httpx,sqlmap,nuclei,nikto
cd zypheron-go
make build
./build/zypheron --versionThis produces:
zypheron-go/build/zypheron
Prepare the API test environment:
./scripts/setup_api_test_env.sh --allow-onlinePrepare the AI runtime test environment:
./scripts/setup_ai_test_env.sh --allow-onlineBoth scripts prefer a local wheelhouse/ when present. Without a wheelhouse,
online package resolution requires the explicit --allow-online flag.
User-local install:
cd zypheron-go
install -m 755 build/zypheron "$HOME/.local/bin/zypheron"
zypheron --versionSystem-wide install:
cd zypheron-go
sudo install -m 755 build/zypheron /usr/local/bin/zypheron
zypheron --versionzypheron --version
zypheron --help
zypheron doctor
zypheron ai status./scripts/run_all_tests.sh --ciThis provisions missing Python test environments with locked dependencies,
runs API tests, AI runtime tests, Go tests, and integration checks. Go tests use
a workspace GOTMPDIR so noexec /tmp mounts do not break the test binary
execution step.
By default the API portion runs the OSS RC subset. To run the broader legacy hosted/SaaS API suite:
API_TEST_SCOPE=full ./scripts/run_all_tests.sh --ciThe integration portion follows the same release posture. By default it runs the OSS RC integration subset and excludes legacy hosted auth/license flows whose contracts are not part of this RC. To run those legacy flows too:
INTEGRATION_TEST_SCOPE=full ./scripts/run_all_tests.sh --ciAPI:
cd zypheron-api
.venv/bin/python -m pytest tests/AI runtime:
cd zypheron-ai
.venv/bin/python -m pytest tests/Compile-oriented validation for the bridge, commands, and TUI packages:
cd zypheron-go
mkdir -p .gotmp
GOTMPDIR="$PWD/.gotmp" go test ./...cd zypheron-ai
.venv/bin/python -m compileall autopent mcp_interface tools/registry.pyzypheronOr:
zypheron tuiThen try a safe runtime-tool prompt such as:
what configured providers do i have?
Expected behavior:
- TUI starts or connects to the Python AI engine
- the request is executed through the shared query engine
- runtime events appear in the console
Direct Python runner:
cd zypheron-ai
venv/bin/python autopent/run_autopent.py \
--target 127.0.0.1 \
--objective "obtain admin" \
--session-id smoke_autopentWhat this validates:
- autopent runner startup
- attack graph discovery
- shared task emission
- approval-required state transitions
- shared-tool execution path for supported edges
The TUI now includes a shared-runtime approval modal.
You can validate it by running an approval-gated runtime action or by observing a waiting task in the active runtime session.
Expected behavior:
- approval modal opens
Approve once,Allow for session, andDenysubmit correctly- dismissal no longer immediately reopens the same prompt on the next poll cycle
What is implemented now:
- chat routed through
zypheron-ai/core/query_engine.py - shared task and audit persistence in
zypheron-ai/tasks/store.py - runtime approvals over IPC through
task_approve - TUI runtime polling and approval widget
- autopent shared task/event integration
- partial MCP shared-tool routing
What is still partial:
- MCP is not fully migrated to the shared typed tool plane
- autopent still has workflow-specific orchestration outside the query engine
- context compaction and artifact summarization are not implemented yet
- streaming chat protocol support falls back to the standard chat path
- Enterprise Teams endpoints are deferred for the OSS RC and may return
501 - full autonomous exploitation is deferred; autopent remains approval-gated
Common issues:
- missing Python dependencies
- local model runtime not running
- missing local security tools
- keyring unavailable for hosted provider keys
Useful checks:
zypheron doctor
zypheron ai doctor
zypheron tools check
zypheron ai providersIf the Python runtime appears unhealthy:
zypheron ai stop
zypheron ai start
zypheron ai status