Cicero allows you to define natural language contract and clause templates that can be executed by a computer. These could be relatively simple things like if the goods are more than {{DAYS}} late, then notify the supplier of the goods, with the message {{MESSAGE}}.
or more elaborate natural language and logic such as computing interest on a loan, or calculating penalties based on IoT sensor readings.
You can browse the library of Open Source Cicero contract and clause templates at: https://templates.accordproject.org.
Cicero is an Open Source implementation of the [Accord Project Template Specification][apspec]. It defines the structure of natural language templates, bound to a data model, that can be executed using request/response JSON messages.
You can read the latest user documentation here: http://docs.accordproject.org.
Using Cicero you can take any existing natural language text (typically a clause or a contract) and declaratively bind it to a data model. Cicero generates a parser (using the Earley parser algorithm) to parse and validate source text, extracting machine readable/computable data. The Cicero engine can then be used to execute a Smart Clause (an instance of a template) against a JSON payload. Smart Clause software can be used to add computable functionality to any document. Clauses are typically stateless (idempotent) functions. They receive an incoming request and the template data, and they produce a response.
We are an open community and welcome both lawyers and technologists to work on the specifications and code. If you would like to get involved please join the Accord #technology-wg Slack channel by signing up here: https://www.accordproject.org.
Accord Technology Working Group weekly meeting
Top level repository (cicero), with sub packages. Each sub-package is published as an independent npm module using lerna
:
- cicero-cli : Command line interface (for parsing, execution, creating archives) for Accord Project legal templates
- cicero-core : Core classes to manage the grammar, models and logic of Accord Project legal templates
- cicero-engine : A Node.js VM based execution engine for Accord Project legal templates
- cicero-server: Exposes the Cicero Engine as a RESTful service
- cicero-test : Cucumber based testing for Accord Project legal templates
- cicero-tools : Tools for generating code (UML, Java, etc.) from Accord Project legal templates
- generator-cicero-template: Utility to create a self-contained directory for a new Accord Project legal template
Accord Project is an open source, non-profit, initiative working to transform contract management and contract automation by digitizing contracts. Accord Project operates under the umbrella of the Linux Foundation. The technical charter for the Accord Project can be found here.
- Accord Project
- Accord Project News
- Accord Project Blog
- Accord Project Slack
- Accord Project Technical Documentation
- Accord Project GitHub
- Getting Started with Accord Project
- Concepts and High-level Architecture
- How to use the Cicero Templating System
- How to Author Accord Project Templates
- Ergo Language Guide
Projects | Package name | Version | Description | |
---|---|---|---|---|
Cicero | cicero-core | |
Templates Core | |
cicero-cli | |
Cicero CLI | ||
cicero-engine | |
Node.js VM based implementation of Accord Protcol Template Specification execution | ||
cicero-server | |
Wraps the Cicero Engine and exposes it as a RESTful service | ||
cicero-test | |
Testing support for Cicero based on cucumber | ||
cicero-tools | |
Cicero Tools | ||
generator-cicero-template | |
Code generator for a Cicero Template | ||
Concerto | concerto-core | |
Core Implementation for the Concerto Modeling Language | |
concerto-tools | |
Tools for the Concerto Modeling Language | ||
concerto-cli | |
command-line interface for Concerto | ||
Ergo | ergo-cli | Ergo CLI | ||
ergo-compiler | Ergo compiler | |||
ergo-test | Ergo test | |||
ergo-engine | Ergo engine | |||
Markdown | markdown-common | A framework for transforming markdown | ||
markdown-slate | Transform markdown to/from CommonMark AST | |||
markdown-cli | |
CLI for markdown transformations. | ||
markdown-cicero | A framework for transforming markdown | |||
markdown-html | Transform CiceroDOM to HTML |
Projects | Package name | Version | Description |
---|---|---|---|
Markdown Editor | markdown-editor | Text editor based on Slate.js. | |
Cicero UI | cicero-ui | |
Cicero-ui React component |
Projects | Cicero ver. | Description |
---|---|---|
Template Studio v1 | 0.13.4 | Web UI for creating, editing and testing Accord Project templates |
Template Studio v2 | 0.13.4 | Web UI for creating, editing and testing Accord Project templates |
VSCode Extension | 0.13.4 | VS Code extension for editing Cicero templates and Ergo logic |
Projects | Description |
---|---|
Models | Accord Project Model Library |
Template Library | Accord Project Template Library |
Project | Repo |
---|---|
Documentation | techdocs |
The Accord Project technology is being developed as open source. All the software packages are being actively maintained on GitHub and we encourage organizations and individuals to contribute requirements, documentation, issues, new templates, and code.
Find out what’s coming on our blog.
Join the Accord Project Technology Working Group Slack channel to get involved!
For code contributions, read our CONTRIBUTING guide and information for DEVELOPERS.
Accord Project source code files are made available under the Apache License, Version 2.0. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0).
Copyright 2018-2019 Clause, Inc. All trademarks are the property of their respective owners. See LF Projects Trademark Policy.