NiuTrans

NiuTrans / ToFu

Public

Self-hosted AI assistant with tool use, multi-agent orchestration, coding copilot and a lightweight Flask + vanilla JS stack.

101
15
100% credibility
Found Apr 09, 2026 at 101 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Tofu is a self-hosted AI assistant featuring multi-model chat, autonomous agents, project co-pilot, browser extension, desktop agent, and daily reports, built with Flask and vanilla JavaScript.

How It Works

1
🔍 Discover Tofu

You find a helpful self-hosted AI assistant on a code sharing site that promises smart chats and helpers right on your computer.

2
📥 Get it ready

Download and set it up easily with a simple command that handles everything for you.

3
🔗 Link your AI friends

Connect popular AI services using your accounts so the assistant can think and respond.

4
🚀 Launch and chat

Open your web browser to start talking to your new AI helper about anything.

5
🛠️ Point at your projects

Tell it about your work folders so it can read files, suggest fixes, and help code.

6
🌐 Team up with browser

Install a browser add-on to let the AI read and click on web pages for you.

🎉 Your daily AI sidekick

Enjoy automated daily reports, task lists, and smart help that makes work easier every day.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 101 to 101 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ToFu?

ToFu is a self-hosted AI assistant built in Python using a lightweight Flask backend and vanilla JS frontend. It connects to 20+ OpenAI-compatible LLMs like Claude, Gemini, and Qwen for multi-model chat, autonomous tool-calling agents, and a project copilot that browses codebases, edits files, and runs git commands. Users get browser extensions for page interaction, desktop agents for local automation, Feishu bots for team chat, daily reports, and scheduled tasks—all from a single `python server.py` or Docker command.

Why is it gaining traction?

It stands out as a self-hosted GitHub Copilot alternative with multi-agent swarms for complex tasks, CLI backend switching to Claude Code or Codex, and zero-config installs via curl script or Docker. Developers notice the smart LLM dispatch with latency scoring, cost tracking, and features like proactive schedulers and My Day dashboards that turn chat history into actionable todos. Privacy-focused control over data and tools like PDF parsing, image gen, and web search make it hook for off-cloud workflows.

Who should use this?

Backend devs evaluating self-hosted code assistants for codebase navigation and editing without GitHub Enterprise costs. Teams on Feishu needing a self-hosted LLM assistant for slash-command bots and multi-turn chats. Solo hackers wanting a local virtual assistant with browser/desktop control as a Home Assistant or Google Assistant alternative.

Verdict

Try ToFu if you need a capable self-hosted AI assistant—docs are thorough, tests extensive, and setup painless despite 101 stars and 1.0% credibility signaling early maturity. Production use demands monitoring for edge cases in agent orchestration.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.