LegalOS is a reusable operating layer for Contracts, legal docs, terms, approvals, risk.
Related systems: BusinessOS / ComplianceOS.
This project follows the same dependency-free TypeScript starter style used by the other OS layers. It runs with Node.js 20+ and stores demo data in a JSON file.
- Contract management
- Legal document management
- Approval workflows
- Policies
- Workflow runs
- Events and audit logs
- Role-based permissions
- Seed demo data
- PostgreSQL schema example
- Automated tests
npm run build
npm startOpen:
http://localhost:5800/health
http://localhost:5800/docsx-tenant-id: demo-tenant
x-role: legalos_admin
x-user-id: user-001curl http://localhost:5800/legalos/overview \
-H "x-role: legalos_admin"For production, replace the JSON file store with PostgreSQL using database/schema.sql.
- Official package:
@appneurox/legalos - Manifest:
manifest.json - Domain API namespace:
/v1/legal - Modes: standalone and PlatformOS integrated
- Related systems: BusinessOS, ComplianceOS
See docs/planning.md for the planning contract applied from APPNEURAL Plannings/OSs.