// an open standard, not a framework

Describe your harness
in pure words.

A harness is what tells an AI exactly what to do, and in what order. DAF is the open format for writing one. Plain steps, no code, no lock in.

$npm install daf-sdk
or edit the harness on the right and run it live
harness.daf.json
Runs for real, right here.
/* IN PLAIN WORDS */
DAF
The standard
Fully open. A plain format for describing what an AI should do, step by step. No one owns it.
Prism
Try it here
An implementation of DAF with a full set of ready made functions. The fastest way to run a harness yourself.
Try Prism →
Glass
Talk it out
Another implementation of DAF, built as a chat agent. Describe your harness by talking instead of writing.
Try Glass →
/* CORE CONCEPTS */
processes
Sequences of prompt steps that guide the LLM through a task
actions
JSON triggers in LLM output that fire real world operations
variables
Named values injected into prompts at runtime via $VAR syntax
loops
Iterate steps N times or stop on a keyword from the model
/* HOW ACTIONS WORK */
01
LLM receives prompt
Your step's prompt is sent to the model as a user message in the conversation.
02
Model outputs action JSON
When ready to act, the model includes {"type":"action","variant":"..."} in its response.
03
Action fires
The framework detects the JSON and executes it. A web scrape, an email send, a database write.
04
Result returns to dialogue
Action output feeds back into the conversation. Next step begins. The LLM keeps full context.
/* EXAMPLE HARNESSES */
Tech Newsletter
Scrapes deal news from European tech sites and emails a formatted summary.
> scrape websites in a loop
> follow article links
> compose newsletter
> send via email action
Company Research
Investigates a company across 6 aspects and produces a concise one pager.
> loop 6 research aspects
> web search per aspect
> follow up 3 result links
> summarize and email
Latent Morning Post
Fully automated AI newspaper. Researches, writes, and publishes daily.
> gather global news
> write articles
> publish to website
> send digest email
// get started

The standard is open.
Clone it. Extend it. Ship it.