This release is a pre-release and may not be stable for production use.
DifferiX
The Deterministic, Local-First OS for Autonomous AI Agents.
DifferiX is an open, model-agnostic multi-agent runtime. It doesn't just let LLMs write code; it forces them to write verified, executable code inside a deterministic Python shell.
Most "autonomous agents" fail because they hallucinate success and loop endlessly. DifferiX solves this with Zero Trust Architecture, Tiered Context Assembly, and a Local Experience Engine.
🧠 Core Architectural Patterns
- Zero Trust to Agent: A stochastic LLM is never trusted with state mutation. Success is verified by compilers, ASTs, and fs-hashes, not by the agent's words.
- Probabilistic in a Deterministic Shell: The LLM acts purely as a translator. Python scripts act as the supreme judge, sandbox, and state machine.
- Scarcity by Design (TCA): Artificial token budgets force the LLM to focus on surgical context (reducing input tokens by 80%).
- Evolutionary Memory (A-Score): Experience is stored as abstract math. Unhelpful lessons fade out; helpful ones propagate without retraining the LLM.
✨ Features
- Verification Firewall: Blocks agents from faking success. If the file on disk didn't change, the patch is rejected.
- Behavior Guard: Detects prompt-context bloat and repeated actions in real-time. Kills the loop before it burns your API budget.
- Tiered Context Assembly (TCA): Waterfall token budgeting. AST-slicing for Python, Class Inventory extraction for CSS.
- Dynamic Skill Injection: The Researcher analyzes the task and injects only the relevant skills (e.g.,
style_brutalistorstyle_3d_webgl). - Recursive Self-Improvement (RSI): The framework can safely modify its own source code, protected by a critical-file gate.
- Model Agnostic: Works with OpenRouter, Anthropic, Google, or local Ollama models.
🚀 Quick Start
# Clone the repository
git clone https://github.com/Tdahqu8/DifferiX.git
cd DifferiX
# Setup environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Add your API key
cp .env.example .env
# Edit .env and add OPENROUTER_API_KEY=sk-or-v1-...
# Run DifferiX
export VEGEX_RSI_MODE=1
python main.py
🎨 Showcase (WebDev Pro Plugin)
DifferiX dynamically injects design skills to generate production-ready UIs.
"Create a portfolio landing page for a Web3 graffiti artist. Make it look raw and bold." — Generated in 4 cycles using the
style_brutalistskill.
🏗️ Architecture
[ User ] <--> [ LLM Interpreter ]
|
+--------------+--------------+
| |
[ Symbolic Verifier ] [ Experience Engine ]
(Python / AST / Compilers) (A-Score / SQLite / Math)
| |
+--------------+--------------+
|
[ Verified Code ]
🔌 Ecosystem & Plugins
DifferiX supports .differixplugin files. Install plugins to give agents new superpowers (WebDev, EdTech, Crypto Auditing).
Note: Executable code is strictly forbidden inside plugins to prevent RCE. Plugins are data-only (
.md,.json,.css).
# Install the official WebDev Pro plugin
differix plugin install https://github.com/Tdahqu8/DifferiX/releases/download/v0.1.0-alpha/webdev_pro.differixplugin
📜 License
MIT License. Build, fork, and create.
Metadata
Release files for differix 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| differix-0.1.0a1.tar.gz | 191.0 kB | Without provenance | Details for differix-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| differix-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for differix-0.1.0a1-py3-none-any.whl |
Total release size: 399.8 kB
Release files / differix-0.1.0a1.tar.gz
| Download URL | differix-0.1.0a1.tar.gz |
|---|---|
| Size | 191.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25214ae51a664287c785c5ab0525ea57dbdec95c4875eb98f6d577f1a23c91c8
|
|
BLAKE2b-256 checksum How to use checksums |
bf1d5d6bec03577b688356c7f2398798e25b2a65bc5de49a5b9db017762f5c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / differix-0.1.0a1-py3-none-any.whl
| Download URL | differix-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 208.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d08dac899d0382ccdd6645807d6db9ef30e9f17bad2419dff0ce2c88f109eb92
|
|
BLAKE2b-256 checksum How to use checksums |
073a8764114da5febe839eacf96fd8a1ab84eb90e629c26a469797d7d83fe3fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for differix 0.1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.