Skip to main content

๐Ÿ›ก๏ธ AETHER-CYBERAGENT

Autonomous Multi-Agent AI Security Platform & Terminal Co-Pilot

Python Gemini License SARIF Docker

Deterministic Computer Science ร— Probabilistic AI

AST Parsing ยท Graph Theory ยท Formal Logic ยท Google Gemini ยท Self-Healing Loops ยท Interactive REPL

Getting Started ยท Architecture ยท Usage ยท Dashboard ยท Contributing


๐Ÿงฌ What is Aether-CyberAgent?

Aether-CyberAgent is an elite, autonomous, multi-agent AI security platform and terminal co-pilot. It fuses deterministic computer science (AST parsing, graph theory, formal logic) with probabilistic AI (Google Gemini function calling) to create a self-healing, autonomic software engine.

Version 0.2.0 introduces the Antigravity Interactive Agent REPL, transforming Aether from a CLI scanner into a full autonomous software developer and security team co-pilot that can converse, write scripts, execute terminal commands, and self-correct when errors occur.

โœจ Key Features (v0.2.0)

  • ๐Ÿ’ฌ Interactive Agent REPL โ€” Converse with Aether dynamically in a rich terminal interface.
  • ๐Ÿ› ๏ธ Autonomous Tool Execution โ€” Aether can read/write files and execute shell scripts safely.
  • ๐Ÿ”„ Self-Correction Loop โ€” If a script fails, the Gold Team intercepts the stderr and feeds it back to the Yellow Team for autonomous auto-fixing (up to 3 retries).
  • ๐Ÿ” Deterministic Vulnerability Detection โ€” Python AST-based scanning, not regex guessing.
  • ๐Ÿง  AI-Powered Remediation โ€” Google Gemini generates type-annotated, secure code patches.
  • ๐Ÿ“ Mathematical Verification โ€” Z3 SMT Solver proves correctness, Hypothesis fuzzes edge cases.
  • ๐Ÿ“Š Live Dashboard โ€” Real-time Streamlit visualization of the security pipeline.
  • ๐Ÿ“‹ SARIF v2.1.0 Reports โ€” Native GitHub Security tab integration.

๐Ÿ›๏ธ Architecture

Aether-CyberAgent implements a defensive Cybersecurity Team Spectrum model. Each agent maps to a distinct security role โ€” there are no offensive components. This is a pure defensive, self-correcting system.

The Team Spectrum

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     ๐Ÿฅ‡ GOLD TEAM (Orchestrator)                      โ”‚
โ”‚              Autonomic Self-Healing Loop ยท Max 3 Retries             โ”‚
โ”‚                                                                      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ ๐Ÿ”ต BLUE    โ”‚โ”€โ”€โ–ถโ”‚ ๐ŸŸก YELLOW  โ”‚โ”€โ”€โ–ถโ”‚ ๐ŸŸฃ PURPLE  โ”‚โ”€โ”€โ–ถโ”‚ ๐ŸŸข GREEN   โ”‚  โ”‚
โ”‚  โ”‚ AST Audit  โ”‚   โ”‚ AI Patch   โ”‚   โ”‚ Z3 Verify  โ”‚   โ”‚ Tool Run   โ”‚  โ”‚
โ”‚  โ”‚ + GraphRAG โ”‚   โ”‚ + Scripts  โ”‚   โ”‚ + Hypothes โ”‚   โ”‚ + Sandbox  โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚                         โ”‚                 โ”‚                 โ”‚         โ”‚
โ”‚                         โ”‚    โŒ FAIL      โ”‚                 โ”‚         โ”‚
โ”‚                         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                 โ”‚         โ”‚
โ”‚                                                             โ–ผ         โ”‚
โ”‚                                                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚                                                     โ”‚ โšช WHITE   โ”‚   โ”‚
โ”‚                                                     โ”‚ SARIF v2.1 โ”‚   โ”‚
โ”‚                                                     โ”‚ + Reports  โ”‚   โ”‚
โ”‚                                                     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
Team Role Mechanism
๐Ÿ”ต Blue Team Static Auditor Parses Python ASTs to find deterministic vulnerabilities (SQL injection, insecure deserialization, dangerous eval/exec). Calculates blast radius via NetworkX.
๐ŸŸก Yellow Team Autonomous Developer Integrates with Google Gemini via function calling. Generates scripts, patches code, and invokes read/write/shell tools autonomously.
๐ŸŸฃ Purple Team Formal Verification Verifies patches mathematically. Z3 SMT Solver checks variable bounds and logic constraints. Hypothesis generates property-based boundary tests.
๐Ÿฅ‡ Gold Team Autonomic Orchestrator If Purple Team verification or Green Team script execution fails, Gold Team intercepts the failure trace, updates context, and retries Yellow Team.
๐ŸŸข Green Team Tool Execution Engine Executes scripts and shell commands in isolated sandboxes with strict timeouts.
โšช White Team Governance & Reporting Formats verified patches into SARIF v2.1.0 JSON logs for CI/CD ingestion.

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.11+
  • Docker (running daemon, for sandbox execution)
  • Google Gemini API Key (Get one free)

Installation

# Clone the repository
git clone https://github.com/mrx231066/Aether-CyberAgent.git
cd Aether-CyberAgent

# Install the CLI package
pip install -e .

๐Ÿ’ก Usage

Launch Interactive Agent REPL (New in v0.2.0)

Simply type aether to launch the Antigravity Interactive Agent REPL. It will dynamically discover available Gemini models and prompt for your API key if not configured.

aether

Supported Slash Commands:

  • /help โ€” Displays interactive command matrix & agent team status.
  • /scan [path] โ€” Executes full background multi-agent security scan.
  • /model โ€” Opens interactive model switcher menu.
  • /auth โ€” Updates stored API key/config.
  • /status โ€” Displays dependency graph metrics & memory state.
  • /run <script> โ€” Safely runs a script in the execution sandbox.
  • /clear โ€” Clears terminal output.
  • /exit or /quit โ€” Closes REPL session.

Autonomous Script Execution & Self-Correction: If you ask Aether to write a script in the chat, it will generate it, write it to disk, and execute it. If it fails, the Gold Team intercepts the traceback and auto-fixes the code up to 3 times!

Run a Standalone Security Scan

# Scan the current directory
aether scan .

# Scan a specific path
aether scan ./src/my_project

Launch the Visual Dashboard

# Start the Streamlit real-time dashboard
aether dashboard

Verify a Specific File

# Run formal verification on a specific file patch
aether verify ./src/module.py

๐Ÿ“ Project Structure (v0.2.0)

aether-cyberagent/
โ”œโ”€โ”€ aether/
โ”‚   โ”œโ”€โ”€ ai/
โ”‚   โ”‚   โ””โ”€โ”€ gemini_client.py       # Dynamic model discovery & Structured Output
โ”‚   โ”œโ”€โ”€ agents/
โ”‚   โ”‚   โ”œโ”€โ”€ blue_auditor.py        # Static AST parser
โ”‚   โ”‚   โ”œโ”€โ”€ yellow_patcher.py      # Refactoring & script generator agent
โ”‚   โ”‚   โ”œโ”€โ”€ purple_verifier.py     # Z3 formal logic & property testing
โ”‚   โ”‚   โ””โ”€โ”€ gold_autonomic.py      # Self-correction execution loop
โ”‚   โ”œโ”€โ”€ engine/
โ”‚   โ”‚   โ”œโ”€โ”€ graph_memory.py        # NetworkX repository dependency graph
โ”‚   โ”‚   โ”œโ”€โ”€ sandbox.py             # Docker runner
โ”‚   โ”‚   โ””โ”€โ”€ tools.py               # Autonomous tool execution engine (read/write/shell)
โ”‚   โ”œโ”€โ”€ reports/
โ”‚   โ”‚   โ””โ”€โ”€ sarif.py               # White team SARIF v2.1.0 exporter
โ”‚   โ”œโ”€โ”€ dashboard/
โ”‚   โ”‚   โ””โ”€โ”€ app.py                 # Streamlit visualizer
โ”‚   โ””โ”€โ”€ cli/
โ”‚       โ”œโ”€โ”€ main.py                # Typer CLI entrypoint
โ”‚       โ””โ”€โ”€ interactive.py         # Antigravity Interactive REPL & Slash Commands
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ test_full_pipeline.py      # Scan pipeline tests
โ”‚   โ””โ”€โ”€ test_interactive_repl.py   # REPL & tool engine tests
โ”œโ”€โ”€ pyproject.toml                 # Package configuration
โ””โ”€โ”€ README.md                      # Documentation

๐Ÿค Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.


Built with ๐Ÿ›ก๏ธ by the Aether Security Team

Deterministic Defense. Probabilistic Intelligence. Autonomous Resilience.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aether_cyberagent-1.0.0.tar.gz (54.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aether_cyberagent-1.0.0-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file aether_cyberagent-1.0.0.tar.gz.

File metadata

  • Download URL: aether_cyberagent-1.0.0.tar.gz
  • Upload date:
  • Size: 54.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for aether_cyberagent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d6f8a572f0220725eeb450002e88db7dcf526c5e6b380d25f0239c356168069e
MD5 ea6763962f4dc1e9d875c937ea7202f3
BLAKE2b-256 089b5f13a4c35cdc509b8e519bccb7c4f88e7875dc6bdd1778a5c82cd848c2a1

See more details on using hashes here.

File details

Details for the file aether_cyberagent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aether_cyberagent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e9d23d4fbfa2893aaa9b99b0f9de81b667677e7cd2c0c7d84b1e2f1005ffe0c
MD5 1eb50a5fd827f42b2b9b2d52be6a1104
BLAKE2b-256 c338d4e993edea311e30d5d986b668d3c5b5a79c0d426b79af56c08502e2cb06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page