Skip to content
@accordproject

Accord Project

The Open Source Stack for Smart Legal Contracts. A Linux Foundation Project (https://lfprojects.org).

Open-source standards and tooling for humans and AI agents to draft, validate, and compute legally-meaningful contracts.
Linux Foundation project · Apache-2.0

Docs Discord License


What we build

Accord Project provides the open standard — and reference implementation — for computable contracts: structured, typed, executable agreements that AI agents can reliably read, write, validate, and run.

The three components

Component What it is Repo
Concerto Schema language for contract data. Generates TypeScript, Java, Go, Python, JSON Schema from one .cto file. concerto
TemplateMark Markdown-based contract template format. Variables + conditional logic. Readable by humans and LLMs. markdown-transform
APAP Agreement Protocol API — REST + MCP server. Agents call contracts as tools. apap

How they fit together

Natural language request
        │
        ▼
  ┌─────────────┐     ┌──────────────┐     ┌──────────────┐
  │  TemplateMark│────▶│   Concerto   │────▶│    APAP      │
  │   (template) │     │   (schema)   │     │ (MCP / REST) │
  └─────────────┘     └──────────────┘     └──────────────┘
        │                     │                     │
     Prose text           Type-safe data        AI tool calls
                           validation

Quick start

# Use the template engine API in your project
npm install @accordproject/template-engine

Try it live:

For AI builders

Accord Project templates are structured data sources for LLM workflows:

  • TemplateMark is Markdown — LLMs already understand it at training-data scale
  • Concerto schemas validate LLM-generated data before it reaches the contract
  • APAP MCP endpoint exposes templates as tool calls to any MCP client
  • TypeScript logic compiles statically — agent-generated code fails at compile time, not runtime

See the AI & Agent Workflows guide and the 2024 Whitepaper.

Community

  • Discord — join the Technology Working Group
  • Blog — blog & news
  • Governance — TSC and working groups

Linux Foundation

Pinned Loading

  1. apap apap Public

    Accord Project Agreement Protocol. Agreement Runtime and MCP Server

    HTML 16 38

  2. template-archive template-archive Public

    Smart Legal Contracts & Templating System

    JavaScript 346 178

  3. concerto concerto Public

    Business schema language and runtime

    JavaScript 183 211

  4. web-components web-components Public

    React Components for Accord Project

    JavaScript 133 130

  5. template-playground template-playground Public

    Web Playground for TemplateMark templates

    TypeScript 68 222

  6. template-engine template-engine Public

    Template Engine — converts TemplateMark + JSON data to AgreementMark

    TypeScript 17 58

Repositories

Showing 10 of 68 repositories

Sponsors

  • @martinhalford
  • @mttrbrts
  • @tbrooke
  • @dselman

Top languages

Loading…

Most used topics

Loading…