The outbound and wire layer for Clojure/Babashka programs: the HTTP and JSON boundaries, SSE and JSON-RPC framing, and the OAuth/JWT auth primitives. It sits on host and below the MCP client, the provider library and the kmet application.
| Namespace | What it owns |
|---|---|
kmet.net.http |
the single HTTP entry point, direct and proxied |
kmet.net.json |
JSON parse and serialize through one boundary |
kmet.net.jsonrpc |
JSON-RPC request, response and framing |
kmet.net.jwt |
JWT claims, signing and verification |
kmet.net.oauth |
OAuth flows, PKCE and token refresh |
kmet.net.sse |
server-sent event framing and idle reads |
Every outbound HTTP request in a kmet-family project goes through
kmet.net.http; no other namespace may require an HTTP client or spawn
curl.
{:deps {kmet/host {:git/url "https://github.com/kmetia/host.git"
:git/sha "<full-commit-sha>"}
kmet/net {:git/url "https://github.com/kmetia/net.git"
:git/sha "<full-commit-sha>"}}}The :test alias uses the sibling ../host checkout.
bb test
jolt test
The JVM suite uses clojure -M:test.
Copyright © 2026 — present Marko Kocic marko@euptera.com
Licensed under the Eclipse Public License 2.0 (EPL-2.0).