Skip to main content

Smart Legal Contracts, Open Source

Legal text drafted by lawyers, interpreted by courts, and executable by software — from the same open source template.

Cicero

Create templates where lawyers write the contract text in Markdown and software executes the logic. Use open source Cicero to render, validate, and run them — or call them from an AI agent.

TypeScript

Write TypeScript logic that precisely captures what the legal text says — strongly typed, so the compiler enforces intent before a contract is signed. Types are generated directly from your Concerto data model.

Concerto

Model the deal terms in your contracts with the Concerto schema language — portable across JSON Schema, TypeScript, Java, Go, and more, so the data means the same thing everywhere. Learn more.

Templates

Accord Project Templates are composed of three elements: the Text (the natural language), the Model (the data model), and the Logic (the executable business logic). When combined these three elements allow Accord Project templates to be both human-readable and machine-executable.
The three elements of Accord Project templates: Text, Model, Logic. These elements form a triangle.
An example of an Accord Project template text. There are 3 paragraphs of a contract with variables in each paragraphs and markdown annotations for formatting

Text

CiceroMark lets you capture the data in a natural language clause or contract text through template variables. And it supports rich text markdown to ensure that your contracts look professional — and are natively legible to large language models.

Model

Concerto lets you model the data used in your templates in a flexible and expressive way. Models can be written in a modular and portable way so they can be reused in a variety of contracts. The schema grounds agent-generated output — invalid types fail at validation, not at runtime. Learn more about Concerto.
A diagram with an example of a Concerto model
Example of TypeScript template logic code

Logic

Template logic is written in TypeScript using a class-based pattern that integrates directly with the Concerto data model. Logic can be embedded inline in template text or defined in a separate TypeScript class that extends TemplateLogic. TypeScript's strong typing means agents can generate and statically verify contract logic before execution.

Template Playground

You can author and test templates online in the Accord Project Template Playground. Search for existing templates, edit the contract text and execute the logic.
An example a template being edited. There is an option to edit the full contract or a single clause. There is also a search bar at the top center for users to search for specific templates.

Built for Agent Workflows

Accord Project's three-component template architecture maps directly onto how modern AI agents operate.

The natural language text (TemplateMark/Markdown) is the format agents read and write fluently. The Concerto schema provides the structured type contract that constrains agent output. The TypeScript logic lets agents generate verifiable, type-safe business rules, with the compiler catching errors before they reach production.

The Agreement Protocol API (APAP) exposes contract templates over a REST interface — including a Model Context Protocol (MCP) endpoint — so any AI assistant or orchestration framework can author, fill, validate, and execute contracts as tool calls.

Learn more about AI & Agent Workflows →  ·  Read the Whitepaper →