Kiponos Agent Kit (free)
Realtime config for AI agents — Python SDK + MCP server + Agent Skill.
Dashboard and agents share one config tree over WebSocket. Change a value in the UI; the connected MCP sees it. Set a value from the agent; the dashboard updates without refresh.
| Component | What it is |
|---|---|
SDK kiponos |
Python client v0.3 — get/set/list/mkdir/delete/on_change, auto-reconnect, offline backup, fail-closed reads |
MCP kiponos-mcp |
Long-lived tool process (stdio) |
Skill kiponos-live |
Onboarding + when to call tools |
Install
pip install kiponos # SDK (import kiponos) + kiponos-mcp + kiponos-cli
Looking for the classic SDK? That is the separate
kiponos-pysdkpackage (from kiponos_pysdk import KiponosClient).
To also install the agent skill, or to work from a checkout:
cd agent-kit # this directory
./install.sh
Or manually from source:
pip install -e .
./install.sh grok-user # skill only
Grok MCP (~/.grok/config.toml)
[mcp_servers.kiponos]
command = "kiponos-mcp"
env = {
KIPONOS_ID = "eyJ…",
KIPONOS_ACCESS = "eyJ…",
KIPONOS = "['my-app']['v1.0.0']['dev']['base']"
}
enabled = true
Get tokens + profile from https://kiponos.io → Connect.
Cursor / Claude
Install skill via ./install.sh cursor-user or claude-user.
Add the same stdio MCP command kiponos-mcp with env in your MCP settings.
Quick SDK use
from kiponos import Kiponos
with Kiponos.connect() as k: # uses env KIPONOS*
k.set("demo/hello", "from-agent")
print(k.get("demo/hello"))
kiponos-cli status
kiponos-cli set demo/hello world
Connection resilience (0.3.0)
The client keeps the whole config tree in memory; get() is a local lookup.
Since 0.3.0 it also survives the network:
| State | Meaning |
|---|---|
CONNECTING |
first connect in progress |
READY |
connected; tree kept in sync by server push |
OFFLINE |
disconnected; serving the last config seen, reconnecting in the background |
SAFE_MODE |
like OFFLINE, but the server explicitly rejected the credentials (HTTP 401/403 or STOMP ERROR); still retrying at the max backoff |
CLOSED |
close() was called |
- No idle cut-off. 0.2.0 dropped the connection after 25 s without traffic. Fixed.
- Auto-reconnect (default on) with exponential backoff + jitter (0.5 s → 30 s).
After each reconnect the full config is re-fetched (the server's normal bootstrap
snapshot), and
on_changefires withsource="resync"for every key that was added or changed while offline. Keys deleted while offline are removed silently, like live deletes.auto_reconnect=Falserestores the 0.2.0 behaviour. - Keepalive. A WebSocket ping every
ping_interval(20 s). If the server has answered pings and then nothing arrives forping_interval + ping_timeout(30 s), the link is treated as dead and the client reconnects. A server that never answers pings is not treated as dead. - Writes are never queued.
set()/mkdir()/delete_key()raiseConnectionErrorwhen not READY.
Fail-closed reads (kill switches)
A cached value going stale silently is the wrong failure mode for a halt switch. Every read can say how stale it may be:
from kiponos import Kiponos
k = Kiponos.connect()
def trading_halted() -> bool:
# True (halt) if the dashboard says so, if the key is missing or unparsable,
# or if we have been disconnected for more than 5 seconds.
return k.get_bool("trading/halt", default=True, max_staleness=5)
k.state,k.is_connected,k.on_state_change(cb(old, new)),k.wait_ready(timeout)k.staleness_seconds–0.0while READY, else seconds since the last known sync (infif never synced);k.last_sync_time– epoch seconds of that momentk.get(path, default, max_staleness=N)–defaultif staler than N secondsk.require_fresh(N)– raisesStaleConfigError;k.is_fresh(N)– boolmax_staleness=0means "only trust values while READY"
Limits: a silently dead network path is only noticed via the ping keepalive, so in
the worst case reads stay "fresh" for about ping_interval + ping_timeout after the
link died (30 s by default; lower ping_interval / ping_timeout for tighter kill switches).
This relies on the server answering WebSocket pings; if it does not, a half-open link
is only noticed when TCP gives up.
Typed getters with range checks
silence = k.get_float("voice/vad_min_silence", 0.55, min=0.05, max=3.0)
retries = k.get_int("http/retries", 3, min=0, max=10)
enabled = k.get_bool("features/new-ui", False)
They return default when the key is missing, empty, unparsable or outside
[min, max] (and with max_staleness, when stale). get() is unchanged and still
returns raw strings.
Folder-scoped listeners
k.on_change(lambda key, value, folders, source, delta: print(key, value), folder="voice")
Last-known-good backup and offline startup (opt-in)
k = Kiponos.connect(
backup_path="/var/lib/myapp/kiponos-lkg.json", # or env KIPONOS_BACKUP_PATH
offline_startup=True, # or env KIPONOS_OFFLINE_STARTUP=1
)
- With
backup_path, the full tree is written there (temp file +os.replace, mode 0600) after every load and change. - With
offline_startup=True, if the server can't be reached at startup the client startsOFFLINEfrom that backup and keeps reconnecting;staleness_secondscounts from the backup's save time, so fail-closed reads still fail closed. - Both are off by default: without them, an unreachable server at startup raises
ConnectionErrorexactly like 0.2.0, and nothing is written to disk (the backup holds your config values in plain text). - A missing, corrupt, foreign-format or other-profile backup is ignored, and
startup raises
ConnectionError. Rejected credentials (AuthError) always raise.
All constructor options
auto_reconnect=True, backup_path=None, offline_startup=False,
connect_timeout=25, ping_interval=20 (None disables), ping_timeout=10,
reconnect_min_delay=0.5, reconnect_max_delay=30, plus the 0.2.0 options
server_url, kiponos_id, kiponos_access, quiet, request_timeout.
Docs
- DESIGN.md — architecture Skill / MCP / SDK
- CHANGELOG.md
- skill/references/onboarding.md
- Homepage: https://kiponos.io
License
Apache-2.0
Metadata
Release files for kiponos 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kiponos-0.3.0.tar.gz | 27.8 kB | Without provenance | Details for kiponos-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kiponos-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for kiponos-0.3.0-py3-none-any.whl |
Total release size: 54.4 kB
Release files / kiponos-0.3.0.tar.gz
| Download URL | kiponos-0.3.0.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20f884f1b0b72a226c5c4088c4eb95e037647b1d280942eacb4a60ac7eac463f
|
|
BLAKE2b-256 checksum How to use checksums |
510b4e2bf79ab6a028e3c1796ecab99e39b77b9d839532f30cd6ab1976e2ba9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / kiponos-0.3.0-py3-none-any.whl
| Download URL | kiponos-0.3.0-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f609bcf870297c5996d2d20323d945fefe8cbe36cc3e0b0913a5fbd266b8d638
|
|
BLAKE2b-256 checksum How to use checksums |
b719351405f2c5d71b057c83cba76290f4aa7a7ea4794d73df78df5eba11e2e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for kiponos 0.3.0
Provenance
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
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.