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

DocsDiscordLicense


What we build

Accord Project provides the open standard — and reference implementation — for computable contracts: structured, typed, executable agreements.

The three components

ComponentWhat it isRepo
ConcertoSchema language for contract data. Generates TypeScript, Java, Go, Python, JSON Schema from one .cto file.concerto
TemplateMarkMarkdown-based contract template format. Variables + conditional logic. Readable by humans and LLMs.markdown-transform
APAPAgreement 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

Linux Foundation

Pinned Loading

  1. apapapapPublic

    Accord Project Agreement Protocol. Agreement Runtime and MCP Server

    HTML 19 44

  2. template-archivetemplate-archivePublic

    Smart Legal Contracts & Templating System

    TypeScript 361 187

  3. concertoconcertoPublic

    Business schema language and runtime

    JavaScript 202 228

  4. web-componentsweb-componentsPublic

    React Components for Accord Project

    JavaScript 133 132

  5. template-playgroundtemplate-playgroundPublic

    Web Playground for TemplateMark templates

    TypeScript 71 230

  6. template-enginetemplate-enginePublic

    Template Engine — converts TemplateMark + JSON data to AgreementMark

    TypeScript 18 63

Repositories

Showing 10 of 68 repositories

Sponsors

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

Top languages

Loading…

Most used topics

Loading…