Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agentdojoredteam
command
Command agentdojoredteam runs the dynamic AgentDojo-style red-team battery (internal/agentdojo) against the stacked defense and prints the PER-ATTACK verdict stream, then folds every outcome into a frozen harvest LabelRow corpus.
|
Command agentdojoredteam runs the dynamic AgentDojo-style red-team battery (internal/agentdojo) against the stacked defense and prints the PER-ATTACK verdict stream, then folds every outcome into a frozen harvest LabelRow corpus. |
|
batchbench
command
Command batchbench measures the AGGREGATE decode throughput of the multi-user batched decode (internal/model.BatchSession) as a function of batch size B — the "continuous batching" / multi-user serving regime MODEL-BASELINE-RESULTS.md scoped out as "vLLM's claim, not fak's".
|
Command batchbench measures the AGGREGATE decode throughput of the multi-user batched decode (internal/model.BatchSession) as a function of batch size B — the "continuous batching" / multi-user serving regime MODEL-BASELINE-RESULTS.md scoped out as "vLLM's claim, not fak's". |
|
causalbench
command
Command causalbench is the end-to-end demonstrator for fak's CAUSAL invalidation-on-external-write: a tool RESULT cached under an external world-state witness (a git commit / blob hash / etag) is evicted byte-exact — and only it — the moment a later external write REFUTES that witness, while every sibling cached under an unrefuted witness stays warm.
|
Command causalbench is the end-to-end demonstrator for fak's CAUSAL invalidation-on-external-write: a tool RESULT cached under an external world-state witness (a git commit / blob hash / etag) is evicted byte-exact — and only it — the moment a later external write REFUTES that witness, while every sibling cached under an unrefuted witness stays warm. |
|
ctxbench
command
Command ctxbench runs the fak security gates over a corpus of tool calls and tool results.
|
Command ctxbench runs the fak security gates over a corpus of tool calls and tool results. |
|
ctxdemo
command
Command ctxdemo is the live, on-box demo of fak's value in the MULTI-AGENT, MULTI-TURN, LONG-CONTEXT regime — the one where the context CHANGES every turn as tool calls land heterogeneous, variable-sized results.
|
Command ctxdemo is the live, on-box demo of fak's value in the MULTI-AGENT, MULTI-TURN, LONG-CONTEXT regime — the one where the context CHANGES every turn as tool calls land heterogeneous, variable-sized results. |
|
deletioncert
command
Command deletioncert is the end-to-end demonstrator for fak's provable-deletion receipt.
|
Command deletioncert is the end-to-end demonstrator for fak's provable-deletion receipt. |
|
demorace
command
Command demorace is the live, on-box demo of fak's value point: REUSE.
|
Command demorace is the live, on-box demo of fak's value point: REUSE. |
|
diagtok
command
Command diagtok is a throwaway diagnostic: it loads a GGUF via the same path simpledemo uses, then (1) round-trips a known string through the embedded tokenizer and (2) greedily decodes a ChatML prompt while printing each raw token id next to its decode.
|
Command diagtok is a throwaway diagnostic: it loads a GGUF via the same path simpledemo uses, then (1) round-trips a known string through the embedded tokenizer and (2) greedily decodes a ChatML prompt while printing each raw token id next to its decode. |
|
fak
command
Command fak is an agent tool firewall: one statically-linked Go binary that runs an agentic tool loop where every tool call passes through one in-process policy and quarantine boundary (adjudicate -> vDSO -> pre-flight/grammar -> dispatch -> context-MMU admit).
|
Command fak is an agent tool firewall: one statically-linked Go binary that runs an agentic tool loop where every tool call passes through one in-process policy and quarantine boundary (adjudicate -> vDSO -> pre-flight/grammar -> dispatch -> context-MMU admit). |
|
fakchat
command
Command fakchat runs an end-to-end chat completion with fak's OWN in-kernel engine — no llama-server, no external proxy.
|
Command fakchat runs an end-to-end chat completion with fak's OWN in-kernel engine — no llama-server, no external proxy. |
|
fanbench
command
Command fanbench runs the ONE-MASTER-GOAL → N-SUBAGENT fan-out sweep — the orchestrator-worker topology (one lead decomposes a goal, spawns N sub-agents, folds their results) swept from N=1 to N=1000+, the regime no public benchmark maps (see experiments/fanout/RESEARCH-BRIEF-fanout-2026-06-17.md).
|
Command fanbench runs the ONE-MASTER-GOAL → N-SUBAGENT fan-out sweep — the orchestrator-worker topology (one lead decomposes a goal, spawns N sub-agents, folds their results) swept from N=1 to N=1000+, the regime no public benchmark maps (see experiments/fanout/RESEARCH-BRIEF-fanout-2026-06-17.md). |
|
fleetbench
command
Command fleetbench runs the 2-D turn-tax sweep — turns-per-agent (T) × fleet size (A) — over the REAL kernel and writes the surface as JSON + CSV for curve fitting.
|
Command fleetbench runs the 2-D turn-tax sweep — turns-per-agent (T) × fleet size (A) — over the REAL kernel and writes the surface as JSON + CSV for curve fitting. |
|
fleetserve
command
Command fleetserve measures the CROSS-AGENT SHARED-PREFIX fleet workload — the regime where fak's kernel-owned KV cache structurally beats a per-slot serving engine (llama.cpp) by more than 2×, not by a faster kernel but by NOT REDOING WORK.
|
Command fleetserve measures the CROSS-AGENT SHARED-PREFIX fleet workload — the regime where fak's kernel-owned KV cache structurally beats a per-slot serving engine (llama.cpp) by more than 2×, not by a faster kernel but by NOT REDOING WORK. |
|
gemma4diag
command
Command gemma4diag loads a gemma4 GGUF ONCE and sweeps the uncertain forward axes (softmax scale 1.0 vs 1/sqrt(d), rope_freqs on/off, decoder-norm plain vs (1+w)), printing the top-k next-token predictions for a fixed prompt under each.
|
Command gemma4diag loads a gemma4 GGUF ONCE and sweeps the uncertain forward axes (softmax scale 1.0 vs 1/sqrt(d), rope_freqs on/off, decoder-norm plain vs (1+w)), printing the top-k next-token predictions for a fixed prompt under each. |
|
ggufprobe
command
Command ggufprobe dumps a GGUF file's architecture using fak's own internal/ggufload parser — no llama.cpp.
|
Command ggufprobe dumps a GGUF file's architecture using fak's own internal/ggufload parser — no llama.cpp. |
|
gpucheck
command
Command gpucheck is the real-model correctness witness for the GPU backend: it loads a HuggingFace safetensors checkpoint (e.g.
|
Command gpucheck is the real-model correctness witness for the GPU backend: it loads a HuggingFace safetensors checkpoint (e.g. |
|
kpiprobe
command
Command kpiprobe prints the RSI loop's demo KPI — the deterministic LRU hit-rate (internal/rsiloop.HitRate) over a fixed reference trace — as a single `KPI=<float>` line the loop's worktree Measurer parses.
|
Command kpiprobe prints the RSI loop's demo KPI — the deterministic LRU hit-rate (internal/rsiloop.HitRate) over a fixed reference trace — as a single `KPI=<float>` line the loop's worktree Measurer parses. |
|
lensviz
command
Command lensviz is a visual next-token debugger for fak's own in-kernel engine.
|
Command lensviz is a visual next-token debugger for fak's own in-kernel engine. |
|
loadgen
command
loadgen drives an OpenAI-compatible /v1/chat/completions endpoint at a sweep of concurrency levels and reports throughput.
|
loadgen drives an OpenAI-compatible /v1/chat/completions endpoint at a sweep of concurrency levels and reports throughput. |
|
modelbench
command
Command modelbench measures the in-kernel pure-Go forward pass latency so the fusion lane has a HONEST throughput baseline to set against the next-best ways to run the same model (HF transformers; see bench_hf.py for the witness side).
|
Command modelbench measures the in-kernel pure-Go forward pass latency so the fusion lane has a HONEST throughput baseline to set against the next-best ways to run the same model (HF transformers; see bench_hf.py for the witness side). |
|
modelprof
command
Command modelprof is the in-kernel forward pass inspecting ITSELF: it runs the modular bottleneck profiler (internal/model/profile.go) over a real decode and a real prefill, plus an uninstrumented Session.Step decode measurement.
|
Command modelprof is the in-kernel forward pass inspecting ITSELF: it runs the modular bottleneck profiler (internal/model/profile.go) over a real decode and a real prefill, plus an uninstrumented Session.Step decode measurement. |
|
paritybench
command
Command paritybench assembles the CROSS-MODEL parity artifact: it ingests the live fak-agent A/B reports for a ladder of LOCAL models (produced by tools/run_local_model.sh via the OpenAI-compatible shim) plus the committed FRONTIER reference cards (hosted Claude Haiku/Sonnet, measured + graded on the same frozen task), scores every card on the three never-blended axes (capability / safety / cost), and emits the parity table.
|
Command paritybench assembles the CROSS-MODEL parity artifact: it ingests the live fak-agent A/B reports for a ladder of LOCAL models (produced by tools/run_local_model.sh via the OpenAI-compatible shim) plus the committed FRONTIER reference cards (hosted Claude Haiku/Sonnet, measured + graded on the same frozen task), scores every card on the three never-blended axes (capability / safety / cost), and emits the parity table. |
|
pipelinegen
command
Command pipelinegen runs fak's NATIVE engine generating tokens across pipeline-parallel stages — the runnable form of the cross-device transport contract (internal/model/pipeline.go).
|
Command pipelinegen runs fak's NATIVE engine generating tokens across pipeline-parallel stages — the runnable form of the cross-device transport contract (internal/model/pipeline.go). |
|
prefixlint
command
Command prefixlint is the §A3 prefix-stability devtool (GLM52-HOSTED-CACHE- COHERENCE): it reads a recorded conversation and reports the provider-cache consequence — how many prompt tokens are cacheable across the session, how many are re-billed, the specific turn where the prefix broke, and the recoverable uplift from fixing volatile-ahead-of-stable ordering.
|
Command prefixlint is the §A3 prefix-stability devtool (GLM52-HOSTED-CACHE- COHERENCE): it reads a recorded conversation and reports the provider-cache consequence — how many prompt tokens are cacheable across the session, how many are re-billed, the specific turn where the prefix broke, and the recoverable uplift from fixing volatile-ahead-of-stable ordering. |
|
q4kdiag
command
|
|
|
q8bench
command
Command q8bench is an INDEPENDENT verifier for the int8-quantized in-kernel forward path (internal/model: Model.Quantize + Session.Quant).
|
Command q8bench is an INDEPENDENT verifier for the int8-quantized in-kernel forward path (internal/model: Model.Quantize + Session.Quant). |
|
q8kernel
command
Command q8kernel is a self-contained kernel microbenchmark that isolates ONE question from all model/WSL/load overhead: in pure Go on this box, which GEMV kernel is fastest for the memory-bound batch-1 decode regime —
|
Command q8kernel is a self-contained kernel microbenchmark that isolates ONE question from all model/WSL/load overhead: in pure Go on this box, which GEMV kernel is fastest for the memory-bound batch-1 decode regime — |
|
qwen35check
command
Command qwen35check loads a Qwen3.5 / Qwen3-Next hybrid HF snapshot with fak's own in-kernel forward pass and greedy-decodes a few tokens from a given prompt (token ids), printing the generated ids.
|
Command qwen35check loads a Qwen3.5 / Qwen3-Next hybrid HF snapshot with fak's own in-kernel forward pass and greedy-decodes a few tokens from a given prompt (token ids), printing the generated ids. |
|
radixbench
command
Command radixbench benchmarks fak's KV-cache prefix reuse against SGLang's RadixAttention (arXiv:2312.07104 / NeurIPS 2024) on the metric SGLang's own paper headlines: CACHE HIT RATE — the fraction of prompt tokens served from cache instead of recomputed.
|
Command radixbench benchmarks fak's KV-cache prefix reuse against SGLang's RadixAttention (arXiv:2312.07104 / NeurIPS 2024) on the metric SGLang's own paper headlines: CACHE HIT RATE — the fraction of prompt tokens served from cache instead of recomputed. |
|
rsicycle
command
Command rsicycle drives ONE recursive-self-improvement keep-or-revert decision through fak's own non-forgeable keep-bit (internal/shipgate.Evaluate).
|
Command rsicycle drives ONE recursive-self-improvement keep-or-revert decision through fak's own non-forgeable keep-bit (internal/shipgate.Evaluate). |
|
rsiloop
command
Command rsiloop is fak's TRUE recursive-self-improvement loop — the closed-loop companion to cmd/rsicycle's one-shot.
|
Command rsiloop is fak's TRUE recursive-self-improvement loop — the closed-loop companion to cmd/rsicycle's one-shot. |
|
sessionbench
command
Command sessionbench measures the NET VALUE-ADD of the fused agent kernel on a realistic long, multi-agent session — the regime the whole fusion exists for, and the one a per-call / per-turn naive setup pays for dearly.
|
Command sessionbench measures the NET VALUE-ADD of the fused agent kernel on a realistic long, multi-agent session — the regime the whole fusion exists for, and the one a per-call / per-turn naive setup pays for dearly. |
|
simpledemo
command
Command simpledemo is the friendliest way to chat with a local AI model.
|
Command simpledemo is the friendliest way to chat with a local AI model. |
|
tpcheck
command
Command tpcheck runs fak's NATIVE-engine TENSOR-parallel decomposition end to end over SIMULATED ranks (single box, in-memory, no GPU/NCCL/checkpoint) — the runnable form of the intra-layer sharding contract (internal/model/tensor_parallel.go).
|
Command tpcheck runs fak's NATIVE-engine TENSOR-parallel decomposition end to end over SIMULATED ranks (single box, in-memory, no GPU/NCCL/checkpoint) — the runnable form of the intra-layer sharding contract (internal/model/tensor_parallel.go). |
|
turntaxdemo
command
Command turntaxdemo is the live, on-box demo of how fak SAVES MODEL TURNS.
|
Command turntaxdemo is the live, on-box demo of how fak SAVES MODEL TURNS. |
|
webbench-convert
command
webbench-convert converts WebVoyager dataset to webbench format.
|
webbench-convert converts WebVoyager dataset to webbench format. |
|
webbench-run
command
webbench-run is a reproducible end-to-end webbench runner.
|
webbench-run is a reproducible end-to-end webbench runner. |
|
webbench-token-measure
command
webbench-token-measure measures actual token usage from model API runs.
|
webbench-token-measure measures actual token usage from model API runs. |
|
internal
|
|
|
abi
events.go — the closed core EventKind vocabulary (additive).
|
events.go — the closed core EventKind vocabulary (additive). |
|
adjudicator
Package adjudicator is the in-process DOS reference monitor — the v0.1 realization of the Adjudicator seam.
|
Package adjudicator is the in-process DOS reference monitor — the v0.1 realization of the Adjudicator seam. |
|
agent
Package agent is the REAL agentic loop: a live model (the planner) drives a multi-turn tool-calling conversation, and EVERY tool call it emits is mediated — on the "fak" arm — by the in-process kernel syscall (vDSO -> adjudicate -> grammar repair -> dispatch -> context-MMU admit).
|
Package agent is the REAL agentic loop: a live model (the planner) drives a multi-turn tool-calling conversation, and EVERY tool call it emits is mediated — on the "fak" arm — by the in-process kernel syscall (vDSO -> adjudicate -> grammar repair -> dispatch -> context-MMU admit). |
|
agentdojo
Package agentdojo replaces the STATIC poison.json fixture with a DYNAMIC, adaptive attack battery scored by Attack Success Rate (ASR) — the AgentDojo (Debenedetti et al., 2024) evaluation discipline.
|
Package agentdojo replaces the STATIC poison.json fixture with a DYNAMIC, adaptive attack battery scored by Attack Success Rate (ASR) — the AgentDojo (Debenedetti et al., 2024) evaluation discipline. |
|
appversion
Package appversion resolves the fleet/FAK application version from the single repo-level VERSION marker, with build-time and environment fallbacks.
|
Package appversion resolves the fleet/FAK application version from the single repo-level VERSION marker, with build-time and environment fallbacks. |
|
architest
Package architest is the kernel's machine-checked architecture contract.
|
Package architest is the kernel's machine-checked architecture contract. |
|
bench
Package bench is the A/B ablation runner behind `fak bench`.
|
Package bench is the A/B ablation runner behind `fak bench`. |
|
blob
Package blob is the v0.1 default backend behind every abi.Ref: a content-addressed (sha256) in-memory blob store.
|
Package blob is the v0.1 default backend behind every abi.Ref: a content-addressed (sha256) in-memory blob store. |
|
cachemeta
Package cachemeta defines the metadata contract for first-class cache entries.
|
Package cachemeta defines the metadata contract for first-class cache entries. |
|
canon
Package canon is the de-obfuscating canonicalizer + lexical threat detector, factored out of internal/normgate so it is ONE primitive, tested ONCE, and reusable by every gate that needs to scan bytes for a hidden secret or injection on a normalized view — not just the write-time admitter.
|
Package canon is the de-obfuscating canonicalizer + lexical threat detector, factored out of internal/normgate so it is ONE primitive, tested ONCE, and reusable by every gate that needs to scan bytes for a hidden secret or injection on a normalized view — not just the write-time admitter. |
|
cdb
Package cdb is the context debugger: it attaches to a FINISHED agent session as if to a core dump and answers questions by demand-paging only the working set the question touches — never by replaying the whole address space.
|
Package cdb is the context debugger: it attaches to a FINISHED agent session as if to a core dump and answers questions by demand-paging only the working set the question touches — never by replaying the whole address space. |
|
compute
Package compute is the hardware-abstraction seam (HAL) for the in-kernel forward pass.
|
Package compute is the hardware-abstraction seam (HAL) for the in-kernel forward pass. |
|
contextq
Package contextq is the on-demand context materializer over CDB images.
|
Package contextq is the on-demand context materializer over CDB images. |
|
ctxmmu
Package ctxmmu is the context-MMU: a write-time (post-tool) gate on tool RESULTS, the dual of the call-side adjudicator.
|
Package ctxmmu is the context-MMU: a write-time (post-tool) gate on tool RESULTS, the dual of the call-side adjudicator. |
|
deletioncert
Package deletioncert mints and verifies a DeletionCertificate: a single, portable, re-checkable artifact that binds a bit-exact KV eviction to the tamper-evident audit journal that recorded it.
|
Package deletioncert mints and verifies a DeletionCertificate: a single, portable, re-checkable artifact that binds a bit-exact KV eviction to the tamper-evident audit journal that recorded it. |
|
engine
Package engine is the inference-engine seam (the EngineDriver).
|
Package engine is the inference-engine seam (the EngineDriver). |
|
enginecache
Package enginecache binds cachemeta's remote invalidation directives to documented serving-engine control endpoints.
|
Package enginecache binds cachemeta's remote invalidation directives to documented serving-engine control endpoints. |
|
gateway
Package gateway is the kernel-adjudicated wire: it fronts the fak kernel over MCP (newline-delimited JSON-RPC) and an OpenAI-compatible HTTP surface so an agent written in ANY language can route its tool calls through the in-process syscall boundary WITHOUT writing Go.
|
Package gateway is the kernel-adjudicated wire: it fronts the fak kernel over MCP (newline-delimited JSON-RPC) and an OpenAI-compatible HTTP surface so an agent written in ANY language can route its tool calls through the in-process syscall boundary WITHOUT writing Go. |
|
ggufload
Package ggufload parses GGUF metadata and tensor directories for off-path model loading.
|
Package ggufload parses GGUF metadata and tensor directories for off-path model loading. |
|
gpulease
Package gpulease is a machine-wide advisory lease so that only one GPU-heavy process loads a model at a time.
|
Package gpulease is a machine-wide advisory lease so that only one GPU-heavy process loads a model at a time. |
|
grammar
Package grammar is the tool-invocation grammar rung: the well-formedness axis the trust/effect rungs can't see.
|
Package grammar is the tool-invocation grammar rung: the well-formedness axis the trust/effect rungs can't see. |
|
harvest
Package harvest is the LabelRow harvester — the data-collection rung of the compiled defender-side loop.
|
Package harvest is the LabelRow harvester — the data-collection rung of the compiled defender-side loop. |
|
ifc
Package ifc is the information-flow control layer — the CaMeL / FIDES complement to the lexical detectors (canon, normgate, ctxmmu).
|
Package ifc is the information-flow control layer — the CaMeL / FIDES complement to the lexical detectors (canon, normgate, ctxmmu). |
|
journal
Package journal is the durable, append-only, tamper-evident DECISION JOURNAL — the regulated-audit (AUD) surface of the trust floor.
|
Package journal is the durable, append-only, tamper-evident DECISION JOURNAL — the regulated-audit (AUD) surface of the trust floor. |
|
kernel
Package kernel is the fak core: the one concrete implementation of abi.Kernel.
|
Package kernel is the fak core: the one concrete implementation of abi.Kernel. |
|
kvmmu
Package kvmmu is the bridge the in-kernel model makes possible: it turns ctxmmu's LOGICAL quarantine verdict — "these bytes may not enter the context window" — into a MECHANICAL one — eviction of that result's K/V span from the kernel-owned attention cache, so the model physically cannot attend to it.
|
Package kvmmu is the bridge the in-kernel model makes possible: it turns ctxmmu's LOGICAL quarantine verdict — "these bytes may not enter the context window" — into a MECHANICAL one — eviction of that result's K/V span from the kernel-owned attention cache, so the model physically cannot attend to it. |
|
leakcheck
Package leakcheck provides the three reusable PROOF primitives a memory/goroutine-leak sweep needs, so a regression guard is a few lines instead of a hand-rolled harness each time.
|
Package leakcheck provides the three reusable PROOF primitives a memory/goroutine-leak sweep needs, so a regression guard is a few lines instead of a hand-rolled harness each time. |
|
metalgemm
Package metalgemm stub — the default (non-fakmetal) build.
|
Package metalgemm stub — the default (non-fakmetal) build. |
|
metrics
Package metrics is the KPI layer + the A/B report shape.
|
Package metrics is the KPI layer + the A/B report shape. |
|
model
Package model is the in-kernel inference core: a pure-Go forward pass over a single small open-source model (SmolLM2-135M / Qwen2.5-0.5B), with the KV cache as a first-class Go data structure the kernel OWNS.
|
Package model is the in-kernel inference core: a pure-Go forward pass over a single small open-source model (SmolLM2-135M / Qwen2.5-0.5B), with the KV cache as a first-class Go data structure the kernel OWNS. |
|
modelengine
Package modelengine wires the in-kernel model (internal/model) into the kernel as a registered abi.EngineDriver under the id "inkernel".
|
Package modelengine wires the in-kernel model (internal/model) into the kernel as a registered abi.EngineDriver under the id "inkernel". |
|
normgate
Package normgate is a write-time ResultAdmitter that closes the context-MMU's measured DETECTION gap: the v0.1 ctxmmu matches injection markers and secret shapes as raw ASCII regex/substring, so any obfuscation (char-spacing, base64, homoglyph, zero-width, fullwidth, bidi, format-variant secrets) walks straight through (~100% evasion, measured on a private transcript-derived corpus).
|
Package normgate is a write-time ResultAdmitter that closes the context-MMU's measured DETECTION gap: the v0.1 ctxmmu matches injection markers and secret shapes as raw ASCII regex/substring, so any obfuscation (char-spacing, base64, homoglyph, zero-width, fullwidth, bidi, format-variant secrets) walks straight through (~100% evasion, measured on a private transcript-derived corpus). |
|
plancfi
Package plancfi is control-flow integrity for an agent's PLAN — the stateful adjudicator that refuses a tool call which deviates from the approved plan.
|
Package plancfi is control-flow integrity for an agent's PLAN — the stateful adjudicator that refuses a tool call which deviates from the approved plan. |
|
policy
Package policy loads the adjudicator's capability floor from a declarative, version-tagged JSON manifest instead of a compiled-in Go literal — so an adopter configures WHICH tools the agent may call by editing a file the operator can read and a reviewer can diff, never by forking the kernel and recompiling.
|
Package policy loads the adjudicator's capability floor from a declarative, version-tagged JSON manifest instead of a compiled-in Go literal — so an adopter configures WHICH tools the agent may call by editing a file the operator can read and a reviewer can diff, never by forking the kernel and recompiling. |
|
preflight
Package preflight is the pre-flight rung ladder: cheapest-first well-formedness checks that catch a malformed/unsafe call BEFORE it fires, so a dead branch never spawns a process or burns a model turn.
|
Package preflight is the pre-flight rung ladder: cheapest-first well-formedness checks that catch a malformed/unsafe call BEFORE it fires, so a dead branch never spawns a process or burns a model turn. |
|
provenance
Package provenance is the single, kernel-authored answer to one question: "where did this byte come from, and may the kernel trust it?" — and it is the ONE place that answer is decided.
|
Package provenance is the single, kernel-authored answer to one question: "where did this byte come from, and may the kernel trust it?" — and it is the ONE place that answer is decided. |
|
radixkv
Package radixkv is SGLang's RadixAttention prefix cache, rebuilt over fak's kernel-owned KV cache — the apples-to-apples answer to "how does fak compare to SGLang's KV-cache radix attention?".
|
Package radixkv is SGLang's RadixAttention prefix cache, rebuilt over fak's kernel-owned KV cache — the apples-to-apples answer to "how does fak compare to SGLang's KV-cache radix attention?". |
|
ratelimit
Package ratelimit is the throughput/cost governor: the adjudicator that turns the already-plumbed RATE_LIMITED reason into an actual enforcer.
|
Package ratelimit is the throughput/cost governor: the adjudicator that turns the already-plumbed RATE_LIMITED reason into an actual enforcer. |
|
recall
Package recall makes a COMPLETED agent session queryable without replaying it — the "treat a finished session as a core dump" leaf (../../session-recall-design.md).
|
Package recall makes a COMPLETED agent session queryable without replaying it — the "treat a finished session as a core dump" leaf (../../session-recall-design.md). |
|
registrations
Package registrations is the "built-in driver list" (the Linux defconfig).
|
Package registrations is the "built-in driver list" (the Linux defconfig). |
|
rsiloop
Package rsiloop closes fak's recursive-self-improvement loop.
|
Package rsiloop closes fak's recursive-self-improvement loop. |
|
shipgate
adjudicate.go puts the ship gate ON the kernel's decision path: a registered Adjudicator that holds a ship-shaped tool call behind the require-witness rung.
|
adjudicate.go puts the ship gate ON the kernel's decision path: a registered Adjudicator that holds a ship-shaped tool call behind the require-witness rung. |
|
steward
Package steward is the steward population: a set of cheap, single-invariant validators that garden the kernel's journal.
|
Package steward is the steward population: a set of cheap, single-invariant validators that garden the kernel's journal. |
|
swebench
Package swebench turns SWE-bench Verified into a fak-native benchmark whose results are directly comparable to the external "N-Server Cache Benchmarking Tool" (the Benchmark repo, "bench") that runs the same task set against an SGLang endpoint.
|
Package swebench turns SWE-bench Verified into a fak-native benchmark whose results are directly comparable to the external "N-Server Cache Benchmarking Tool" (the Benchmark repo, "bench") that runs the same task set against an SGLang endpoint. |
|
tokenizer
Package tokenizer is a tokenizer leaf for offline text/id conversion outside the model proof path.
|
Package tokenizer is a tokenizer leaf for offline text/id conversion outside the model proof path. |
|
toollint
Package toollint is the kernel's STATIC tool linter: it checks the registered tool SURFACE for inconsistencies the runtime would otherwise silently paper over on every single call.
|
Package toollint is the kernel's STATIC tool linter: it checks the registered tool SURFACE for inconsistencies the runtime would otherwise silently paper over on every single call. |
|
turnbench
Package turnbench is the TURN-TAX benchmark — the dedicated A/B that isolates the one cost the microsecond-transport bench (internal/bench) does NOT measure: the EXTRA MODEL TURN a SOTA agent loop must fire when a tool call fails its first attempt and comes back as an error code, versus fak's "1-shot" path, where the kernel resolves the very same condition INSIDE the syscall the call arrived on — no second round-trip to the model.
|
Package turnbench is the TURN-TAX benchmark — the dedicated A/B that isolates the one cost the microsecond-transport bench (internal/bench) does NOT measure: the EXTRA MODEL TURN a SOTA agent loop must fire when a tool call fails its first attempt and comes back as an error code, versus fak's "1-shot" path, where the kernel resolves the very same condition INSIDE the syscall the call arrived on — no second round-trip to the model. |
|
vdso
Package vdso is the tool vDSO: a 3-tier local fast path that answers a tool call with NO engine and NO remote round-trip — the agentic analogue of the kernel vDSO that serves gettimeofday() from userspace without a syscall.
|
Package vdso is the tool vDSO: a 3-tier local fast path that answers a tool call with NO engine and NO remote round-trip — the agentic analogue of the kernel vDSO that serves gettimeofday() from userspace without a syscall. |
|
webbench
Package webbench turns frontier web/browser agent benchmarks into fak-native benchmarks whose results directly measure the value of fak's session value stack on multi-turn web automation tasks.
|
Package webbench turns frontier web/browser agent benchmarks into fak-native benchmarks whose results directly measure the value of fak's session value stack on multi-turn web automation tasks. |
|
webbench/browser
browser - web automation layer for webbench Uses Playwright CLI for browser control (cross-platform)
|
browser - web automation layer for webbench Uses Playwright CLI for browser control (cross-platform) |
|
witness
Package witness is the in-process realization of the require-witness rung — the DOS dos_verify effect-verify, brought inside the kernel.
|
Package witness is the in-process realization of the require-witness rung — the DOS dos_verify effect-verify, brought inside the kernel. |
Click to show internal directories.
Click to hide internal directories.




