# Repository Briefing: Lynpoint/CyberVerse
> Source: https://repoforai.com/repo/Lynpoint/CyberVerse (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Lynpoint/CyberVerse
- **Official Docs / Website**: https://www.cyberverse.cc
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: GPL-3.0
- **Engineering Health**: A (81/100 · Maintenance 35/35 · Adoption 21/25 · Releases 14/20 · License 11/20)
- **Latest Release**: v0.1.0 (2026-05-16) — https://github.com/Lynpoint/CyberVerse/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, GPU, API
- **Momentum**: 2,126 ★ total (+5 24h / +36 7d) · 404 forks
- **Topics**: `ai-agents`, `ai-companion`, `digital-human`, `digital-life`, `jarvis-assistant`, `lip-sync`, `streaming`, `talking-avatar`, `talking-head`, `voice-agent`, `voice-assistant`, `webrtc`
- **When to Use**: Best for: Teams building voice-first character agents that need interruptible conversation, per-character knowledge, and a choice of voice-only, local avatar, or cloud avatar deployment. Skip if: You only need basic speech input and output, want a managed application without a multi-service stack, or require a fully offline deployment without validating each model and speech component.

## Overview
```text
### Architecture & Core Mechanics
CyberVerse separates the browser frontend (`frontend/`), Go API (`server/`), and Python inference service (`inference/`). WebRTC carries the live conversation, and gRPC bindings are generated during setup for the backend services. Foreground PersonaAgent handles conversational turns, interruptions, and context switches; it delegates longer jobs to asynchronous SubAgents and can return their results while the conversation continues.

The inference stack treats speech recognition, language models, synthesis, tools, memory, and avatar rendering as replaceable components. Runtime settings live in `config/cyberverse.yaml`, with built-in model definitions under `infra/config/*_models/` and optional local overrides under `config/*_models/`. The Python package requires NumPy, Pydantic, and PyYAML at its core. Optional groups add gRPC, OpenAI clients, WebSocket-based voice integrations, LiteLLM, and LangChain packages for retrieval, so the dependency footprint depends on the chosen path.

### Key Capabilities & Differentiators
The application combines interruptible, full-duplex voice interaction with persistent character context. Each character's conversation history is stored on local disk and restored on return; imported documents and biographies are indexed for retrieval-augmented generation. The provider surface includes Qwen, Doubao, OpenAI-compatible services, and a LiteLLM adapter. Local options include Ollama for language inference, Whisper or a separately running FunASR service for recognition, and Windows SAPI or a separately running CosyVoice service for synthesis.

Video can be added without making local rendering a requirement for voice sessions. Example local configurations include FlashHead 1.3B at 512×512 and 25+ FPS on two RTX 5090 cards, and LiveAct 18B at 320×480 and 20 FPS on two RTX PRO 6000 cards. These are model rendering rates at specified settings, not end-to-end response benchmarks. Cloud options include Vidu S1, Baidu Xiling, and Xunfei Digital Human. Xiling is selected per character: CyberVerse retains conversation orchestration, and the browser feeds 16 kHz, 16-bit mono PCM to the Xiling H5 iframe rather than sending it to a local avatar inference model.

### Trade-offs & Limitations
The main reason to choose CyberVerse over a minimal voice-agent stack is that character memory, retrieval, task delegation, and video live in one application. If the product only needs speech in and speech out, a smaller pipeline avoids the overhead of operating a browser frontend, Go API, Python inference service, and several provider configurations. A managed avatar API removes the local rendering GPU requirement, but introduces vendor credentials, network and service dependencies, and provider-specific configuration. Self-hosting the application does not make a session offline if configured providers still handle speech, model inference, embeddings, or video remotely.

For local video, resolution, FPS, and concurrent sessions need to be sized together rather than inferred from parameter count or single-card reference figures. A useful diagnostic is the chunk-level real-time performance factor: generation time divided by playback duration. Sustained values above 1 mean the renderer cannot keep up at the current settings. For commercial distribution, assess GPL-3.0 obligations separately from model weights, cloud terms, and rights to character images and voices; the demo characters are not commercial assets.

### Hardware & Deployment Guide
Start with voice-only mode to validate WebRTC and the selected providers before provisioning a GPU. The local setup calls for Python 3.10+, Node 18+, Go 1.25 with Go protobuf/gRPC generators, Conda, FFmpeg, pkg-config, and the Opus, Opusfile, and SoXR development libraries. Copy `infra/config` to `config`, add credentials where required in `config/env`, and set `inference.avatar.enabled: false`. `make setup` installs the base development and inference extras, generates gRPC stubs, and installs frontend dependencies; add the extras required by the chosen voice providers. Start `make inference`, `make server`, and `make frontend` separately, then check `http://localhost:8080/api/v1/health` and open `http://localhost:5173`.

For local video, provision a CUDA 12.8+ GPU environment, PyTorch 2.8 with CUDA 12.8, FFmpeg with `libvpx`, and the selected checkpoint and audio feature extractor. LiveAct additionally calls for `vllm==0.11.0`. Enable avatar inference, select `flash_head` or `live_act`, and point the corresponding file under `config/avatar_models/` at the local checkpoints. Prebuilt cloud images are another deployment option. The release listing records v0.1.0 on 2026-05-16 but does not enumerate changes, so it does not establish an upgrade or compatibility history.
```

## Key Capabilities
```text
- Transport: WebRTC supports full-duplex conversation and interruptions.
- Task execution: PersonaAgent handles live turns while SubAgents perform research, summarization, or HTML report generation asynchronously.
- Character context: Conversation history persists to local disk; imported documents and biographies are indexed for per-character RAG.
- Provider configuration: `/settings` and YAML definitions support provider selection, with a LiteLLM adapter for broader LLM coverage.
- Avatar rendering: Local FlashHead and LiveAct share the Python inference deployment; Baidu Xiling renders through a browser-hosted H5 iframe.
- Performance diagnosis: The chunk-level real-time performance factor compares generation time with playback duration; values above 1 indicate that generation is falling behind.
```

## Quick Start / Clone
```bash
node --version
go version
protoc --version
ffmpeg -version
conda --version
```
