NEXUS multi-agent orchestration framework with a live Streamlit sandbox
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexus_sandbox-1.0.0.tar.gz.
File metadata
- Download URL: nexus_sandbox-1.0.0.tar.gz
- Upload date:
- Size: 55.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c8ef66b89d22e672d919fbcaeeda7737cccdc969787039d5270e4eb25c7dee4
|
|
| MD5 |
c9e67e9f14d896968e09e17d065d9bc5
|
|
| BLAKE2b-256 |
a6bd41a7c2fd8cabf58883b3627f2da489ca1f86e05566c38c9828ce3502e4da
|
File details
Details for the file nexus_sandbox-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nexus_sandbox-1.0.0-py3-none-any.whl
- Upload date:
- Size: 75.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
791ad227b7f2beaaffb88975965924556d71cb98f24b74c981bd40a2d0931407
|
|
| MD5 |
58f3447ee8d5424085ce0208c8054103
|
|
| BLAKE2b-256 |
63660ba52bbd8d400f35e0ff5cad04a0d9eb3d2f937b6aa0a1a8957661ed2a8b
|