-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Joe Xu edited this page May 29, 2026
·
2 revisions
This page explains how to set up and run UACRAgent from source.
- Python 3.10+
- One supported LLM provider for generation:
- Gemini
- OpenAI
- DeepSeek
- One embedding option:
- Gemini embeddings
- OpenAI embeddings
- Local embeddings
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .py -m venv .venv
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
pip install -e .py -m venv .venv
.venv\Scripts\activate.bat
pip install -r requirements.txt
pip install -e .If activation causes trouble on Windows, you can also run the virtual-environment Python directly:
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe -m pip install -e .Copy the sample environment file.
cp .env.sample .envcopy .env.sample .envThen edit .env and set your provider configuration.
Example:
LLM_PROVIDER=gemini
LLM_MODEL=gemini-2.5-flash
GOOGLE_API_KEY=your_key_here
EMBEDDING_PROVIDER=gemini
EMBEDDING_MODEL=gemini-embedding-001python -m uacragent --guipython -m uacragent your_file.pdf --course-name "Your Course Name"uvicorn uacragent.api.main:app --reload- Start the desktop GUI.
- Create a session.
- Add course information.
- Add course files by document type.
- Click Apply to index the files.
- Ask study questions or request generated study materials.