An independent developer toolkit, CLI utility, and agent skill for authoring, scaffolding, validating, and testing production-grade tool adapters and kernel extensions for Ether.
Ether is a headless, reactive process supervisor, AST validator, and deterministic graph telemetry engine for cybersecurity tooling and autonomous AI agents. Ether strictly adheres to the Smart Adapter / Simple Core and Deep Modules architecture:
- Strict Headless Invariant: Zero UI code, zero Textual imports, zero presentation widgets. Ether is an engine and kernel, not an interactive GUI application.
- Smart Adapter / Simple Core: The core kernel manages process lifecycles, streaming ring buffers, disk log spooling, and deterministic SQLite graph persistence without hardcoding tool-specific execution flags or stdout parsing.
- Two Execution Tiers:
- Tier A: Coroutine (
execution_tier = "coroutine"): Zero-binary, in-process asynchronous tools (e.g.,dnspython,http_probe). - Tier B: Subprocess (
execution_tier = "subprocess", Default): Standard security binaries in the hostPATH(e.g.,nmap,ffuf,nuclei).
- Tier A: Coroutine (
Every tool plugin in Ether resides in its own self-contained directory:
tools/<tool_name>/
├── __init__.py
├── manifest.toml # Declarative contracts, parameters, curriculum recipes, RFC theory
├── adapter.py # ToolAdapter (validate_install, build_command, parse_output, sanitize_output)
└── cli.py # (Optional) Pure-Python CLI entry point for bundled utilities
This project (ether-devkit) provides:
- A Standalone CLI Tool (
ether-devkit): Scaffolds new adapters (supporting both subprocess and coroutine tiers), performs static AST & schema validation, validates entire directories of adapters in batch mode, and inspects schemas/wordlists. - An Agent Skill (
SKILL.md): Designed for AI coding assistants (Antigravity, Claude Code, Cursor, Codex, Gemini) to author deep, RFC-grade tool adapters strictly obeying Ether invariants.
Install directly with pipx (recommended) or pip:
# With pipx (recommended for standalone CLI usage):
pipx install git+https://github.com/h45sh/ether-devkit.git
# Or with pip:
pip install git+https://github.com/h45sh/ether-devkit.git
# Or clone and install locally in editable mode:
git clone https://github.com/h45sh/ether-devkit.git
cd ether-devkit
pip install -e ".[dev]"Requires Python 3.11+ (uses standard library tomllib and ast with zero external runtime dependencies).
Quickly bootstrap an adapter directory, declarative manifest, parser implementation, sample fixture, and hermetic pytest suite:
# Standard Subprocess tool adapter:
ether-devkit new masscan \
--target-dir /path/to/ether \
--category "Network Reconnaissance" \
--categories network portscan recon \
--accepts network.netblock network.host \
--produces network.service \
--target-flag "-p"
# Pure-Python Coroutine tool adapter (zero binary):
ether-devkit new custom_probe \
--target-dir /path/to/ether \
--tier coroutine \
--category "Web Reconnaissance" \
--categories web recon \
--accepts web.endpoint \
--produces web.technologyFiles generated:
tools/<tool_name>/__init__.pytools/<tool_name>/manifest.tomltools/<tool_name>/adapter.pytests/fixtures/mock_tools/<tool_name>.txttests/unit/test_parsers/test_<tool_name>_parser.py
# Validate a specific tool directory
ether-devkit validate /path/to/ether/tools/nmap
# Validate a single manifest.toml file
ether-devkit validate /path/to/ether/tools/nmap/manifest.tomlValidate an entire collection of tool plugins in one shot (automatically skipping hidden or __pycache__ directories):
ether-devkit validate /path/to/ether/toolsSample output:
[*] Running batch validation across 12 candidate tool adapter(s) in: /path/to/ether/tools
================================================================================
Tool Adapter | Status | Errors | Warnings
--------------------------------------------------------------------------------
dnspython | PASS | 0 | 0
ffuf | PASS | 0 | 0
gobuster | PASS | 0 | 0
http_probe | PASS | 0 | 0
netexec | PASS | 0 | 0
nikto | PASS | 0 | 0
nmap | PASS | 0 | 0
nuclei | PASS | 0 | 0
searchsploit | PASS | 0 | 0
sqlmap | PASS | 0 | 0
subfinder | PASS | 0 | 0
whois | PASS | 0 | 0
--------------------------------------------------------------------------------
Total: 12 | Passed: 12 | Failed: 0
================================================================================
[✓] All adapters in batch strictly passed validation!
Display all 18 valid Ether finding schemas, primary identity keys (PIKs), and parent graph associations:
ether-devkit list-schemasDisplay available centralized wordlist tokens:
ether-devkit list-wordlists- Command Construction Safety:
build_command()must construct and return aList[str]. Never concatenate raw shell strings or passshell=True. Never invokeos.systemorsubprocess.getoutput. - Two Execution Tiers: Native support for Tier A coroutines (
execution_tier = "coroutine") and Tier B subprocesses (execution_tier = "subprocess"). - Non-Zero Exit Code Resilience: Security scanners frequently terminate with exit status 1 or 2 when findings are detected. Adapters must parse stdout and emit findings regardless of the exit code.
- Output Sanitization Hook (
sanitize_output): Strips ASCII art logos (figlet banners), carriage return progress meters (\r), and noisy headers before feeding scan logs to AI agents, conserving LLM prompt tokens. - Primary Identity Keys (PIK): Node IDs are deterministic SHA-256 hashes of
(schema_type + sorted_pik). Parent and child entities auto-wire deterministically in the entity graph. - Hermetic Tests: Every adapter must include unit tests running against raw fixtures in
tests/fixtures/mock_tools/without needing the security binary installed.
Install the skill into your AI coding assistant (Antigravity, Claude Code, Cursor, Windsurf, Codex, Gemini) using one of the single-command options below:
Install globally for all detected coding agents:
npx skills add h45sh/ether-devkit -g -yOr install locally in your current project repository:
npx skills add h45sh/ether-devkit -yDownload SKILL.md directly into the agent skills directory without Node/npm:
# Global agent configuration (~/.agents/skills/ether-devkit/SKILL.md):
curl -sSL --create-dirs https://raw.githubusercontent.com/h45sh/ether-devkit/main/SKILL.md -o ~/.agents/skills/ether-devkit/SKILL.md
# Or local project directory (.agents/skills/ether-devkit/SKILL.md):
curl -sSL --create-dirs https://raw.githubusercontent.com/h45sh/ether-devkit/main/SKILL.md -o .agents/skills/ether-devkit/SKILL.mdAlternatively, copy or link SKILL.md manually to your agent skills directory (~/.agents/skills/ether-devkit/SKILL.md or .agents/skills/ether-devkit/SKILL.md).
Run the hermetic test suite:
pytest tests/MIT © Harshwardhan Patil