The Advanced Autonomous AI Coding Agent
The sleek, purple-themed, Claude-style interface featuring our pixel-accurate Nyx mascot.
SPIRAL (Nyx CLI) is a sophisticated, production-grade autonomous AI coding system built for real-world robustness. It moves beyond standard LLM wrappers by featuring an intent-based dual-mode architecture, offering both conversational assistance and autonomous, multi-step execution. With integrated workspace memory, advanced testing systems, and a meticulously crafted UI, Nyx is your ultimate pair-programming companion.
- Dual-Mode Architecture: Seamlessly switch between Agent Mode (for autonomous, multi-step problem solving and iterative loops) and Chat Mode (for quick conversations and intent-based assistance).
- Persistent Workspace Memory: Never lose context. Nyx remembers past interactions, files read, and workspace states, allowing for true stateful problem-solving across development sessions.
- Rigorous Verification Pipeline: Code execution isn't blindly trusted. Our internal verification agents evaluate outcomes, test for failures, and dynamically iterate until the objective is fully met.
- Stunning Aesthetic UI: Designed with a sleek, premium purple-tinted aesthetic inspired by modern interfaces. Enjoy fluid input handling, real-time logging, and pixel-accurate rendering of our mascot, Nyx.
- True Iterative Execution: Instead of single-shot generation, the agent explores, plans, executes, and refines in a continuous, robust feedback loop to eliminate failures before returning control.
Ensure you have Python 3.10 or higher installed.
-
Clone the repository:
git clone https://github.com/sohmxdd/SPIRAL_CLI.git cd SPIRAL_CLI -
Set up a virtual environment (Recommended):
python -m venv .venv # Provide execution policy if required (Windows) .venv\Scripts\activate # Or on Mac/Linux: # source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Environment Setup: Copy the example environment file and configure your keys:
cp .env.example .env
(Add your actual LLM provider APIs inside the newly created
.envfile)
Launch the agent using the included startup script (which handles environment checks securely) or via Python:
# Windows
run.bat
# Standard
python main.pyOnce running, state your objective, and Nyx will autonomously plan, execute, and verify the task for you.
The SPIRAL architecture relies on clearly structured, decoupled components:
core/: Drives the true iterative execution loop and system lifecycle.agents/: Pluggable, specialized sub-agents (Planner, Verifier, Executor) for delegating system tasks.llm/: Handles dynamic and structured communications with large language models.memory/: Disk-backed workspace tracking mechanism that commits context safely to.spiral_memory.json.ui/&mascot/: Controls the interactive terminal user interface, responsive formatting, and sprite rendering.