Public beta · v0.17.0 release candidate

Skip the work you've already done. And always know why.

tkx is the caching task runner for polyglot teams. Your existing build, test and lint tasks, across Go, TypeScript, Python, PHP and infra: unchanged work is restored, and every re-run says why.

One static binary · one tkx.toml · no Node, no JDK, no SaaS

Why tkx

Plenty of tools cache tasks.
tkx shows its work.

Fast

Unchanged tasks come back from the cache in milliseconds.

Explained

Every re-run names the file or variable that changed.

Everywhere

Laptop, CI and AI agents share one config and one cache.

Content-addressed cache

sha256 of inputs, command, env, platform, tool versions and dep outputs.

tkx ci

Misses explained

Names the exact file or env var that changed.

tkx why build

Verified hits

Checks outputs on disk, and the shared cache against a fresh build.

tkx check --remote

Input audit

Finds files a task reads but never declared.

tkx audit

Team cache

Your S3 or MinIO bucket. CI writes, developers read. A down bucket never fails a build.

[cache.remote]

Monorepo DAG

A tkx.toml in any directory, one graph, parallel runs.

tkx apps/api/test

Profiles

docker, k8s, ci: each keeps its own cache entries.

--profile k8s

Incremental loop

Skip what git diff didn't touch; re-run only what a save affects.

tkx watch

Supervised helpers

Port-forwards and dev servers as deps, with readiness probes.

[daemon.api]

Containers

Run a task through docker run, compose exec or kubectl exec, per profile.

exec = "api"

Run reports

Every run browsable; a self-contained report.html to share.

tkx serve

CI-native output

Plain status lines, GitHub Actions annotations, a step summary.

CI=true

Build health

SLAs, flaky-task detection, duration trends, owners. No SaaS.

tkx health

Resource-aware

Concurrency pools and memory budgets, tuned from measured peaks.

tkx learn --apply

Parallel worktrees

One shared cache across git worktrees, no port collisions.

[worktree]

AI agents

An agent skill and a read-only MCP server with 22 tools.

tkx mcp

How it works

Key, hit, restore.

Declare what a task reads, runs and writes. tkx does the rest.

  1. 1 Key

    Hash everything it depends on

    Inputs, command, env, platform, tool versions and dep outputs become one sha256 key.

  2. 2 Hit

    Look it up

    Local cache first, then the team bucket. A miss runs the task and stores the result.

  3. 3 Restore

    Restore the outputs

    Hits are verified against their hashes and restored as if the task just ran.

tkx.toml
[project]
name = "myapp"
schema_version = 3

[task.build]
inputs  = ["**/*.go", "go.mod", "go.sum"]
outputs = ["bin/myapp"]
command = "go build -o bin/myapp ./cmd/myapp"

[task.test]
inputs  = ["**/*.go", "go.mod", "go.sum"]
command = "go test ./..."
$ tkx why apps/web/build
◇ apps/web/build would run  2 changes · key bcb1763d0e5a… → d0fe5110aa3c…

  Δ apps/web/src/cart.tsx  changed
  └─ inputs of apps/web/build  340 files, 2 differ

  Δ MODE  debug → release
  └─ env    of apps/web/build

  unchanged  command · platform · tool_versions · dep_outputs

Public beta

Join the beta

tkx 0.17.0 is our release candidate. Email us with your GitHub username and what your build runs; we'll send an invite.

Email [email protected]

Prebuilt for macOS on Apple silicon, Linux on x86-64 and arm64.

Good to know

  • No sandbox: undeclared inputs can cause a stale hit (tkx audit finds them).
  • Team cache is your own S3-compatible bucket; no hosted cache.
  • macOS and Linux only; no Windows builds yet.