Skip to main content

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:

  1. Budget allocation
  2. Dynamic graph construction
  3. Agent role assignment setup
  4. Tool-assisted research (web search + URL fetch)
  5. LLM planning, research synthesis, final synthesis
  6. Token accounting
  7. Fluid mesh writes + eviction cycle
  8. Deduplication check
  9. Checkpoint writing
  10. 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


Download files

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

Source Distribution

nexus_sandbox-1.0.0.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

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

nexus_sandbox-1.0.0-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

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

Hashes for nexus_sandbox-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4c8ef66b89d22e672d919fbcaeeda7737cccdc969787039d5270e4eb25c7dee4
MD5 c9e67e9f14d896968e09e17d065d9bc5
BLAKE2b-256 a6bd41a7c2fd8cabf58883b3627f2da489ca1f86e05566c38c9828ce3502e4da

See more details on using hashes here.

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

Hashes for nexus_sandbox-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 791ad227b7f2beaaffb88975965924556d71cb98f24b74c981bd40a2d0931407
MD5 58f3447ee8d5424085ce0208c8054103
BLAKE2b-256 63660ba52bbd8d400f35e0ff5cad04a0d9eb3d2f937b6aa0a1a8957661ed2a8b

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 Pingdom Monitoring Sentry Error logging StatusPage Status page