smolchat is a full-stack open-source agentic AI platform (like ChatGPT / Gemini / Claude), built with LangChain and Next.js, featuring:
- Chat support for multiple LLM providers, including OpenAI, Gemini, Anthropic, and locally via Ollama,
- Native speech-to-text and text-to-speech models,
- Retrieval-Augmented Generation (RAG) with multi-format document support backed by Pinecone VectorDB,
- Chat session persistence on the client side via IndexedDB, ensuring conversations are retained locally across sessions.
smolchat agent integrates with external tools to enable dynamic, tool-augmented agentic reasoning. These include:
- YouTube Search, which fetches transcripts from videos and allows question-answering about the content,
- General Web Search, enabling real-time access to current information,
- Web Pages Search, allowing smolchat to extract and understand content from any webpage for contextual Q&A,
- Wolfram Alpha Knowledge Engine, for precise, factual answers across domains like math, time, weather, and scientific queries,
- Long-Term Memory, which remembers important information about you, such as preferences, facts, or prior answers, to enable personalized suggestions and maintain long-term cross-chat memory context.
To get started with running smolchat locally, first clone the repository and change into the project directory:
git clone https://github.com/nnilayy/smolchat.git
cd smolchatInstall the dependencies required to run smolchat:
npm install
# or
yarn install
# or
pnpm install
# or
bun installRun the development server to start the application:
npm run dev
# or
yarn dev
# or
pnpm run dev
# or
bun devAfter starting the server, smolchat will be live locally at http://localhost:3000.
Contributions are welcome! If you have suggestions, bug reports, or feature requests, feel free to create an issue or submit a pull request.
-
Fork the repository (Fork smolchat)
-
Clone your fork:
git clone https://github.com/nnilayy/smolchat.git
cd smolchat- Create your feature branch:
git checkout -b feature/AmazingFeature- Make your changes and commit them:
git add .
git commit -m 'Add AmazingFeature'- Push to your branch:
git push origin feature/AmazingFeatureThen open a Pull Request from your fork to our main repository.
This project is licensed under the GNU General Public License v3.0 - checkout the LICENSE for more details.
If you have any questions or need further assistance, feel free to reach out:
- GitHub Issues: Issues Page
- Email: nnilayy.work@gmail.com
