Academic-ID/sapienAI

Self-hosted academic chatbot, research workspaces and editor (LaTex, Typst, markdown, ...) leveraging local and leading AI models.

206

stars

47

commits

Shell

primary language

Jun 13, 2026

updated

academicid.io/
academia
academic
artificial-intelligence
generative-ai
research
typst
writing
Browse cluster: LLM Agents & Routing

README

SapienAI

SapienAI Logo

SapienAI

Your Self-Hosted, All-in-One AI Research Workspace
Explore the docs »

Report Bug · Request Feature

GitHub Stars

SapienAI is a self-hosted academic chatbot and research workspace. It unifies the latest models from OpenAI, Anthropic, Google, and self-hosted Ollama models into a single, secure interface. Features include realtime audio chat, 100% local data storage, academic paper integration, semantic search, and dedicated research spaces for writing and organizing your work.


[!NOTE] THE SMARTER SAPIENAI RESEARCH WORKSPACE WITH AI AGENTS, KNOWLEDGE GRAPHS AND IN-BROWSER CODE EXECUTION COMING SOON!


❤️ Support The Project

If you find SapienAI useful, please consider giving it a star ⭐ on GitHub and sharing it with your colleagues! Your support helps the project grow and motivates further development.


🌟 Key Features

💬 Unified Chat Interface

Converse with the world's best AI models in one place.

  • 🧠 Multi-Provider Support: Seamlessly switch between the top models from OpenAI, Anthropic and Google, and local models via Ollama.
  • 🎙️ Realtime Audio Chat: Have a natural, spoken conversation with the AI.
  • 🔒 100% Local & Private: All messages, files, and images are stored securely on your own device.
  • 🔌 Flexible Hosting: Connect directly to APIs (OpenAI, Anthropic, Google) or through services like Azure, AWS, and Google Vertex.
  • 📚 Academic Grounding: Reduce hallucinations by backing every response with real academic papers from its integrated search.
  • 🔍 Semantic Search: Instantly find information across all your chats and uploaded documents using natural language. Connect your Zotero library to search it too!
Chat Interface Audio Chat Interface

🔬 Research Spaces

A dedicated workspace to streamline your entire academic writing process.

  • ✍️ Integrated Editor: Write your paper with as little or as much AI assistance as you need. Full support for Markdown, Typst and LaTeX.
  • 📂 Unified Document Management: Upload your project documents, notes, and sources. The AI can read, summarize, and answer questions about them.
  • 📊 AI-Powered Literature Reviews: Automatically generate and export literature reviews in Word or Excel format based on your uploaded sources.
Research Space Overview Integrated Editor

🚀 Getting Started

Get your own instance of SapienAI running in minutes.

Prerequisites

Quick Start Installation

  1. Clone the repository:

    git clone https://github.com/Academic-ID/sapienAI.git
    cd sapienAI
    
  2. Configure your environment: Copy the example environment file and edit it with your details.

    cp example.env .env
    

    At a minimum, you must set an API key for at least one AI provider (e.g., OPENAI_API_KEY).

  3. Run with Docker Compose:

    docker compose up -d
    

SapienAI will now be running at http://localhost:3000. For detailed configuration options, please see the full documentation.

Follow Along

[!TIP] You can follow along with the Self Hosting Quick Start Video to see the steps in action.

⚠️ Beta Notice

SapienAI is under active development and is currently in a beta phase. While we are working hard to ensure stability, you may encounter bugs. We greatly appreciate your help in making it better!

Please open an issue to report any problems you face.

Contributors

Kieran-who

47 commits

Academic-ID/sapienAI

Self-hosted academic chatbot, research workspaces and editor (LaTex, Typst, markdown, ...) leveraging local and leading AI models.

206

stars

47

commits

Shell

primary language

Jun 13, 2026

updated

academicid.io/
academia
academic
artificial-intelligence
generative-ai
research
typst
writing
Browse cluster: LLM Agents & Routing

README

SapienAI

SapienAI Logo

SapienAI

Your Self-Hosted, All-in-One AI Research Workspace
Explore the docs »

Report Bug · Request Feature

GitHub Stars

SapienAI is a self-hosted academic chatbot and research workspace. It unifies the latest models from OpenAI, Anthropic, Google, and self-hosted Ollama models into a single, secure interface. Features include realtime audio chat, 100% local data storage, academic paper integration, semantic search, and dedicated research spaces for writing and organizing your work.


[!NOTE] THE SMARTER SAPIENAI RESEARCH WORKSPACE WITH AI AGENTS, KNOWLEDGE GRAPHS AND IN-BROWSER CODE EXECUTION COMING SOON!


❤️ Support The Project

If you find SapienAI useful, please consider giving it a star ⭐ on GitHub and sharing it with your colleagues! Your support helps the project grow and motivates further development.


🌟 Key Features

💬 Unified Chat Interface

Converse with the world's best AI models in one place.

  • 🧠 Multi-Provider Support: Seamlessly switch between the top models from OpenAI, Anthropic and Google, and local models via Ollama.
  • 🎙️ Realtime Audio Chat: Have a natural, spoken conversation with the AI.
  • 🔒 100% Local & Private: All messages, files, and images are stored securely on your own device.
  • 🔌 Flexible Hosting: Connect directly to APIs (OpenAI, Anthropic, Google) or through services like Azure, AWS, and Google Vertex.
  • 📚 Academic Grounding: Reduce hallucinations by backing every response with real academic papers from its integrated search.
  • 🔍 Semantic Search: Instantly find information across all your chats and uploaded documents using natural language. Connect your Zotero library to search it too!
Chat Interface Audio Chat Interface

🔬 Research Spaces

A dedicated workspace to streamline your entire academic writing process.

  • ✍️ Integrated Editor: Write your paper with as little or as much AI assistance as you need. Full support for Markdown, Typst and LaTeX.
  • 📂 Unified Document Management: Upload your project documents, notes, and sources. The AI can read, summarize, and answer questions about them.
  • 📊 AI-Powered Literature Reviews: Automatically generate and export literature reviews in Word or Excel format based on your uploaded sources.
Research Space Overview Integrated Editor

🚀 Getting Started

Get your own instance of SapienAI running in minutes.

Prerequisites

Quick Start Installation

  1. Clone the repository:

    git clone https://github.com/Academic-ID/sapienAI.git
    cd sapienAI
    
  2. Configure your environment: Copy the example environment file and edit it with your details.

    cp example.env .env
    

    At a minimum, you must set an API key for at least one AI provider (e.g., OPENAI_API_KEY).

  3. Run with Docker Compose:

    docker compose up -d
    

SapienAI will now be running at http://localhost:3000. For detailed configuration options, please see the full documentation.

Follow Along

[!TIP] You can follow along with the Self Hosting Quick Start Video to see the steps in action.

⚠️ Beta Notice

SapienAI is under active development and is currently in a beta phase. While we are working hard to ensure stability, you may encounter bugs. We greatly appreciate your help in making it better!

Please open an issue to report any problems you face.

Contributors

Kieran-who

47 commits

Languages

Shell

100.0%