Skip to content

smolchat is a full-stack agentic AI platform (LangChain + Next.js) with multi-LLM chat, long-term cross chat memory, STT & TTS, RAG (multi-format doc support) backed by Pinecone VectorDB, and client-side chat persistence via IndexedDB. The smolchat agent integrates with tools like YouTube search, Web Search, Web Page Search, and Wolfram Alpha KE.

License

Notifications You must be signed in to change notification settings

nnilayy/smolchat

Repository files navigation

smolchat Hero

smolchat

Next.js LangChain Pinecone VectorDB IndexedDB shadcn/ui

OpenAI Gemini Anthropic Ollama

General Web Search Tool YouTube Search Tool Wolfram Alpha Knowledge Engine Tool Web Page Search Tool Long Term Cross Chat Memory Context Retrieval-Augmented Generation Text To Speech Speech To Text

CodeFactor Website Status License: GNU GPL v3 GitHub Stars

Overview

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.

Installation & Setup

1. Clone the repository

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 smolchat

2. Install dependencies

Install the dependencies required to run smolchat:

npm install
# or
yarn install
# or
pnpm install
# or
bun install

3. Start the development server

Run the development server to start the application:

npm run dev
# or
yarn dev
# or
pnpm run dev
# or
bun dev

After starting the server, smolchat will be live locally at http://localhost:3000.

Contributions

Contributions are welcome! If you have suggestions, bug reports, or feature requests, feel free to create an issue or submit a pull request.

Steps to Contribute:

  1. Fork the repository (Fork smolchat)

  2. Clone your fork:

git clone https://github.com/nnilayy/smolchat.git
cd smolchat
  1. Create your feature branch:
git checkout -b feature/AmazingFeature
  1. Make your changes and commit them:
git add .
git commit -m 'Add AmazingFeature'
  1. Push to your branch:
git push origin feature/AmazingFeature

Then open a Pull Request from your fork to our main repository.

License

This project is licensed under the GNU General Public License v3.0 - checkout the LICENSE for more details.

Support & Contact

If you have any questions or need further assistance, feel free to reach out:


About

smolchat is a full-stack agentic AI platform (LangChain + Next.js) with multi-LLM chat, long-term cross chat memory, STT & TTS, RAG (multi-format doc support) backed by Pinecone VectorDB, and client-side chat persistence via IndexedDB. The smolchat agent integrates with tools like YouTube search, Web Search, Web Page Search, and Wolfram Alpha KE.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published