Skip to content

2.0.0

Latest

Choose a tag to compare

@Traliran Traliran released this 07 Sep 12:25
· 1 commit to main since this release
44a40ce

πŸš€ Release v2.0.0 β€” Traliran AI Hub CLI / TUI Edition

First major update of Traliran AI Hub CLI β€” a lightweight, privacy-first and fully serverless AI terminal client (traliran-hub) written in pure C11 (ncursesw + libcurl).

Version 2.0.0 fixes all shortcomings of the 1.0.0 branch and brings the main feature of this release β€” MCP (Model Context Protocol) support, fully mirroring the functionality of the Web Edition.

Why 2.0 instead of 1.1? The release was initially planned as 1.1.0, but adding MCP turned out to be a far more significant change than just fixing model comparison, so it was decided to bump the major version. 2.0.0-test-3 is a direct continuation of 1.1.0-test-2, is fully stable, and all of its code will be included in the final 2.0.0.


⚑ Quick Install (Linux x86_64)

Option 1: Binary Installation (For rolling-release distros β€” built with newer library versions and may not run on Debian etc.)

Download the traliran-hub file attached to this release, make it executable and move it to your PATH:

chmod +x traliran-hub
sudo mv traliran-hub /usr/local/bin/

Launch from anywhere:

traliran-hub

Option 2: Build from Source

If you (gentoo user) prefer to build it yourself:

git clone https://github.com/Traliran/traliran-ai-hub-cli.git
cd traliran-ai-hub-cli
make
sudo make install

πŸͺŸ Note for Windows Users

There is no native Windows .exe build and there never will be. If you are on Windows, ask yourself: why do you even need a Linux terminal client? πŸ˜‰

If you still want to use the Traliran AI Hub ecosystem on Windows without WSL:

  1. Use the web version: Traliran AI Hub Web Edition β€” runs in any browser.
  2. Try Traliran AI Hub DriftWM β€” a browser-based window manager with infinite desktops and tiling.

Please do not open GitHub Issues complaining that the binary doesn't run in CMD/PowerShell.


✨ What's New in 2.0.0

🧩 Highlight β€” MCP (Model Context Protocol) Support [NEW]

A full MCP implementation, just like in the HTML/CSS/JS version:

  • Connect remote MCP servers via the Streamable HTTP protocol
  • Servers are configured in the 🧩 MCP Servers modal
  • Their tools are automatically forwarded to the model as function calling tools β€” exactly the same as the IDE agent tools
  • The model decides when to call a tool β†’ the hub proxies the call β†’ returns the result to the model β†’ the loop repeats
  • Works with any MCP endpoint that supports Streamable HTTP

Creating MCP surprisingly took less time than fixing cross-provider model comparison. Probably because while working on multi-model I had to test and adapt prompt engineering for the new model Muse Spark 1.2 in parallel, which fully wrote all the code you see in this update.

⚑ Cross-Provider Model Comparison β€” Now Works 100%

In v1.0.0 and 1.1.0-test-1 the feature was broken:

  • Only the model selection interface worked
  • Due to incorrect saving of multiple API configurations, it was impossible to compare models from different providers, or even just switch between providers

Fully fixed in 2.0.0:

  • Parallel requests to multiple models at once
  • Mix any providers: Groq + Gemini + OpenAI + OpenRouter + DeepSeek + Qwen + GLM + Claude + Ollama / Llama.cpp
  • Side-by-side comparison cards rendering for instant benchmarking
  • Synchronization of endpoint ↔ provider ↔ API key for each provider is now correct

πŸ› Bug Fixes

  • Fixed crash when chatting β€” a crash that occurred when deleting chats has been eliminated.
  • Fixed settings synchronization: when switching providers in Settings, the endpoint is now correctly updated, the saved API key is restored and the model list is refreshed. Previously the endpoint got "stuck" on the previous provider.
  • Fixed saving of API keys for different providers: each provider now stores its own key and endpoint independently. Switching no longer overwrites data.
  • Fixed responses from multiple models of the same provider: now all selected models of the same provider respond correctly (previously only one responded).

πŸ”§ Build & Compatibility Improvements

  • Reworked Makefile for better compatibility with different distros and compilers
  • Reduced final binary size
  • cJSON is still vendored in vendor/cjson/ β€” no external installation required
  • Version in code bumped to 2.0.0, binary rebuilt for release

🌟 All Key Features (as of 2.0.0)

  • 100% Privacy & Serverless: Direct requests to provider APIs from your machine. No proxies, telemetry, or logging. Keys are stored locally in ~/.cache/traliran-cache/storage.json.
  • ⚑ Parallel Model Benchmarking: Compare any models from any providers simultaneously.
  • 🧩 MCP Tools: Connect external tools via MCP and extend model capabilities without changing code.
  • πŸ’‘ Reasoning / Thinking Blocks: Native rendering and collapsible thinking blocks for DeepSeek-R1 and other reasoning models.
  • πŸ‘₯ AI Group Debate: Debate mode with roles Optimist, Critic, Technologist β€” multiple rounds of cross-analysis of your idea.
  • ⚑ AI IDE & Workspace: Full-screen code editor, agent panel, version control (commits/reverts), workspace export to .tar.gz.
  • 🧠 RAG Knowledge Base: Upload .md / .txt and chat with documents (retrieval via tools, like in the IDE).
  • πŸ’» Built-in Sandbox: Local preview of generated HTML/JS/CSS.
  • πŸͺ Assistant Store: Marketplace of system prompts (free and premium).
  • ⌨️ Full Vim Support: Toggle anytime with F12.
  • 🌍 Full UTF-8 Input: Cyrillic and other characters everywhere β€” chat, notes, IDE, dialogs.

🎹 Current Keymap

Screen Keys
Global 1..6 switch screens (or Tab / Ctrl+1..6) Β· ? help Β· q quit Β· F12 Vim mode
Chat Enter send Β· F2 new session Β· F3 rename Β· F4 delete Β· F5 summarize Β· F6 regenerate Β· F7 multi-model Β· F8 debate Β· F9 sandbox last code Β· F10 attach file Β· PgUp/PgDn scroll
IDE F1 files / F2 versions / F3 bots Β· F4 new file Β· F5 save Β· F9 commit Β· F10 revert Β· x delete Β· PgUp/PgDn scroll editor
Notes F2 new note Β· F3 delete Β· F4 AI complement Β· F5 export MD Β· F6 export to RAG Β· F7 import MD Β· F8 preview Β· F9 search Β· F10 title
RAG F2 upload .md/.txt Β· Tab focus files/chat Β· Enter chat with documents Β· F10 clear chat
Store ↑/↓ navigate Β· Enter install free assistant Β· o open paid
Settings / MCP ↑/↓ select Β· Enter edit Β· Esc back

Hotkeys on plain characters (q, ?, 1..6, Tab, x in IDE) only trigger after 3 rapid presses within 1 second β€” so they don't interfere with typing. F-keys and Ctrl combos trigger instantly.


πŸ“¦ History of Test Builds Included in 2.0.0

  • 1.1.0-test-1 β€” broken cross-provider comparison, endpoint not updated on provider switch
  • 1.1.0-test-2 β€” fixed endpoint/provider/API keys synchronization, cross-provider comparison works, chat crash fixed, Makefile improved
  • 2.0.0-test-3 β€” fully functional pre-release, all code of which went into 2.0.0. MCP added. Building the C version is significantly harder than the web version, so it was lagging behind, but feature parity has now been restored.

Licensed under AGPLv3. Source code and documentation are in the repository.

Download traliran-hub from Assets below and run traliran-hub to get started.