Whereas is an open-source, self-hostable CLM MVP focused on request-to-repository workflow execution.
This repository is currently pre-v0.1 and intended for evaluation, contribution, and guided demos rather than production deployment.
Whereas helps legal and ops teams run a coherent contract lifecycle workflow across intake, request review, repository management, approvals, document history, and signature handoff.
The product is intentionally opinionated around an evaluator-friendly flow:
- Start from a dashboard command center.
- Route intake work through Inbox and Requests.
- Convert approved requests into Repository records.
- Review text preview, metadata, clauses, approvals, and document history.
- Send signature-ready records through DocuSeal when configured.
The following surfaces are implemented and routable in the app today:
- Dashboard command center (
/demo/dashboard) with workflow-oriented shortcuts and summary context. - Guided intake (
/demo/intake) and Inbox routing (/demo/inbox) for triage and request/repository direction. - Requests workspace (
/demo/requests) with guided supporting-question capture and Request Detail stage/next-action guidance. - Request-to-Repository conversion UX from request detail flows where supported.
- Agreement Templates catalog and template-detail flow (
/demo/requests/templatesand alias routes). - Repository record list + workspace (
/demo/repository) including text preview/document context, metadata/clause panels, lifecycle presentation, and document history tooling. - Approval surfaces (
/demo/approvals+ tasks/workflows/templates/policies routes) with existing approval semantics preserved. - Clause Manager (
/demo/clause-manager) and Playbooks (/demo/playbooks) as review-standards surfaces. - Integrations roadmap page (
/demo/integrations) for planned connectors. - Known limitations page (
/demo/known-limitations) for evaluator-facing boundaries.
In user-facing docs and UI copy, use Repository record terminology (not "Contract") unless discussing backend internals.
- Open
/demo/dashboard. - Start from
/demo/intake(or dashboard quick actions) and review/demo/inboxrouting. - Create/open a request at
/demo/requests. - In request detail (
/demo/requests/:id), review supporting questions, stage, and next action. - Convert the request to a Repository record where the flow supports conversion.
- Open
/demo/repositoryand enter a record workspace (/demo/repository/:id). - Review text preview/document panels, metadata, clauses, lifecycle context, and document history.
- Review approval work at
/demo/approvalsand/demo/approvals/tasks. - Explore
/demo/clause-managerand/demo/playbooks. - Finish at
/demo/integrationsand/demo/known-limitationsfor roadmap and MVP boundaries.
- Work: Dashboard, Intake, Inbox, Approvals
- Library: Repository, Requests, Templates
- Knowledge: Playbooks, Clause Manager
- Admin: Settings, Integrations
- Demo seed data is fictional and intended for walkthroughs, not legal operations.
- Some UI state/editing behavior is demo- or session-scoped and may rely on local/browser state.
- Supporting-question answers are currently summarized into existing free-text request fields; no fully structured backend answer model is shipped yet.
- Integrations marked as planned on the Integrations page are visible roadmap items, not active connectors.
- Deterministic checklist/review guidance is workflow assistance only and is not legal advice.
The following are intentionally out of scope for the current MVP state:
- Full Microsoft Word add-in / Outlook or Gmail plugin workflows.
- Slack / Teams / CRM connector execution (roadmap visibility exists, wiring does not).
- Calendar/reminder sync and notification automation.
- LLM-powered legal judgment/reasoning features beyond existing extraction/workflow aids.
- Small-model AI roadmap details live in
docs/AI_SMALL_MODEL_STACK.mdand in-app Known limitations (/demo/known-limitations#small-model-ai-roadmap). - Full backend Clause ↔ Playbook relational linkage and authoring loop.
- Enterprise-grade RBAC/SSO deployment story.
- Advanced reporting/export beyond current shipped workspace and activity surfaces.
- Nango / Clerk / PowerSync integration layers.
- The PWA/service worker is expected to keep
/api/*outside cache handling. - Sensitive storage internals and secret-bearing fields should never be surfaced in UI/docs.
- Demo data is fictional and should not be treated as confidential client data.
- Machine-generated metadata/extractions require human review before operational use.
- Whereas is software workflow support and does not provide legal advice.
See also: docs/security-notes.md.
Quickstart:
git clone https://github.com/foolish-bandit/whereas.git
cd whereas
powershell -ExecutionPolicy Bypass -File .\scripts\start-local-stack.ps1Default local endpoints:
- Frontend:
http://127.0.0.1:5173 - App onboarding:
http://127.0.0.1:5173/demo/welcome - API:
http://localhost:8000 - Local Postgres:
127.0.0.1:5433 - Local S3 mock:
http://127.0.0.1:9000
Stop everything with:
powershell -ExecutionPolicy Bypass -File .\scripts\stop-local-stack.ps1Installable PWA preview against the live local backend:
powershell -ExecutionPolicy Bypass -File .\scripts\start-pwa-preview.ps1PWA preview URL:
- Browser preview root:
http://127.0.0.1:4173 - Direct in-app onboarding:
http://127.0.0.1:4173/demo/welcome
Notes:
- In a normal browser tab,
/stays on the marketing/demo site. - The installable PWA uses the web manifest
start_urland opens into the app onboarding flow at/demo/welcome.
First-run developer setup and optional dependencies:
Common commands:
cd backend && pytest
cd frontend && npx vitest run
cd frontend && npx tsc -b
cd frontend && npm run buildEvaluator smoke paths:
For a maintained snapshot of done/next/later scope, see:
docs/project-status.md/demo/integrations(planned connector visibility)docs/AI_SMALL_MODEL_STACK.md(canonical small-model AI architecture)
- In-app:
/demo/known-limitations - Docs:
docs/project-status.mdanddocs/security-notes.md
Whereas is licensed under AGPL-3.0-or-later. See LICENSE.