Skip to content

janito

janito is an OpenAI CLI (Command-Line Interface) with function calling capabilities and MCP (Model Context Protocol) support. It allows you to interact with AI models from the terminal with built-in tools and integrations.

Features

  • 🔧 Function Calling - Built-in tools for file operations, web search, and more
  • 🔌 Extensible Plugins - Gmail, code search, OneDrive, and more via the plugin system
  • 🔌 MCP Support - Connect to Model Context Protocol servers
  • 🖥️ Two Interfaces - Terminal CLI/shell for scripts and quick prompts, plus a browser-based Web UI (janito --web) with sessions and dashboards
  • 📊 Real-time Progress - Watch tool execution progress as it happens
  • 🚀 Easy Setup - Interactive configuration with --config or quick setup with --set flags
  • 🌐 OpenAI-Compatible & Native APIs - Works with any OpenAI-compatible endpoint (OpenAI, LM Studio, Ollama, custom) and native SDKs (Anthropic, DashScope)

Quick Example

# Install
pip install janito

# Or, with uv (recommended)
uv tool install janito

# Configure interactively
janito --config

# Start chatting
janito "Hello!"

Why janito?

Work Directly in Your Terminal

No need to switch between browser tabs or other applications. Chat with AI models while keeping your terminal workflow intact.

Two Interfaces, One Engine

janito has two interfaces built on the same engine, tools, and configuration:

Interface How to start Best for
Terminal CLI/shell janito "question", janito, echo "text" \| janito Quick questions, scripting, configuration & secrets, terminal-first workflows
Web UI janito --web Browser-based chat with sessions, tool-call cards, and dashboards

See CLI vs Web UI for which features are available in each.

Powerful Built-in Tools

janito comes with tools for common tasks:

Category Tools
Files List, read, write, search files and directories
System Run Python code, execute PowerShell commands

Extend with MCP

Connect to Model Context Protocol servers to add custom tools and capabilities.

Works with Any Provider

Use OpenAI, local LLM servers (LM Studio, Ollama), any OpenAI-compatible API, or native SDKs (Anthropic, DashScope).

Getting Started

  1. Install janito
  2. Configure your settings
  3. Start chatting
  4. Launch the web UI or compare the two interfaces

License

MIT License