control-api

Solid

Change Jarvis's own configuration through the local Control API instead of clicking the desktop UI or driving Computer-Use. Lets a local coding agent (Codex CLI, Claude Code) read and change settings, switch brain/STT/TTS providers, switch the reply language, and rotate API keys — all over HTTP on the loopback interface.

AI & Automation 30 stars 11 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Jarvis Control API Jarvis exposes a local HTTP API at **`/api/control/*`** so an agent can do anything the user can do in the desktop app — without Computer-Use. This skill is the recipe a coding agent (Codex CLI, Claude Code) follows when the user asks it to change a Jarvis setting on this machine. ## 1. Get the key and base URL Every install generates its own per-user key (prefix `jctl_`). - **Base URL:** `http://127.0.0.1:<port>` where `<port>` is `[ui].admin_api_port` in `jarvis.toml` (the same port the desktop app/browser UI uses). - **Key:** copy it from the desktop app → **Settings → Jarvis API**, or read it on the loopback interface: ```bash curl -s http://127.0.0.1:<port>/api/control/api-key # => {"key":"jctl_...","masked":"jctl_…1234"} ``` Send the key as a Bearer header on every other call: ``` Authorization: Bearer jctl_... ``` Verify it works: ```bash curl -s -H "Authorization: Bearer $JARVIS_KEY" \ http://127.0.0.1:<port>/api/control/auth/probe # => {"ok":true} ``` ## 2. Discover what you can change ```bash curl -s -H "Authorization: Bearer $JARVIS_KEY" \ http://127.0.0.1:<port>/api/control/allowlist ``` Returns every mutable setting with its `path`, `risk_tier` (`safe`/`ask`), `needs_restart`, and a description. Validate a `path` against this before you write — a path that is not listed (or is a protected secret) is refused. ## 3. Read and write config ```bash # read curl -s -H "Authorization: Bearer $JARVIS_KEY" \ "http://127.0...

Details

Author
PersonalJarvis
Repository
PersonalJarvis/PersonalJarvis
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category