About • Features • Applications • Quick Start • Developer Guide • Community • Contributors • License
Project J.A.I.son is a fully customizable AI companion server designed for streaming, private companionship, or building interactive AI applications. Run it entirely locally or leverage cloud services—the choice is yours.
This software uses libraries from the FFmpeg project under the LGPLv2.1.
- Real-time AI Personality - Text and speech input with customizable character prompts
- MCP Support - Integrate Model Context Protocol servers for extended capabilities
- REST API & WebSocket Server - Build custom applications on top of the core server
- Flexible Deployment - Run fully local or use cloud services (Azure, OpenAI, Fish Audio, etc.)
- Modular Pipeline - Mix and match STT, TTS, LLM, and filter operations
Extend J.A.I.son with these official integrations:
- Discord Bot - Chat with your AI in Discord servers
- VTube Studio Emotions - Trigger VTube Studio expressions based on AI emotions
- Twitch Integration - React to chat and channel events on Twitch
Build your own applications using our Developer Guide!
- Conda: Recommended for environment management
- CUDA Toolkit: Required for NVIDIA GPU acceleration (download here)
- Windows Users: Enable Developer Mode
1. Create a virtual environment:
Install PyTorch with the right integration. Example below for computers with RTX graphics card.
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu1302. Install dependencies:
pip install -r requirements.txt
pip install --no-deps -r requirements.no_deps.txt
python -m spacy download en_core_web_sm
python install.py
python -m unidic download3. Install PyTorch:
For NVIDIA GPUs:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128Note: If you encounter
libiomp5md.dllduplicate errors on Windows:
- Navigate to your conda environment's package directory
- Search for
libiomp5md.dll- Delete the version under the
torchpackage folder
4. Install FFmpeg:
- Ubuntu/Debian:
sudo apt install ffmpeg
- macOS:
brew install ffmpeg
- Windows:
- Download
ffmpeg-git-essentials.7z - Extract and copy all files from
bin/to the project root directory
- Download
5. Configure your setup:
-
Copy
.env-templateto.envand add your API keys for the services you plan to use.cp .env-template .env
If running everything locally, you may leave the keys blank:
OPENAI_API_KEY= FISH_API_KEY= AZURE_REGION= AZURE_API_KEY=
-
Create new text files under
prompts\characters,prompts\instructions, andprompts\scenes, as required. Describe the character/instruction/scene as you'd like. Remember that you can create as many as you'd like and easily switch between them. An example for each is provided. -
Copy
configs\example.yamltoconfigs\config.yaml(you can name it whatever you'd like). This is the name you'll use when running the main server! Select the desired operations (refer to Development Guide) and set the desired prompt filenames to the ones you created in Step 2:prompter: instruction_prompt_filename: 'example.txt' character_prompt_filename: 'example.txt' scene_prompt_filename: 'example.txt'
See the Development Guide for detailed configuration instructions, including:
- Setting up local services (KoboldCPP, MeloTTS, RVC)
- Configuring cloud providers (Azure, OpenAI, Fish Audio)
- Customizing prompts and operations
- Choosing the right services for your use case
python ./src/main.py --config={config_filename}
# Example for configs/example.yaml
python ./src/main.py --config=example
# Example for configs/config.yaml
python ./src/main.py --config=configFor all available options:
python ./src/main.py --helpBuild applications, create custom integrations, or extend J.A.I.son:
- Development Guide - Complete configuration reference, service setup, and operations documentation
- REST API Specification - OpenAPI 3.1.0 spec for the REST API and WebSocket events
- Contributing Guidelines - How to contribute to the project
Join the community and get help:
- Discord - Project discussions and support
- YouTube - Tutorials and showcases
- Twitch - Live development streams
Thank you to everyone who has contributed to Project J.A.I.son!
