Files
cosmo-voice-assistant/run_mac.sh
d.klimov 6010816f1d Initial commit: Cosmo voice assistant
Полностью локальный голосовой ассистент на Python.

Стек:
- Wake word: openWakeWord (onnxruntime)
- STT: RealtimeSTT + faster-whisper + Silero VAD (CUDA)
- LLM-агент: smolagents ToolCallingAgent + Ollama qwen2.5:7b
- TTS: Silero V4 (torch.hub) + sounddevice
- Shell: Git Bash (Windows) / bash (macOS)

Поддерживает Windows и macOS. Агент с памятью и tool calling —
находит программы самостоятельно, запоминает пути, выполняет
произвольные shell-команды.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 15:58:12 +03:00

15 lines
383 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
# Проверяем что Ollama запущен
if ! curl -s http://localhost:11434 &>/dev/null; then
echo "Ollama не запущен. Запускаю..."
ollama serve &>/dev/null &
sleep 2
fi
# Запускаем с Mac-конфигом
COSMO_PLATFORM=mac python3 cosmo/main.py --config config/config_mac.yaml "$@"