Arka
Your terminal, upgraded. Route plain English to 70+ local skills — deterministic offline routing, voice, 24-provider LLM failover, and security gates on by default.
Documentation: arka-agent.mintlify.site · Repository: github.com/Sumit884-byte/arka
Why Arka?
- Deterministic routing: 120+ symbolic rules handle most requests with zero LLM tokens before any model is called.
- Extensible: Add third-party skills via
skill.jsonplugins — no fork required. - Secure by default: Prompt-injection checks, risky-action prompts, and hard blocks on destructive shell patterns.
- Local-first: Skills run on your machine; LLM calls failover across Gemini, Groq, Ollama, and 20+ other providers.
If Arka looks useful, star the upstream repo — it helps others discover the project and signals that it's worth a look:
gh repo star Sumit884-byte/arka
Or open github.com/Sumit884-byte/arka and click Star.
Privacy
Arka is designed so you stay in control of your data:
-
Runs on your machine — Skills execute locally. There is no hosted Arka account and no shared demo instance; your terminal, files, and config stay on your system.
-
Local-first routing — 120+ symbolic rules handle many requests with zero LLM tokens, so common tasks never leave your machine.
-
You choose where prompts go — LLM calls use only the providers you configure (Gemini, Groq, Ollama, etc.). For sensitive work, force a local-only boundary:
arka run-only-local-llm "summarize this repo" arka hybrid config local-only
With
local-only, hosted providers are not used as fallbacks. -
Secrets stay local — API keys and
.envlive under your user config directory (~/.config/arka/on Linux,~/Library/Application Support/arka/on macOS).arka integration setupnever prints secret values. -
Memory stays local by default — Long-term memory uses a local cache unless you add a Supermemory key (
MEMORY=autofalls back to local). SetMEMORY=localto keep recall entirely on disk. -
Web content is sanitized — Search results and scraped pages are stripped of suspicious injection patterns before they reach the model (
SECURITY_SANITIZE=1by default). -
Risky actions need confirmation — Installs, deletes, downloads, and automation prompt
[y/N]unless you explicitly auto-confirm (SECURITY_ACTIONS=1by default). -
Telemetry is opt-in — OpenTelemetry export to SigNoz or other backends is off until you enable
OTEL_TRACES_ENABLEDand set an endpoint.
Details: Security model · Memory · Hybrid local/hosted routing
Supported platforms
| Platform | Support |
|---|---|
| macOS | Full support — recommended for daily use |
| Linux | Full support |
| Windows | Python CLI and arka subcommands work; the full 70+ skill router needs fish shell (scoop install fish or winget install fishshell). Without fish, Arka runs in portable mode with Python fallbacks. Some fish-oriented skills target macOS/Linux. |
Requirements: Python 3.11+. Optional: fish shell for natural-language routing and voice integration.
Config paths: ~/.config/arka/ (Linux), ~/Library/Application Support/arka/ (macOS), %APPDATA%\arka\ (Windows).
Installation
PyPI package name is arka-agent — published at pypi.org/project/arka-agent.
Recommended (standalone, no clone, no build):
uv installs arka-agent from PyPI — no separate uv registry or token:
uv tool install "arka-agent[chat]"
arka setup
arka doctor
Or with pipx:
pipx install "arka-agent[chat]"
arka setup
arka doctor
One-off without global install:
uvx --from "arka-agent[chat]" arka doctor
Or with pip in a venv:
python3 -m pip install "arka-agent[chat]"
arka setup
arka doctor
GitHub fallback (if you need the latest commit before the next PyPI release):
pipx install "arka-agent[chat] @ git+https://github.com/Sumit884-byte/arka.git"
arka setup
arka doctor
From a git clone (best for contributors or tracking main):
Upstream (canonical):
git clone https://github.com/Sumit884-byte/arka.git
cd arka
./scripts/refetch.sh --install
arka setup
arka doctor
Working from a fork (recommended if you do not have push access to upstream):
gh repo fork Sumit884-byte/arka --clone
cd arka
./scripts/refetch.sh --install
pip install -e ".[chat,dev]"
arka setup
arka doctor
Example active fork: sumitmishra884byte-cpu/arka (fork of upstream). Sync your fork before opening a PR:
gh repo sync --source Sumit884-byte/arka
git push origin main
Configure API keys (at least one cloud key or local Ollama):
cp .env.example ~/.config/arka/.env # macOS/Linux; see Supported platforms for Windows path
Add a free-tier key from Google AI Studio or Groq Console, then run arka free tier setup for recommended .env settings.
Optional one-liners:
brew install fish # macOS — unlocks full skill router
arka mcp doctor && arka mcp install # verify MCP server; print Cursor snippet
See the Quickstart guide and MCP integration for fish setup, Cursor merge steps, and optional extras ([voice], [pdf], [all]).
Try Arka without building from source
There is no hosted demo instance or shared test account. The fastest path to evaluate Arka:
-
Browse the live docs — arka-agent.mintlify.site (skills catalog, routing concepts, CLI reference).
-
Install in one command — use the pip/pipx git install above (no manual build step).
-
Use free-tier LLM keys — Gemini and Groq both offer free tiers; Ollama is local and costs nothing:
arka free tier setup arka doctor
-
Run sample commands that exercise routing and LLM failover:
arka ask "what is Rust?" arka "convert 100 USD to INR" arka council "should I learn Rust?" arka quiz python arka coding-tui . arka repo_health scan
Inside the coding TUI,
/test scriptsruns verification scripts discovered underscripts/(no hardcoded list — Arka inspects filenames, docstrings, argparse, andtest_*functions). Use/testfor pytest andrepo_health scanto see why each script matched. -
Try MCP in Cursor — after install,
arka mcp doctorthenarka mcp install; merge the printed snippet into Cursor Settings → MCP and restart Cursor.
Full walkthrough: Quickstart · Free credits guide
Quick Start
Get to a working answer in under a minute:
arka doctor # verify install + keys
arka ask "what is Rust?" # web + AI answer
arka "convert 100 USD to INR" # natural language routing
arka council "should I learn Rust?" # multi-persona deliberation
Voice (optional):
arka listen # then say: "hey arka, what's the weather"
More guides — skills, stocks, PDF RAG, Google Workspace, goal agent, testing — live on the documentation site.
Built with Codex & GPT-5.6
Arka was built for the OpenAI Build Week Developer Tools track (July 2026):
- Codex — routing rule hardening, NL routing test coverage, coding TUI iteration (
/planauto-execute,/test,/test scripts), and demo pipeline tooling. - GPT-5.6 — primary model in the
arka askfailover chain and agent steps insidearka coding-tui(via OpenRouter).
Judges can reproduce the full path with pipx install "arka-agent[chat]", arka setup, and arka doctor. Demo video and CLI screenshots live under recordings/.
Contributing
We welcome contributions of all sizes! Please read our Contribution Guidelines to get started with the local development workflow.
Quick fork workflow with GitHub CLI:
gh repo view Sumit884-byte/arka # upstream metadata
gh repo fork Sumit884-byte/arka --clone # your fork + local clone
cd arka
pip install -e ".[chat,dev]"
pytest
# push to your fork, then open a PR back to Sumit884-byte/arka
gh pr create --repo Sumit884-byte/arka
Look for the good first issue label on GitHub Issues to find a welcoming entry point.
License
Distributed under the GNU General Public License v2.0. See LICENSE for more information.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arka_agent-0.1.2.tar.gz.
File metadata
- Download URL: arka_agent-0.1.2.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02b584154cfdb77d1508cca6ca8f1f4aa22083d0a3c43ab9ae77a5cd80920040
|
|
| MD5 |
45cce2c77a027e94ea8c1765fc259fec
|
|
| BLAKE2b-256 |
7d0fce814471c0972ac91e5bdfe9f16e068fa7421297a5dc4fcc82e509c365ec
|
File details
Details for the file arka_agent-0.1.2-py3-none-any.whl.
File metadata
- Download URL: arka_agent-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32b4d067b0dc3f37804394df87c2fe873975b2819879a81d5bd92bfce28b8371
|
|
| MD5 |
fa7c7b38dc781476ed97ccab295d2779
|
|
| BLAKE2b-256 |
55d50dd83d1c66709c6af67edb543e45a0e403cee4e9cdc53ef0a018a0403f12
|