How avanipatel-16/pippa-ai-agent works
Pippa is a Streamlit conversational assistant. Its main workflow accepts a user message, streams it through a LangChain agent backed by Groq, optionally searches Google via Serper, and displays the generated response. The app also keeps conversation checkpoints in a session-held LangGraph in-memory saver and renders its own message history. The graph reflects the documented architecture and the sampled apps.py; it does not infer additional subsystems from dependencies or unsampled files.
Main entry points: apps.py LangChain agent
Components 9
Chat interface
- Streamlit chat UI
apps.py - Session message history
apps.py
Agent runtime
- LangChain agent
apps.py - Google search tool
apps.py - Response streaming
apps.py
External services
- Groq LLM
- Google Serper API
Conversation state
- In-memory checkpoint saver
apps.py
Other components
- User
Connections 9
- User → Streamlit chat UI: enters message
README.md - Streamlit chat UI → LangChain agent: submits query
apps.py - LangChain agent → Groq LLM: requests model
README.md - LangChain agent → Google search tool: invokes when needed
apps.py - Google search tool → Google Serper API: sends search query
apps.py - LangChain agent → In-memory checkpoint saver: saves checkpoints
README.md - LangChain agent → Response streaming: streams response
apps.py - Response streaming → Streamlit chat UI: renders chunks
apps.py - Streamlit chat UI → Session message history: renders and updates
apps.py