tangent  by itsPreto

AI canvas for visual exploration of LLM conversations

Created 9 months ago
281 stars

Top 92.7% on SourcePulse

GitHubView on GitHub
Project Summary

Tangent is a canvas for exploring AI conversations, enabling users to branch, merge, and resurrect chat threads. It targets AI enthusiasts and researchers seeking a more visual and experimental approach to interacting with LLMs, moving beyond traditional chat interfaces.

How It Works

Tangent operates as an offline-first application, primarily leveraging local models via Ollama for both embeddings and LLM generation. It processes exported chat data from platforms like Claude and ChatGPT, allowing users to create conversational branches, resume interrupted threads, and cluster discussions by inferred topics. The architecture includes a modular backend API for managing chats, messages, states, and topics, with services for background processing, clustering, and embedding generation.

Quick Start & Requirements

  • Install: Clone the repository and run ./install.sh.
  • Prerequisites: Ollama (v0.4.4), Whisper.cpp (optional for voice features), exported chat data (Claude/ChatGPT).
  • Models: Requires all-minilm for embeddings and qwen2.5-coder:7b for generation (or custom alternatives).
  • Setup: The install.sh script handles Ollama setup, Whisper.cpp installation, Python environment setup, and frontend startup.
  • Links: Discord Server

Highlighted Details

  • Offline-first architecture using local LLMs via Ollama.
  • Visual canvas for AI conversations, supporting branching and merging.
  • Topic clustering for organizing and filtering discussions.
  • Resurrects conversations hitting context limits.
  • Supports Claude and ChatGPT data exports.

Maintenance & Community

  • Active community with a Discord server for support and discussion.
  • Open to contributions via pull requests and issues.

Licensing & Compatibility

  • Licensed under Apache 2.0.
  • Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

The project is described as "kinda hardcoded for ollama" but with plans for generalization. While Whisper.cpp is optional, its setup is detailed as a prerequisite for voice features. The frontend setup may require manual installation of missing packages.

Health Check
Last Commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
7 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
9 more.

companion-app by a16z-infra

0.1%
6k
AI companion stack for personalized chatbots
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.