Work with agents
The LLM documentation index provides an ordered list of sources. Use the specification for syntax and semantics and the proof guide for the scope of a check.
Copy a project prompt
You are working in the Entails repository. Read AGENTS.md and docs/spec.md.
Use the documented syntax in .entails files and preserve source locations.
Run uv sync --locked if the project environment is missing.
Parse changes with uv run entails parse FILE --tree.
Check a supplied guard certificate with:
uv run entails check FILE CERTIFICATE --engine entails
Then check the Lean proof with:
uv run entails check FILE CERTIFICATE --forest
For independent replay and an axiom audit, add --paranoid.
In your report, identify the machine, certificate, engine and checked
obligations. Label bounded replay as an observation. Label a rejected
obligation with its source location and machine transition.
Connect the local MCP server
Use a configuration of this form in an MCP client. The entails executable must be on the client’s path. When using a checkout, set the command to the absolute path of .venv/bin/entails after running uv sync --locked.
{
"mcpServers": {
"entails": {
"command": "entails",
"args": ["mcp"]
}
}
}
| Tool | Use |
|---|---|
parse |
Parse supplied source with locations. |
check |
Check a named guard certificate. Choose engine: "entails" for the independent checker. The default is Lean. With Lean, paranoid: true requires an axiom audit and external replay. |
describe |
Read language topics and implementation status. |
paper |
Render Entails source as a paper fragment, optionally checking certificates with Lean. |