modelModels are pure inference files
Read the file for metadata; execute it for one-shot inference. Provider connections and API formats stay behind the unified model ABI.
/ctx/model/main → gpt-5.6-sol · kimi-k3FUSE filesystem interface
CortexFS mounts models, agents, tools, and durable sessions at /ctx — a small Unix ABI you can ls, cat, execute, secure, and audit.
$ ls /ctxstatusbinmodelagenttoolhomesharedmodelA model is a pure inference file: read metadata, execute one inference.
Project introduction
Running product, not a diagram
Three executable objects, one durable history
CortexFS exposes three executable object classes and keeps session history in ordinary files, letting shells and permissions do the jobs they already understand.
modelRead the file for metadata; execute it for one-shot inference. Provider connections and API formats stay behind the unified model ABI.
/ctx/model/main → gpt-5.6-sol · kimi-k3agentAn agent is exposed as an executable object and socket. Its Linux identity, mounts, cwd, model, and policy bound what it can see and run.
/ctx/agent/coder + coder.socktoolAgents invoke tools through tsh. tsh resolves capabilities only through CTX_PATH and never falls back to the host PATH.
CTX_PATH=/ctx/tool:/ctx/home/<uid>/toolsessionmessages.jsonl and events.jsonl remain durable and append-only; prompt context is a disposable, rebuildable working set.
session/default/{messages,events}.jsonlInspectable authority
Visibility is not a promise in a prompt. Mounts, uid/gid/mode bits, CortexFS policy, CTX_PATH, and noexec combine into the authority an agent actually receives.
Provider-neutral by design
CortexFS owns paths, object lifecycle, permissions, and session semantics. Rig owns provider connections and API event adaptation. Provider details never expand into new root directories.
mount ∩ uid/gid/modeCTX_PATHpolicy ∩ noexecroot contains stable object classes onlyQuick start
These are the install, mount, and interaction commands from the current README.
Read the full installation guide →Install CortexFS from the AUR.
paru -S cortexfs-gitStart the systemd FUSE mount, then inspect effective health.
sudo systemctl enable --now cortexfs.service
ctx doctorMaterialize the defaults, start coder, and enter the preferred human chat UI.
ctx bootstrap
ctx agent start coder
ctx agent chat coderBring the runtime back to Unix
Read the specification for the stable boundary, inspect the implementation on GitHub, or mount /ctx and start using it.