Skip to main content
LegalLab is a Windows desktop application for editing Legal Identities, contracts, and Neuro-Features. Build it from source, open an example from the repository, and save your own contract XML.

Before you start

You need Windows, Git, the .NET 8 SDK, and Internet access to restore the project’s packages. LegalLab targets net8.0-windows and uses WPF. You can edit a contract locally before connecting an account. Submitting it later requires the Agent API access and provider review described in the authoring guide.

1. Clone both repositories

Run these commands from the parent directory where you keep your projects:
Keep the folders side by side:
LegalLab references the TAG.Content.Microsoft project using this relative layout. That library provides Word-to-Markdown conversion. See the LegalLab source project.

2. Build and start LegalLab

From the parent directory used above, enter the LegalLab clone and build it:
The build restores the required packages. The run command opens the desktop application.

3. Open an example from your clone

In Design, select Load and choose a file under ExampleContracts: Start with ParameterTypes.xml. The LegalLab example catalog explains the roles, parameters, and schema dependencies of the other examples.

4. Edit and save a copy

Inspect General Information, Roles, Parameters, and the human-readable text. Change one label or default parameter value, then select Save and choose a new filename. Load your saved file again and confirm the change is present. Validate the complete XML before submitting it.

5. Submit through the Agent API

Use your saved XML in Propose the template. That guide continues through provider approval, instance creation, review, and signing.

If the build or load fails