A simple implementation of a LangGraph agent with a Streamlit chat interface.
- Python 3.9+
- An OpenAI API key
Install the required dependencies:
pip install -r requirements.txtCreate a .env file in the project root and add your OpenRouter / OpenAI API key:
OPENAI_API_KEY=your-api-key
OPENROUTER_API_KEY=your-api-keyCreate the vector embeddings:
python3 ingest.pyRun the backend:
python3 server.pyAnd the frontend:
cd frontend/
npm run devAlternatively run with Streamlit:
streamlit run app.pyHave fun with your personal agent!