Your Personal AI Assistant (Blog)
Pepper is a personal AI assistant that proactively works for you. It connects to your Gmail to autonomously summarize important emails and surface critical updates that need your attention, delegating complex tasks to a swarm of workers that handle them seamlessly in the background.
First clone the repo:
git clone --recurse-submodules https://github.com/agentica-org/pepperPrerequisites: Install and run the Context Store locally before launching Pepper.
conda create -n pepper python=3.12 pip -y
conda activate pepper
# First, install our context store Episodic
cd episodic-sdk
pip install -e .[semantic]
# Then, install requirements for Pepper
cd ../pepper
pip install -r requirements.txtfollowed by:
episodic serve --port 8000Keep the process running, and open a new terminal for the following setup.
-
Copy the environment template:
cd pepper cp env_var.example.sh env_var.sh -
Set up Composio (required):
- Sign in at composio.dev
- Create an Project API key
- Fill in it as
COMPOSIO_API_KEY
-
Fill in your LLM API key (required):
- For OpenAI (default): Set
OPENAI_API_KEY - For Anthropic: Set
ANTHROPIC_API_KEY
- For OpenAI (default): Set
-
Configure LLM provider (optional):
- By default, Pepper uses OpenAI models
- To use Anthropic models:
- Add to your
env_var.sh:export LLM_PROVIDER="anthropic" - Update the
MODELvariable inpepper/agent/scheduler.py,pepper/agent/worker.py, andpepper/agent/workflow.py - Example:
MODEL = "claude-sonnet-4-5-20250929"
- Add to your
-
Load environment variables:
source env_var.sh -
Login your Gmail account and grant access [Only for the first time]:
cd ~/pepper python -m pepper.services.email_service
If you see the message "Please authorize Gmail by visiting: url", open the url in your browser and grant access.
Once you've see the message "✅ Trigger subscribed successfully.", Ctrl+C to stop the process, you're good to go!
Launch pepper (The first time you run this, it'll take a while to build your profile, approximately 1 minute):
python -m pepper.launch_pepperOpen the UI in your browser as prompted:
http://localhost:5050/pepper/ui.html
If you're in the remote server, vscode should be able to port forward the correct port to your local machine automatically.
Note: Press Ctrl+C to stop all services.
This work is done with the Agentica Team as part of Berkeley Sky Computing Lab.