Chat
turf chat opens the Turf™ agent in your terminal. Type what you want in plain words, to create,
update or inspect resources, and the agent carries it out through the MCP server and the engine.
turf with no command opens the same session.
turf chatturf chat --lean # the lean TUI, in your scrollbackturf --model anthropic/claude-sonnet-5 chat # a specific modelThe agent needs a model: see Model providers.
Start with a walkthrough
Section titled “Start with a walkthrough”Type /guide in the session to see what Turf is for, on real examples from
turf-examples: deploy the NVIDIA AI Cluster Runtime
(AICR) on a kind cluster, take a node through the day-2 maintenance runbook as Terraform® actions, a
product that installs itself, promotion across environments, your ops environment as the control
plane, and deploying with guardrails. Name one to go straight to it:
/guide day 2/guide guardrailsThe lean TUI
Section titled “The lean TUI”--lean (or TURF_LEAN) runs chat in the lean TUI: no sidebar, tabs or overlays, and it renders to
your terminal’s scrollback. turf up and turf destroy on a terminal always use it. A distributor’s
welcome banner shows here (Co-branding).
Sessions
Section titled “Sessions”turf saves each session in .turf/sessions.db in the working directory, so you can pick one up
again:
turf chat --continue # the most recent session (-c; the same as --session -1)turf chat --session <id> # a session by its IDturf chat --session -1 # or by relative offset: -1 is the most recent--session-db (or TURF_SESSION_DB) keeps the database somewhere else. --no-session turns saving
and resuming off. turf exec resumes sessions the same way; turf up and turf destroy do not.
Memory
Section titled “Memory”The agent keeps a persistent memory in .turf/memory.db in the working directory. --memory-path
moves it, and --no-memory turns it off.
In the session
Section titled “In the session”| Type | To |
|---|---|
/guide [topic] |
Start a use-case walkthrough |
/tools |
See the agent’s tools, with Turf’s own grouped by what they do |
/settings, then Appearance, then Theme |
Pick a theme (Theming); there is no /theme command |
| Ctrl+K, then Report Bug | File a bug |
Files the agent can reach
Section titled “Files the agent can reach”The agent’s file tools work in the working directory. --allow-path adds a directory they may read
and write, auto-approved. Repeat the flag for more, or list them in TURF_ALLOW_PATH, separated as
in PATH. A relative path resolves against the working directory, so prefer absolute ones.
turf chat --allow-path /srv/shared-modulesWork in a throwaway worktree
Section titled “Work in a throwaway worktree”--worktree runs turf in a fresh git worktree of the working directory, on a throwaway branch, so the
HCL the agent writes stays off your own branch. --worktree=name names it. --worktree-base main
branches it from that ref instead of HEAD; a remote-tracking ref is fetched first.
turf --worktree chatturf --worktree=try-redis --worktree-base origin/main chatTurf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.
© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub