How fawad07/nebius-personal-ai works
Nebius Personal AI is a private, voice-driven assistant with an optional hosted Gradio demo. The primary local flow captures speech, gates and transcribes a turn, identifies the speaker and vocal emotion, obtains a mood-aware response or tool action, then synthesizes speech that can be interrupted. The graph also preserves memory, local automation, web search, speaker enrollment, and the public-safe demo. Some connections are documented in the README; source excerpts show orchestration and wiring, but unsampled implementation details are not asserted.
Main entry points: session_manager.py Turn orchestration · agent_core.py Hosted reasoning core · conversation_manager.py Dialogue and routing · registry.py Tool registry
Components 25
Voice input
- Turn orchestration
src/orchestration/session_manager.py - Audio capture
src/audio/input.py - Speech detection
src/audio/vad.py - Whisper transcription
src/stt/stt_service.py - Speaker recognition
src/speaker/speaker_identifier.py - Emotion classification
src/ser/emotion_classifier.py - Speech synthesis
src/tts/system_tts.py - Audio playback
src/audio/output.py
Assistant reasoning
- Dialogue and routing
src/conversation/conversation_manager.py - OpenAI-compatible client
src/llm/llm_client.py
Actions and tools
- Tool registry
src/tools/registry.py - Built-in tools
src/tools/builtins.py - Automation adapter
src/tools/offline_automation.py - Local automation
automation - Web search tool
src/tools/web_search.py
Identity and memory
- Fact memory
src/memory/fact_store.py - Conversation history
src/memory/conversation_store.py - Speaker profiles
src/speaker/speaker_database.py
Runtime surfaces
- Local runner
src/main.py - Voice agent
src/agent/agent.py - Hosted Gradio demo
webapp/app.py - Hosted reasoning core
webapp/agent_core.py
Other components
- User
- Nebius Nemotron
- Tavily API
Connections 29
- User → Audio capture: speaks to
- Local runner → Voice agent: starts
src/main.py - Voice agent → Turn orchestration: configures
src/agent/agent.py - Turn orchestration → Audio capture: captures audio
src/orchestration/session_manager.py - Turn orchestration → Speech detection: checks speech
src/orchestration/session_manager.py - Turn orchestration → Whisper transcription: transcribes
src/orchestration/session_manager.py - Turn orchestration → Speaker recognition: identifies speaker
- Turn orchestration → Emotion classification: classifies emotion
- Turn orchestration → Dialogue and routing: requests response
src/orchestration/session_manager.py - Dialogue and routing → OpenAI-compatible client: requests reasoning
- OpenAI-compatible client → Nebius Nemotron: sends prompt
- Dialogue and routing → Tool registry: dispatches action
src/conversation/conversation_manager.py - Tool registry → Built-in tools: dispatches tools
src/tools/builtins.py - Tool registry → Automation adapter: dispatches tools
src/tools/offline_automation.py - Automation adapter → Local automation: exposes actions
src/tools/offline_automation.py - Tool registry → Web search tool: dispatches search
src/tools/web_search.py - Web search tool → Tavily API: searches
src/tools/web_search.py - Built-in tools → Fact memory: stores facts
- Dialogue and routing → Conversation history: loads and saves history
src/conversation/conversation_manager.py - Voice agent → Speaker profiles: loads and saves profiles
src/agent/agent.py - Turn orchestration → Speech synthesis: synthesizes reply
- Turn orchestration → Audio playback: plays speech
- Audio capture → Turn orchestration: interrupts playback
- User → Hosted Gradio demo: uses demo
- Hosted Gradio demo → Hosted reasoning core: invokes
webapp/app.py - Hosted reasoning core → OpenAI-compatible client: reuses client
webapp/agent_core.py - Hosted reasoning core → Dialogue and routing: creates managers
webapp/agent_core.py - Hosted reasoning core → Tool registry: filters tools
webapp/agent_core.py - Hosted reasoning core → Fact memory: creates memory
webapp/agent_core.py