Observed since 20 Oct, 22:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
⚛️ AgentKthx - A minimal, modular, python stdlib, agentic framework for tool calling AI agents
Status: Alpha
A minimal, modular, python stdlib, agentic framework for tool calling AI agents. Runs locally with BitNet, Ollama, TurboQuant, and stable-diffusion.cpp (image generation), in the cloud with Cloudflare, Google, HuggingFace, Mistral, NVIDIA, OpenAI, OpenRouter, OrcaRouter, Pollinations, SiliconFlow, TokenHarbor and ZAI. Extensible via a manifest-based plugin system for additional backends and features.
Inspired by the architecture of OpenClaw, rebuilt from scratch for local-first operation.
Written by VTSTech · GitHub Discord
# Latest Development Release
pip install git+https://github.com/VTSTech/AgentKthx.git --force-reinstall
# Last Stable (as stable as Alpha can be) Release
pip install agentkthx
| Document | Description |
|---|---|
| ARCH.md | Technical documentation for developers (directory structure, core design, orchestrator modes) |
| CHANGELOG.md | Version history and release notes (includes LocalClaw history) |
| CREDITS.md | Acknowledges every project, inspiration, API, model creator, and specification that makes AgentKthx possible |
| DISCORD.md | Discord bot guide — portal setup + invite URL, agentkthx discord setup wizard, env var reference, per-channel discord.json overrides, slash commands (/ask /think /model /soul /reset /status), run cookbook, troubleshooting matrix (4014/4004/silent bot) |
| docs/api/ | API Technical References — one deep-dive per provider, all in one folder: NVIDIA NIM, ZAI, OpenRouter, Gemini, Hugging Face Router, OpenAI, Mistral, Pollinations, OrcaRouter (auth & endpoints, request/response schemas, model catalogs, function calling, streaming, error codes & recovery, rate limits, free-tier behavior, AgentKthx Backend + plugin.json blueprints, troubleshooting matrices) |
| JEV_API_MODE.md | JEV API mode — System-One decisions via any free LLM (Jev-compatible shape) |
| mcp/ROADMAP.md | MCP support — Phase 1 (client mode, stdio) status + Phase 2 (kthx-audit MCP server) + Phase 3 (generic mcp serve) plan |
| PLUGIN_SPEC_v0.2.md | Plugin spec v0.2 — lifecycle hooks, plugin tools API, external plugin roots, dual-form manifests, migration guide from v0.1 |
| STABLE_DIFFUSION_BACKEND_PLAN.md | Stable Diffusion backend design (D1–D5) — sd.cpp wire facts pinned at source commit 228c707, capabilities discovery, image-artifact pipeline, test plan |
| SUPPORT.md | Backend support tiers — Fully Supported vs Limited Support per-backend policy (R07.25) |
| USAGE.md | Usage guide — CLI commands, backend configurations (OpenRouter/Gemini/HuggingFace/ZAI/TurboQuant), Python API, persistent memory, security modes, environment variables, MCP client setup, full CLI options table |
| TESTS.md | Example scripts, test categories, benchmark results, and per-test deep-dive results |
on_init/on_run_start/on_run_end/on_error/on_shutdown), plugin-provided tools, external plugin roots (~/.agentkthx/plugins/, $AGENTKTHX_PLUGIN_PATH), optional sha256 content pinning (R07.05 SEC-06), plugins --load/--unload/--reload/--json/--verbose managementllama-server binary under the hood — --backend turboquant is the primary name; --backend llama-server remains as a backward-compat alias. Stable Diffusion follows the same pattern: --backend stable-diffusion is the primary name, --backend sd the alias.)--backend sd turns each chat turn into ONE image via an external stable-diffusion.cpp server (sd-server -m <model> --listen-port 1234 — Ollama pattern: AgentKthx never manages the process). The flattened conversation becomes the prompt (harness system prompt suppressed, DDG-style), and the returned PNG is written to the artifacts dir (AGENTKTHX_ARTIFACTS_DIR, default ./generated/) — the reply carries [image saved: <path>]. R07.32: --max-steps N --backend sd remaps to diffusion sample steps (validated 1–100, applied per request via the server's sd_cpp_extra_args — no restart) and the session header shows Sample Steps instead of Max Steps.:free tier); Pollinations, OrcaRouter, OpenAI, and the R07.29 SiliconFlow scaffold are Limited Support (code-quality identical, but the maintainer's API key access has been unavailable for an extended period — SiliconFlow passed its live catalog probe (79 models, R07.29) and its 2026-10-09 smoke attempt verified auth, the catalog, and one --think generation before the account balance drained; both tool-call steps returned 402 insufficient-balance, so it awaits a topped-up 5/5 run). See docs/SUPPORT.md for the full policy + what "Limited Support" means in practice. Local backends (TurboQuant, Ollama, BitNet, Stable Diffusion) are always Fully Supported (no external API key needed).--api openre) and OpenAI Chat-Completions (--api openai)--api jev) — Jev-compatible shape, no TypeSafe API key required--thinking off|auto|low|medium|high to control model reasoning effort, --think flag to display reasoning_content (chain-of-thought) in CLI output. R07.26: streaming spinner starts even during streaming and stops on first chunk (thinking models that take 60-90+ seconds before the first token no longer look hung)none falls back to ReAct — no models classified none) plus a think column for thinking/reasoning supportTrue/False/None inside string values no longer mangled)0o700/0o600 (R07.05). Toggleable via --security max|off.--session); writes are thread-safe (R07.05 ROB-03)/model switch re-derives per-model state (R07.06 ROB-14) — num_ctx, num_predict, model_config, model_family all follow the new model; values pinned via --num-ctx/--num-predict//param survive the switch--mcp filesystem); date/time comes from the MCP time server (@infoinlet/mcp-time, pre-configured by agentkthx mcp init). Load mid-session via /tool calculator,shell<server>__<tool> namespacing. The filesystem server covers read/write/edit/list operations. See docs/USAGE.md#mcp-model-context-protocol for the full guide (mcp init / mcp probe / mcp search / mcp install / chat --mcp [server...]).--confirm flag for interactive approval of destructive operations (shell)--response-format json for structured JSON responsesagentkthx update to update to latest version from GitHubagentkthx version shows both too; always live (no cache — every run queries PyPI + GitHub main directly), fails silently offline, opt out with AGENTKTHX_NO_UPDATE_CHECK=1⏱️ N steps, M tool calls, Xms + tools used) in both chat and agent modes (R07.15)audit/audit.md with stable IDs (SEC / ROB / MAINT / PERF / FEAT / ARCH / TEST / MCP) and closure deltas. 101 CLOSED + 10 WONTFIX of 125 findings archived (~89%). See the audit dashboard for the live register.All usage instructions have moved to docs/USAGE.md — CLI commands, backend configurations, Python API, persistent memory, dangerous-tool confirmation, JSON structured output, TurboQuant server management, tool support, model families, security modes, environment variables, MCP client setup, and the full CLI options table.
Quick reference:
# Single prompt
agentkthx run "What is 2+2?"
# Interactive chat
agentkthx chat
# Autonomous agent mode
agentkthx agent "Research the latest AgentKthx release"
# Image generation (requires a local sd-server: sd-server -m <model> --listen-port 1234)
agentkthx run "a lovely cat" --backend sd
# Set API keys (interactive picker, persists to ~/.agentkthx/.env)
agentkthx auth
# MCP (Model Context Protocol) — see docs/USAGE.md#mcp-model-context-protocol
agentkthx mcp init
agentkthx chat --mcp filesystem
For backend configs, security modes, environment variables, MCP setup, and the complete CLI options table, see docs/USAGE.md.
AgentKthx ships a comprehensive suite of regression tests + 12 example scripts covering reasoning, knowledge, and tool usage. See docs/TESTS.md for the example scripts, test categories, and benchmark results.
# Regression test suite (3498 passed / 20 skipped in ~26s)
pytest
# Quick 5-question diagnostic example
python -m agentkthx.examples.01_quick_diagnostic
# Install dev dependencies
pip install -e ".[dev]"
# Run unit tests (3498 passed / 20 skipped in ~26s)
pytest
# Format code (CI gates on ruff + black over agentkthx/ and tests/)
black agentkthx tests
ruff check agentkthx tests
AgentKthx is developed with an audit-tracked discipline: every release since R07.04 documents findings in audit/audit.md with stable IDs (SEC-XX, ROB-XX, MAINT-XX, PERF-XX, FEAT-XX, ARCH-XX, TEST-XX, MCP-XX) and closure deltas.
audit/brief.md — condensed intelligence brief for the current codebase (≤16K tokens; load this first when contributing)audit/audit.md — detailed findings report with severity, recommendations, and closure status per releaseaudit/deltas.md — CLOSED + WONTFIX archive with closure prose per findingcodebase-audit skill ships with the repo at agentkthx/skills/codebase-audit/ — invoke via /skill codebase-audit in chat mode to regenerate the brief against the current codebase.audit/generate_audit_dash.py (run manually before GitHub/CI per owner policy).Cumulative closure state: 101 CLOSED + 10 WONTFIX of 125 findings (111 archived, ~89%) across R07.00 → R07.26; test suite at 3055 passed / 20 skipped.
MIT License - See LICENSE file for details.
VTSTech — https://www.vts-tech.org
Contributions welcome!
See docs/CHANGELOG.md for detailed version history and release notes.
The name honors the IRC-era slang "kthx" (OK, thanks) — a callback to early internet culture. It's distinctive, memorable, and (most importantly) completely unused by any other AI agent project as of September 2026. The CLI binary agentkthx is short and easy to type.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.7.34 | 12 Oct 2026 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b00faf99459bfba34e42f8cdea5381d2cb026f1e1a1f0aa3a63ce1ac8ef75571