Skip to main content

Epist.ai Audio RAG Platform

PyPI License

[!TIP] "Read" your audio. Transform podcasts, meetings, and voice notes into a queryable Second Brain with RAG.


🔗 Quick Links


🚀 New: Model Context Protocol (MCP)

Connect Claude Desktop directly to your knowledge base using our official MCP Server:

pip install epist-mcp-server

Read the MCP Guide →

Introduction

Epist.ai is a next-generation system that treats audio as a first-class citizen, enabling seamless ingestion, understanding, and retrieval of information from meetings, voice notes, and ambient conversations.

It provides a production-ready API for audio ingestion, transcription, and semantic search, built on modern RAG (Retrieval-Augmented Generation) principles.

🧠 Core Concepts

The Audio RAG Pipeline

  1. Ingestion: Audio/Video files are streamed to GCS.
  2. Transcription: Fireworks AI (Whisper V3 Turbo) generates high-fidelity transcripts with speaker diarization.
  3. Semantic Chunking: Transcripts are intelligently split to preserve context.
  4. Vectorization: Text chunks are converted to embeddings using OpenAI's text-embedding-3-small.
  5. Hybrid Retrieval: Search combines BM25 keyword matching with Vector similarity for maximum precision.

Platform vs. Tenant

  • Platform (This Repo): The core engine providing the API, storage, and processing logic.
  • Tenant (External): Applications like podcast-rag-app that consume the API to provide specific user experiences.

Features

  • Audio Upload: Stream large audio files directly to Google Cloud Storage.
  • RSS Ingestion: Ingest entire podcast feeds automatically with metadata extraction.
  • Automatic Transcription: Background transcription with speaker diarization.
  • Hybrid Search: Combine semantic meaning (Vector) and exact keywords (Full-Text) using Reciprocal Rank Fusion (RRF).
  • Multi-Modal Support: Support for .mp4, .mov, .mp3, .wav.
  • 📊 Observability: "Glass Box" tracing system to visualize every pipeline step.
  • 💬 Interactive Chat: Chat with your audio content using citations that link directly to timestamps.
  • MCP Integration: Connect your audio knowledge base directly to Claude.

Tech Stack

  • Backend: FastAPI (Python 3.11+)
  • Database: PostgreSQL 15 + pgvector
  • ASR: Fireworks AI (Whisper V3 Turbo)
  • Embeddings: OpenAI text-embedding-3-small
  • RAG Framework: LangChain
  • Infrastructure: GCP (Cloud Run, Cloud SQL, Cloud Storage, Cloud Tasks)
  • Frontend: Next.js 15 (React)

Quick Start

This project uses uv for dependency management.

# Install dependencies
uv sync

# Run development server
uv run fastapi dev src/main.py

Frontend Development

cd apps/web
npm install
npm run dev

Project Structure

Directory Description
src/ Core Backend API: FastAPI application, services, and models.
apps/web/ Main Dashboard: Next.js 15 application for managing audio and search.
packages/ Internal Packages: Includes epist_cli and epist_mcp_server.
sdks/ Client Libraries: Official SDKs for JS/TS and Python.
infra/ Infrastructure: Terraform configurations for GCP deployment.
docs/ Documentation: Deep-dive guides and API references.
labs/ Research: Experimental notebooks and chunking evaluations.

Changelog

v1.2.0 (Jan 05, 2026)

  • RSS Ingestion: New generic platform feature to ingest entire podcast feeds.
  • Enhanced Metadata: Automated extraction of author, description, and images.

v1.1.0 (Dec 27, 2025)

  • Stability & Observability: Integrated Sentry and migrated to Cloud Scheduler.
  • Security & Performance: Added TrustedHost, GZip, and production security headers.
  • Tiered Sync: Automated feed synchronization with tier-based refresh intervals.

v0.1.0 (Dec 08, 2025)

  • Core Platform: Initial release with Audio RAG and Vector Search.

Contributing

We welcome contributions! Please see our Contributing Guide for more information.

License

This project is open source under the MIT License.

Support

If you have questions or need assistance, please contact us at admin@epist.ai.


Epist.ai - Transforming audio into actionable knowledge.

Metadata

Release files for epist 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for epist 1.2.2
File Size Uploaded Provenance
epist-1.2.2.tar.gz 3.1 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for epist 1.2.2
File Interpreter ABI Platform
epist-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 MB

Release files / epist-1.2.2.tar.gz

Download URL epist-1.2.2.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
3c47b0fb62fe5a459cb948ff84e1525c3fef90615a2243cc89461ccfaa1b9647
BLAKE2b-256 checksum
How to use checksums
175e5bc9ed78778c2e35a826ded6f0b3481aea3b53e8fc9f30163bd303349b9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

Release files / epist-1.2.2-py3-none-any.whl

Download URL epist-1.2.2-py3-none-any.whl
Size 85.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
331e1f17a44316e7d5e251362b699489a300c3de6158a5417980430cf24dbb06
BLAKE2b-256 checksum
How to use checksums
0572797599ded21da067ed11c03eb393172fd1c653ddcc6c54c2525f5be62698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

Security for epist 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for epist-1.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page