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.3

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.3
File Size Uploaded Provenance Actions
nexus_enterprise_agent-0.4.3.tar.gz 784.9 kB Without provenance Details for nexus_enterprise_agent-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / nexus_enterprise_agent-0.4.3.tar.gz

Download URL nexus_enterprise_agent-0.4.3.tar.gz
Size 784.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bc8f3a752ad67c9042c20c39c9d4695c1ba8b2ea30c94b77be521f38459dad75
BLAKE2b-256 checksum
How to use checksums
43aaa0099b587d65a3dbe66b5ce0b45d01931faa3e222d646c29ecac86eaf50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

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

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

Security for nexus-enterprise-agent 0.4.3

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