A React Native demo app showcasing the CactusAgent class for AI-powered productivity features.
Click GIF below to watch a short video quickstart:
This app demonstrates how to integrate local AI agents into a React Native application using the Cactus framework. The app features a text input where AI inference is automatically triggered each time you type a period (.
), allowing for real-time AI assistance and suggestions.
- Type text into the app's text input field
- Each time you enter a period (
.
), the CactusAgent triggers inference - The AI processes your input and provides relevant suggestions or responses
- Continue typing to see real-time AI assistance
The CactusAgent has access to three productivity tools:
- Set Reminder: Creates reminders for specific dates and times based on your input
- Write Draft Email: Generates draft emails with suggested subjects when appropriate
- Add To-Do: Creates to-do items from tasks mentioned in your text
Each tool suggestion appears as a recommended action that you can accept or dismiss.
-
Install dependencies:
npm install
-
Start the development server:
npx expo run
-
Run on your preferred platform:
- iOS Simulator
- Android Emulator
- Physical device with Expo Go
This is an Expo project with file-based routing.