xRx is an open-source framework for building AI-powered applications that interact with users across multiple modalities — multimodality input (x), reasoning (R), and multimodality output (x). It allows developers to create sophisticated AI systems that seamlessly integrate text, voice, and other interaction forms, providing users with truly immersive experiences.
Key Features:
The easiest way to use xRx is to start with an example app and customize it. You can either explore the sample apps collection or try our AI voice tutor for calculus that includes a whiteboard and internal math engine.
git clone --recursive https://github.com/8090-inc/xrx-sample-apps.git
Note: The --recursive
flag is required as each app uses the xrx-core submodule.
cd xrx-sample-apps
cp env-example.txt .env
.env.example
file in the app's directoryTip: We recommend opening only the specific app folder in your IDE for a cleaner workspace.
docker-compose up --build
Your app will be available at localhost:3000
For detailed instructions and troubleshooting, refer to the README in each application's directory.
Math-Tutor on Groq is a voice-enabled math tutor powered by Groq that calculates and renders live problems and instruction with LaTeX in seconds! The application demonstrates voice interaction, whiteboard capabilities, and mathematical abilties.
git clone --recursive https://github.com/bklieger-groq/mathtutor-on-groq.git
cp env-example.txt .env
Edit .env
with your API keys:
LLM_API_KEY="your_groq_api_key_here"
GROQ_STT_API_KEY="your_groq_api_key_here"
ELEVENLABS_API_KEY="your_elevenlabs_api_key" # For text-to-speech
You can obtain:
docker-compose up --build
Access the tutor at localhost:3000
Challenge: Modify the math tutor to teach another topic, such as economics, and accept images of problems as input!
For more information on building applications with xRx and Groq, see: