Skip to content

Prerequisites

Before installing abTARS, make sure you have the following.

Node.js 22+ (required)

abTARS requires Node.js 22 or later. Recommended: Node.js 24 (latest even release).

macOS (Homebrew):

bash
brew install node@24
brew link node@24
node --version   # should show v24.x.x

Linux / WSL (NodeSource):

bash
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version   # should show v24.x.x

Using nvm:

bash
nvm install 24 && nvm use 24 && nvm alias default 24
node --version   # should show v24.x.x

git (required)

bash
git --version   # any recent version

Telegram bot token (required)

Create a bot via @BotFather on Telegram. You'll need:

  • The bot token (e.g. 123456:ABC-DEF...)
  • Your chat ID (send /start to @userinfobot)

Model provider (at least one)

ProviderTypeSetup
ollamaLocal, freecurl -fsSL https://ollama.ai/install.sh | sh (Linux) or brew install ollama (macOS)
OpenRouterCloud, aggregatorSign up at openrouter.ai, get an API key. Access to all major models.
OpenAICloud, directAPI key from platform.openai.com
AnthropicCloud, directAPI key from console.anthropic.com
Kiro CLILocal AI coding toolInstall Kiro separately
Gemini CLILocal AI coding toolInstall Gemini CLI separately

Model requirements

abTARS works with any LLM that supports the OpenAI chat completions API format, including local models via ollama.

MinimumRecommended
Context window32K tokens128K+ tokens
Model qualityAny instruction-following modelState-of-the-art (GPT-4o, Claude, Gemini Pro, DeepSeek V3+)

Context window: abTARS works with 32K models, but tool use eats context fast. 128K+ recommended for comfortable operation.

Model quality and security: abTARS injects persona, memory, and tool schemas into the system prompt. Weaker models may leak instructions or follow injected prompts from user messages. For production, use frontier models.

Optional dependencies

DependencyWhat formacOSLinux/WSL
ollamaLocal embeddings + modelsbrew install ollamaSee ollama.ai
bubblewrapSandbox (Linux only)N/Aapt install bubblewrap
lightpandaFast web fetchSee lightpanda.ioSee lightpanda.io

Install all optional npm deps with one command once the CLI is available:

bash
abtars deps install all

Ready? Go to Installation.