{"slug": "kev-4b-is-live-on-phala-typed-decisions-for-ai-agents", "title": "Kev-4B is live on Phala: typed decisions for AI agents", "summary": "Jared Palmer released Kev-4B, an Apache-2.0 LoRA adapter and pointer head on Qwen3.5 4B Base, and the model is now live in beta on Phala, served inside a TDX-attested enclave through Phala's model catalog at POST /v1/systemone. Kev-4B implements TypeSafe's public System One API, returning one probability distribution per question across three question types — noul, choice, and score — without generating text, so agent orchestrators can threshold, route, and log bounded decisions from a single shared state. The release matters because it gives agent developers a verifiable infrastructure boundary for decision inference on inputs such as customer messages, policy documents, and financial records, with Phala exposing receipt, gateway-attestation, and attested-session signals on the live model page.", "body_md": "*An open decision model for yes/no probabilities, choices, and scores, served in a Phala TDX-attested enclave.*\n\nA customer writes: “I was charged twice this month. Please fix it today.”\n\nThe workflow needs a few explicit decisions. Is this a billing issue? How urgent is it? Should a human review the case?\n\nKev-4B answers those questions as probability distributions over options defined by the application. One request can share the same state across several independent questions, giving the orchestrator outputs it can threshold, route, and log.\n\n**Kev-4B is now live in beta on Phala.** The model runs inside a TDX-attested enclave and is available through Phala’s model catalog at `POST /v1/systemone`.\n\n## From generated language to bounded decisions\n\nGeneral-purpose language models are useful when a workflow needs prose. Production agents also need bounded outputs that application code can act on directly.\n\nKev describes itself as Jev-inspired and implements TypeSafe’s public System One API. Jared Palmer released Kev-4B as an Apache-2.0 LoRA adapter and pointer head on Qwen3.5 4B Base.\n\nThe System One API accepts one shared state and multiple independent questions in one request. Kev-4B returns one probability distribution per question without generating text.\n\nIt supports three question types:\n\n**noul**\n**choice**\n**score**\n\nThat interface gives agent developers a clean control point: define the allowed answers, evaluate confidence, and route the result according to the application’s own thresholds.\n\n## Why decision workloads belong in confidential infrastructure\n\nDecision requests can contain customer messages, policy documents, internal records, incident details, financial context, and proposed high-impact actions. The model may need the exact application state to return a useful answer.\n\nPhala serves Kev-4B inside a TDX-attested enclave. The live model page exposes receipt, gateway-attestation, and attested-session signals that developers can use to inspect the execution path.\n\nThis gives builders a concrete infrastructure boundary for decision inference: the model runs in a hardware-isolated environment whose runtime can be verified through attestation evidence.\n\n## Quickstart: ask Kev-4B for a typed decision\n\nSend a System One request to Phala’s inference endpoint:\n\n```\ncurl https://inference.phala.com/v1/systemone \\\n  -H \"Authorization: Bearer $PHALA_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"jaredpalmer/kev-4b\",\n    \"state\": \"I was charged twice this month. Please fix it today.\",\n    \"questions\": {\n      \"billing\": {\n        \"type\": \"noul\",\n        \"instructions\": \"Is this about billing?\"\n      },\n      \"tone\": {\n        \"type\": \"choice\",\n        \"instructions\": \"What is the tone?\",\n        \"criteria\": {\n          \"calm\": null,\n          \"upset\": null\n        }\n      }\n    }\n  }'\n```\n\nThe request evaluates both questions against the same customer message. The workflow can route the case to billing, apply an urgency threshold, or send a low-confidence result to review.\n\n## Where Kev-4B fits\n\nUse Kev where application logic needs a bounded answer:\n\n- route a support or operations case;\n- select the next tool or approval path;\n- check a record against explicit policy options;\n- decide when confidence is high enough to automate;\n- send the remaining cases to human review.\n\nThe application owns the option set and operating thresholds. Kev-4B supplies the probability distribution.\n\n## Set thresholds on your workload\n\nKev-4B applies a fitted temperature to its output probabilities, giving teams a useful starting point for threshold-based workflows. Production thresholds should come from labeled examples that match the documents, option sets, and error costs in the real application.\n\nA support team may automate routing above a high-confidence threshold and review the remaining cases. A policy workflow may use stricter thresholds when an incorrect action carries greater cost.\n\nKev-4B currently targets English. Date arithmetic is one of its weakest published task families. Fully automated legal, medical, financial, employment, and similarly consequential decisions about people remain outside its intended use; keep human review in those workflows.\n\n## Live on Phala\n\nThe current Phala deployment includes:\n\n- **Model ID:**`jaredpalmer/kev-4b`\n- **Endpoint:**`POST /v1/systemone`\n- **Validated context:** 8,192 tokens\n- **Phala catalog input price:** $0.04 per 1M tokens\n- **Output price:** Free\n- **Model release:** Apache-2.0 adapter and pointer head on the Apache-2.0 Qwen3.5 4B Base\n- **Provider:** Phala\n- **Runtime:** TDX-attested enclave\n- **Availability:** Beta\n\n## Build with Kev-4B on Phala\n\nStart with a labeled slice of your workload, test the model’s calibration, and set thresholds around the cost of each error.", "url": "https://wpnews.pro/news/kev-4b-is-live-on-phala-typed-decisions-for-ai-agents", "canonical_source": "https://phala.com/posts/kev-4b-live-phala-typed-decisions-ai-agents", "published_at": "2026-10-13 19:01:00+00:00", "updated_at": "2026-11-11 11:19:31.267306+00:00", "lang": "en", "topics": ["ai-agents", "ai-products", "ai-infrastructure", "large-language-models", "ai-safety"], "entities": ["Kev-4B", "Phala", "Jared Palmer", "TypeSafe", "System One API", "Qwen3.5 4B Base"], "also_reported_by": [], "takeaway": "Kev-4B accepts one shared state and multiple independent questions in a single System One request and returns a probability distribution per question — typed as noul, choice, or score — with a fitted temperature on outputs, so developers set their own thresholds from labeled examples rather than gen", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/kev-4b-is-live-on-phala-typed-decisions-for-ai-agents", "markdown": "https://wpnews.pro/news/kev-4b-is-live-on-phala-typed-decisions-for-ai-agents.md", "text": "https://wpnews.pro/news/kev-4b-is-live-on-phala-typed-decisions-for-ai-agents.txt", "jsonld": "https://wpnews.pro/news/kev-4b-is-live-on-phala-typed-decisions-for-ai-agents.jsonld"}}