Thank you for downloading Lily Agent!
This is a FastAPI-based application. Follow the steps below to run it locally.
Demo video: https://www.youtube.com/watch?v=p648tsXuhLk
⚠️ WARNING: Please check .env.example.txt, make sure implement with your API keys and change the file name to .env
-
Make sure you have Python 3.12.9 installed.
-
Open your terminal or command prompt and navigate to the project folder:
cd path/to/unzipped-folder -
(Optional but recommended) Create a virtual environment:
python -m venv venv source venv/bin/activate # [Mac/Linux] venv\Scripts\activate # [Windows]
-
Install all required dependencies:
pip install -r requirements.txt
-
Start the development server:
uvicorn main:app --reload
-
Open your browser and go to: http://127.0.0.1:8000
-
DEBUG_MODE
- For quick demo, go to
.envand setDEBUG_MODE=True. Only outreach will use real API. - For real case, set
DEBUG_MODE=False. Every step will call APIs and it may take 5–10 minutes to complete.
- For quick demo, go to
-
Use case
- Enter the company URL you are working on, for example:
Lead Generation & Outreach for Dupont Tedlar
https://www.dupont.com/brands/tedlar.html
- Enter the company URL you are working on, for example:
FastAPI provides interactive docs at:
- Swagger UI: http://127.0.0.1:8000/docs
- ReDoc: http://127.0.0.1:8000/redoc
- Make sure Python and pip are in your
PATH. - If you see
ModuleNotFoundError, double-check thepip installstep. - If port 8000 is in use, change it by editing the run command:
uvicorn main:app --port 8001 --reload
main.py --> FastAPI entry point
database.py --> DB operation entry point
requirements.txt --> Python dependencies
.env --> Environment variables
static/ --> JS, CSS assets
templates/ --> HTML templates
data/ --> Data files
Enjoy building! 🚀