pip install janito==4.54.0 Copy PIP instructions
Janito is an AI Coding Agent with tools, MCP, and skills.
📖 Full documentation available at https://joaompinto.github.io/janito/
⚠️ Disclaimer: The code on this repo has been developed mostly using AI.
NOTE: Janito should be used on development systems on which data loss is tolerable and there are no critical secrets
# Install pip install janito # Or, with uv (recommended) uv tool install janito # Configure interactively janito --config # Or set options directly (two steps: config, then API key or ChatGPT login) janito --set provider=openai --set model=gpt-6.1-sol janito --set-api-key="sk-your-key" --provider openai # ...or sign in with your ChatGPT plan instead of an API key: # janito --provider openai --login # Start chatting janito "Hello!" Installation From PyPI pip install janito Or, with uv:
uv tool install janito For development setup, see README_DEV.md.
# Single key-value janito --set model=gpt-6.1-sol You can also use --get, --unset, and --set-secret with multiple values.
janito --show-config Costs per provider Provider Last Model Price Alibaba qwen3.8-flash Pay as you go Moonshot kimi-k3 $15/month (Moderato) z.ai glm-5.3-flash $12.6/month (Lite) OpenCode Go glm-5.3-flash $10/month (Go) openai gpt-6.1-sol Pay as you go / ChatGPT plan (OAuth) For custom endpoints (base-url), see README_custom.md.
janito "What is the capital of France?" Pipe Input echo "Tell me a joke" | janito Interactive Chat janito Commands in chat mode:
⚠️ Alpha — The --web mode is currently in alpha. It works, but the interface, CLI flags, and API may change between releases.
Janito can serve a browser-based chat interface instead of the terminal. This requires optional dependencies that are not part of the core install:
# Install with the web extra pip install janito[web] # or uv tool install janito[web] Then start the server (opens your browser automatically):
janito --web # All normal Janito flags still apply, plus web-specific ones: janito --web -r -w --web-port 9090 # privileges + web, custom port janito --web --no-web-open # don't auto-open the browser The server binds to 127.0.0.1 by default (localhost only). For full details (features, security, API endpoints, architecture), see the Web UI documentation.
# Use default system prompt (with tools enabled) janito "What can you do?" # Disable system prompt entirely (no tools at all) janito -Z "Simple prompt without system context" # Override with a custom system prompt (tools stay enabled) janito -S "You are a concise coding assistant" "Explain recursion" # Keep the system prompt but skip tool loading (skill tools stay enabled) janito --no-tools "Explain recursion" # Skip only the parallel-tasks toolset (StartTask/StopTask/WaitForTask/ListTasks) janito --no-tasks "Refactor this file" Flag Description -Z, --no-system-prompt Skip system prompt and disable tools -S, --system-prompt Custom system prompt --no-tools Do not load tools (skill tools stay enabled) --no-tasks Do not load the tasks toolset (StartTask, StopTask, WaitForTask, ListTasks); all other tools stay enabled Note: When using -Z, built-in tools (file operations, MCP) are disabled. Use the default mode or -S flag when you need tool access.
Note: --no-tools disables loading of all non-skill tools (file operations, MCP) while keeping the skill tools (load_skill, read_skill_resource) available, so the model can still load installed skills on demand.
Note: --no-tasks disables only the tasks toolset (the StartTask / StopTask / WaitForTask / ListTasks tools that spawn parallel child processes). File, system, net and skill tools stay available.
janito --log=info "Your prompt" # Info level janito --log=debug "Your prompt" # Debug level janito --log=info,debug "Your prompt" # Multiple levels Examples OpenAI # Step 1: Set provider and model janito --set provider=openai --set model=gpt-6.1-sol # Step 2a: Store API key (pay as you go) janito --set-api-key="sk-your-key" --provider openai # ...or step 2b: sign in with ChatGPT (OAuth, no API key) # janito --provider openai --login # Then run any prompt janito "Explain quantum computing" Headless or remote host? janito --login finishes through a loopback callback on a random 127.0.0.1 port and needs a browser. On a machine without one, forward that port over SSH before signing in — see Sign in with ChatGPT.
# Step 1: Set provider and model janito --set provider=alibaba --set model=qwen3.8-flash # Step 2: Store API key janito --set-api-key="your-dashscope-api-key" --provider alibaba # Then run any prompt janito "Explain quantum computing" Custom Endpoint janito --set provider=custom --set base-url=http://localhost:8000/v1 Built-in Tools janito includes tools for common tasks:
# List files python -m janito.tools.files.list_files . --recursive --pattern "*.py" # Read file python -m janito.tools.files.read_file README.md --max-lines 20 MCP Tools Connect to MCP servers using the /mcp command inside the interactive shell:
# Add a stdio-based MCP server /mcp add myserver stdio python -m mcp.server # Add an HTTP-based MCP server /mcp add remote http https://api.example.com/mcp # List configured servers /mcp list For full MCP documentation, see README_MCP.md.
🔄 Reading files... 📊 Processing: 50/100 files ✅ Completed: 100 files (2.3MB) Progress messages go to stderr so they don't interfere with tool output.
Optional extras: janito[web] adds fastapi/uvicorn (for --web); the native API types need anthropic (--api-type Anthropic), dashscope (DashScope) or google-genai (Gemini).
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Aug 17, 2026 2 release files Change of provenance
Jul 20, 2026 2 release files Loss of provenance




