NEXUS AI
NEXUS (Neural Execution with Unified Cross-Adaptive State) is a Python multi-agent orchestration framework with a live Streamlit sandbox.
This repository includes:
- A production-oriented NEXUS runtime and modular architecture
- Local-provider-first Streamlit sandbox with two-pane UI
- Incremental visual telemetry while workflows run
Author: Manushri Bhuyan
Sandbox Overview
The sandbox is designed as a ChatGPT-like interface with a split screen:
- Left pane: agent chat
- Right pane: live visualization dashboard
The sandbox runs an end-to-end NEXUS workflow for each query and incrementally updates:
- Dynamic graph progression (plan -> research -> synthesize)
- Token economy metrics
- Fluid state mesh indicators
- Tool usage timeline
- Multiple unique plots
Local LLM Requirement
The sandbox is configured for local llama-server usage on localhost:8080.
Example server command:
D:\llama_bin\llama-server.exe \
-m D:\models\qwen2.5-3b\qwen2.5-3b-instruct-q4_k_m.gguf \
--host 0.0.0.0 \
--port 8080 \
-c 8192 \
-n 2048 \
-t 4
The sandbox expects OpenAI-compatible endpoints and supports:
- /chat/completions and /v1/chat/completions
- /models and /v1/models
Install
pip install -e .
or for distribution build:
python -m build
Run Sandbox
After install, launch with:
nexus-sandbox
This command opens the Streamlit sandbox app.
Visualizations Included
The right pane updates incrementally with:
- Main live evolution plot (cumulative/hot tokens over workflow steps)
- Runtime radar profile
- State/economy heatmap
- Node duration timeline
- Execution graph view
- Token/workload sunburst
End-to-End Workflow in Sandbox
Each query executes through NEXUS components:
- Budget allocation
- Dynamic graph construction
- Agent role assignment setup
- Tool-assisted research (web search + URL fetch)
- LLM planning, research synthesis, final synthesis
- Token accounting
- Fluid mesh writes + eviction cycle
- Deduplication check
- Checkpoint writing
- Audit/tracing updates
Packaging Notes
- Project metadata is configured in pyproject.toml
- Console script entrypoint: nexus-sandbox
- Package discovery includes nexus* modules
- README is set as long description source
Important
This sandbox is local-first and intended to use your local Qwen model via llama-server. If the local server is unavailable, requests will fail fast with provider connection errors.
Metadata
Release files for nexus-sandbox 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nexus_sandbox-1.0.0.tar.gz | 55.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nexus_sandbox-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.6 kB
Release files / nexus_sandbox-1.0.0.tar.gz
| Download URL | nexus_sandbox-1.0.0.tar.gz |
|---|---|
| Size | 55.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c8ef66b89d22e672d919fbcaeeda7737cccdc969787039d5270e4eb25c7dee4
|
|
BLAKE2b-256 checksum How to use checksums |
a6bd41a7c2fd8cabf58883b3627f2da489ca1f86e05566c38c9828ce3502e4da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / nexus_sandbox-1.0.0-py3-none-any.whl
| Download URL | nexus_sandbox-1.0.0-py3-none-any.whl |
|---|---|
| Size | 75.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791ad227b7f2beaaffb88975965924556d71cb98f24b74c981bd40a2d0931407
|
|
BLAKE2b-256 checksum How to use checksums |
63660ba52bbd8d400f35e0ff5cad04a0d9eb3d2f937b6aa0a1a8957661ed2a8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|