Skip to main content

Nexus

Enterprise-ready agent framework. Describe agents in config. Wire who is calling and where data lives at run time. Call run().

No global LLM settings. No shared agent singleton. Built for multi-tenant SaaS apps.

Beta — under active development. See NEXUS_AGENT_PRD.md for the design spec.

Why Nexus?

  • SaaS-native — tenant, user, API keys, and storage passed per request
  • Context-first (RCS) — compresses old tool results inline; no extra LLM calls
  • Config-driven — YAML manifests for teams; Python for wiring and tools
  • Provider-agnostic — bring your own model; pluggable storage
  • Voice — gRPC media servers + WebSocket browser UI on the same agent core

Install

Published on PyPI as nexus-enterprise-agent. Import as nexus.

pip install nexus-enterprise-agent
# or
uv add nexus-enterprise-agent
Extra Adds
sqlite, postgres, redis, file Storage adapters
openai, anthropic, gemini, litellm, groq, ollama LLM clients
fastapi FastAPI + WebSocket helpers
realtime Voice transports (websockets, httpx)
grpc gRPC client for media servers
server GPU media server engines (torch, transformers)
moshi Speech-to-speech client (Moshi/Human-1)
pip install "nexus-enterprise-agent[sqlite,litellm,fastapi,realtime,grpc]"

Contributors:

git clone https://github.com/gowrav-vishwakarma/nexus-enterprise-agent.git
cd nexus-enterprise-agent
uv sync --extra sqlite --extra file
cp .env.example .env   # set your LLM API key

Text agents (YAML)

Three files: manifest, prompts module, short runner script.

uv run python examples/orchestration/run_team.py "Analyze Q4 revenue"

Python API (same agents, built in code):

from nexus import AgentRunner, RunContext
result = await AgentRunner(config=agent_config, tool_registry=registry, run_context=ctx).run("Hello")

Walkthrough: docs/getting-started.md (YAML) · docs/getting-started-python.md (Python)


Voice agents (gRPC + Voice Lab)

Cascaded voice: VAD → STT → LLM → TTS over gRPC media servers. Browser connects via WebSocket.

./scripts/run_voice_lab.sh

Opens http://localhost:8787 — allow microphone, click the mic button.

Python API (same manifest, custom transport):

from nexus.realtime.runtime import RealtimeRuntime
from nexus.realtime import RealtimeSession
from nexus.realtime.transport.websocket import WebSocketTransport

runtime = RealtimeRuntime.from_manifest(manifest, run_context=ctx)
pipeline = runtime.build_pipeline("voice_grpc")
session = RealtimeSession(pipeline, WebSocketTransport(websocket), session_id=sid)
await session.run_audio()

Guide: docs/guides/voice-lab.md · docs/guides/model-servers.md


Learn more

Full docs: docs/index.md

Topic Doc
Architecture docs/architecture.md
YAML walkthrough docs/getting-started.md
Python API docs/getting-started-python.md
Voice Lab docs/guides/voice-lab.md
gRPC media servers docs/guides/model-servers.md
Pipelines (text, voice, teams) docs/guides/pipelines.md
Voice / channels reference docs/reference/realtime-agents.md
SaaS example docs/guides/saas-example.md
All examples docs/examples.md

Metadata

Release files for nexus-enterprise-agent 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nexus-enterprise-agent 0.4.2
File Size Uploaded Provenance Actions
nexus_enterprise_agent-0.4.2.tar.gz 780.5 kB Without provenance Details for nexus_enterprise_agent-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nexus-enterprise-agent 0.4.2
File Interpreter ABI Platform Actions
nexus_enterprise_agent-0.4.2-py3-none-any.whl Python 3 none any Details for nexus_enterprise_agent-0.4.2-py3-none-any.whl

Total release size: 1.1 MB

Release files / nexus_enterprise_agent-0.4.2.tar.gz

Download URL nexus_enterprise_agent-0.4.2.tar.gz
Size 780.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5f33879025b0ca3d774961e85143ebe87af8bb61f8f92460d92774c98254068
BLAKE2b-256 checksum
How to use checksums
04441e141db8b0833ba7b6b420bfc0e0a6e07f2d9dfb0cd051c502e1416687ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / nexus_enterprise_agent-0.4.2-py3-none-any.whl

Download URL nexus_enterprise_agent-0.4.2-py3-none-any.whl
Size 307.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf5110d27465368d4b64db30ca573bb224a4be10a15887d317753b87163798d5
BLAKE2b-256 checksum
How to use checksums
e55bd8724a4dccb73bc5f1c2370a1c89a6d7fb029f5e10f1c55700a992cb56cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for nexus-enterprise-agent 0.4.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page