Lunen documentation
Agents that do real work, inside the limits you set.
Describe the outcome, connect the tools, decide what needs a human. Start where you sit — each path runs from first setup through to the reference at the end of it.
Or jump toQuickstartAPI
Choose your path
Switchable any time from the headerSet the limits
Connect servers, decide what agents may read and what needs sign-off, then prove afterwards what happened.
- Quickstart5 min
- Policy & approvals10 min
- Audit log7 min
Ship the agent
Write the brief in plain language, read the plan it produces, then put it on a schedule.
- Describe an agent7 min
- Execution plans8 min
- Schedules & runs8 min
Wire it in
Start runs from your own systems with webhooks, and give agents your tools through MCP.
Three ideas worth reading first
Everything else in these docs is a detail of one of these.
A plan is a contract. A Task Agent doesn’t improvise against your systems. The brief becomes a plan you can read and correct before you save it, and the plan is what each run executes.
Policy is per tool. Every MCP tool is refused until a policy allows it. Reads are usually safe to allow; writes should wait for a human until you have watched them run. That pair — allow or approve — is the whole decision, and it governs scheduled runs and live conversations alike.
The log is the product. Every MCP tool call, policy change, and access change lands as an audit event with the actor attached, kept indefinitely, because “the agent did it” is not an answer anyone accepts.