AIVtuberBrain (brain.py)

projectBEA · voice, agent-orchestration, composition-root, tts-integration, obs-integration, ai

Composition root orchestrating perception, consciousness, skill surfaces, and output interfaces (TTS/STT/OBS) for an AI vtuber system.

# Source: https://github.com/emqnuele/projectBEA | License: MIT | Copyright 2026 Emanuele Faraci
# Provided via justclaw.it.com; keep this notice with the code.
import asyncio
from typing import Tuple, Optional
from src.interfaces.base_interfaces import TTSInterface, OBSInterface, STTInterface
from src.core.config import BrainConfig
from src.core.resources import load_avatar_resources
from src.utils.history_manager import HistoryManager
from src.core.events import EventManager
from src.core.expression import Expression
from src.core.perception.bus import PerceptionBus
from src.core.skills.base import SkillRegistry
from src.core.skills.chat import ChatSurface
from src.core.skills.voice.surface import VoiceSurface
from src.core.skills.idle import IdleSurface
from src.core.skills.minecraft.su

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key