Coding agent written in Clojure
-
Updated
Dec 5, 2026 - Clojure
Coding agent written in Clojure
srce (Serbian: heart): a standalone Clojure kernel with a context tree, services claimed by keyword, plugins as data, declared dependencies, and reversible effects. Mount in any order; reload and tear down in one call. No third-party deps; runs on Babashka, JVM Clojure and Jolt. Inspired by Cordis.
host: the portable host floor for Clojure and Babashka programs. Time and queue primitives, durable UTF-8 writes, atomic publish and file locking, an EDN settings and credential store, and process-tree management across Babashka, JVM Clojure and Jolt.
reakt: a standalone reactive engine for Clojure over plain atoms. Auto-dependency-discovering reactions, cursors, batching and weak subscriptions, with no toolkit or rendering concepts. A Babashka port of reagent.ratom semantics that also runs on JVM Clojure and Jolt.
hikap: a toolkit-agnostic Hiccup component engine and component runtime for Clojure. Plain-data trees, keyed reconciliation, function components, reactive render caching and per-instance state, built on reakt and shared by the TUI and Tk backends.
net: the outbound and wire layer for Clojure and Babashka programs. One HTTP entry point, JSON parsing and serialization, JSON-RPC, SSE framing, and OAuth/JWT auth primitives, sitting on host and below the MCP client, provider library and kmet application.
loader: a portable Loader abstraction for Babashka, JVM Clojure and Jolt. Find, resolve, load and unload namespaces, vars, classes and resources through one contract, with memoized links, resource handling and non-blocking teardown for plugins and extensions.
ai: the provider and authentication library for kmet. Provider catalogs, model configuration, wire adapters for Anthropic, OpenAI, Google, Bedrock and Mistral, OAuth and API-key resolution, usage accounting, and image-model generation.
tk: a Tk (Tcl/Tk 8.6+, preferring 9.1) backend for the hikap Hiccup engine. Classic tk and themed ttk widget tag sets, a Tcl adapter over host FFI, a DSL and option vocabulary, plus a sample transcript widget.
sklop (Serbian: assembly): the composition layer above srce. Rows, bundles, profiles, patches, cards and mounts as data, with the caller supplying source resolution and policy. A small EDN-driven language for assembling plugin trees.
mcp: a Model Context Protocol client for Clojure and Babashka. Protocol core, stdio and streamable HTTP transports, and OAuth policy for protected servers, sitting on host and net and consumed by the kmet application and its MCP adapter extension.
tui: a generic terminal-UI library for Clojure and Babashka built on the hikap Hiccup engine and reakt reactive engine. Components, a Hiccup DSL, input handling, differential rendering and terminal hosts, independent of any application.
To associate your repository with the kmet topic, visit your repo's landing page and select "manage topics."