Skip to content

Sean504/Atlas_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Atlas AI Assistant ๐Ÿค–

Local voice & text AI assistant powered by Ollama and Vosk

License: MIT

โœจ Features

๐ŸŽฏ Core Features

  • ๐Ÿ—ฃ๏ธ Voice & text interaction modes
  • ๐Ÿค– Local AI processing (no cloud required)
  • ๐Ÿ’ป Code generation (Python, JS, HTML)
  • ๐Ÿ”ง System tools & file operations
  • ๐Ÿ“Š Visual feedback via ST7789 display

๐Ÿ› ๏ธ Technical Features

  • ๐ŸŽค Wake word detection with fuzzy matching
  • ๐Ÿ”Š Multi-device audio support
  • ๐Ÿง  Ollama model selection
  • ๐Ÿ“ Conversation logging
  • โšก Real-time command processing

โš™๏ธ Installation

๐Ÿ“‹ Prerequisites

  • ๐Ÿ–ฅ๏ธ Raspberry Pi/Linux system
  • ๐Ÿ Python 3.8+
  • ๐ŸŽค Microphone (voice mode)
  • ๐Ÿ”Š Speaker (voice mode)
  • ๐Ÿ“บ ST7789 display (optional)

๐Ÿ“ฅ Quick Install

git clone https://github.com/Sean504/Atlas-bot
cd Atlas-bot
chmod +x install.sh
./install.sh
source atlas_env/bin/activate
๐Ÿ”Œ Hardware Setup
bashCopy# Audio Devices
arecord -l   # List inputs
aplay -l     # List outputs

# Display (ST7789)
VCC โ†’ 3.3V
GND โ†’ Ground
DIN โ†’ MOSI
CLK โ†’ SCLK
CS  โ†’ CE0
DC  โ†’ GPIO9
RST โ†’ GPIO25
BL  โ†’ GPIO13
๐Ÿ“ฑ Usage
๐Ÿš€ Getting Started

Launch Atlas: python atlas.py
Select mode:
1: Voice Input ๐ŸŽค
2: Terminal Input โŒจ๏ธ

Choose AI model:
CopyAvailable models:
0: smollm2:1.7b


Configure audio devices (voice mode)

๐Ÿ’ฌ Commands
๐Ÿ—ฃ๏ธ Voice Mode

Wake word: "Hey Atlas"
Wait for green display
Speak command
3-second pause triggers processing

โŒจ๏ธ Terminal Mode
bashCopyAtlas Terminal Mode
Type 'exit' to quit

You: generate python calculator
๐Ÿ“ Available Commands
TypeCommandExample๐Ÿ’ป Codegenerate/create"generate python calculator"๐Ÿ“ Fileswrite/read"write hello to file.txt"๐Ÿ”ง Systemrun/execute"run ls -la"๐Ÿงฎ Mathcalculate"calculate 2 + 2"โฐ Timetime/date"what's the time?"
๐Ÿ”ง Troubleshooting

๐ŸŽค Audio Issues

bashCopy# Check devices

arecord -l
aplay -l

# Test recording

arecord -d 5 test.wav
aplay test.wav

# Permissions

groups | grep audio
sudo usermod -a -G audio $USER

๐Ÿค– Model Issues

bashCopy# Check Ollama
ollama list
ls ~/.ollama/models

# Reinstall models

ollama pull smollm2:360m

๐Ÿ“บ Display Issues

bashCopy# Enable SPI
sudo raspi-config

# Check module

lsmod | grep spi
๐Ÿ“š Resources




Made with โค๏ธ using Ollama & Vosk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors