Hey there! This project is my own AI agent powered by LangChain. It's built to help with:
- 🧠 Classifying text and routing it to the right logic
- 📚 Adding files to a searchable knowledge base
- 🤖 Asking questions and getting answers from what I’ve uploaded
No rocket science — just upload stuff, click buttons, and the agent does the rest.
If I upload a doc or paste some text, it figures out what it's about — like:
- “Is this support-related?”
- “Should I extract questions from this?”
Then it calls the right tool automatically. Simple.
If I want to teach the system something (like feeding it docs), I just:
- Switch to Ingest mode
- Upload my files
- It breaks them into chunks and stores them smartly (FAISS)
Now I can query those chunks later. Boom.
Once I’ve ingested stuff, I can:
- Ask it a question in normal language
- It finds the most relevant chunks
- Then gives me a smart answer (RAG-style)
- Upload files (multi-file supported)
- Toggle between Classify and Ingest mode
- Run pipelines
- Ask questions from my ingested data
- View full results and even export them
cd langchain_ai_agent
uvicorn langchain_ai_agent.api.main:app --reloadcd frontend
npm install
npm run dev- LangChain + tools
- Sentence Transformers (MiniLM)
- FAISS vector store
- Unstructured for parsing docs
- FastAPI for serving
- Next.js + Tailwind for the frontend
- Gemini model from Vertex AI
I will next:
- Add RAG-style chat flow (so it answers naturally, not just chunks)
- Add support for namespaces (multi-project KBs)
- Maybe connect to Google Drive or Slack