AI Legal Assistant: Contract Review, Drafting, and Advice
Legal

AI Legal Assistant: Contract Review, Drafting, and Advice

Four weeks from brief to a working platform – three end-to-end legal workflows, Australian jurisdiction, and a human lawyer reachable at every step.

4 weeks

From brief to a working platform

3

End-to-end workflows: review, draft, advise

25 years

Of in-house legal practice encoded into the product

Customer Stories

Stas.ai is an AI platform that does the work of an in-house lawyer – for mid-sized and scale-up businesses with real legal needs but no in-house counsel, and for legal teams that need extra capacity.

Clutch Review

Highly recommend!

They delivered on the contract date, four weeks after kickoff.

Stanislav Roth

Founder, Stas.ai

Legal

Industry

AI Agents & Automation, LLM & RAG Development, UX Design

Services

Sydney, Australia

Location

Challenge

Twenty-five years of legal judgment, and a blank chat box that would have hidden all of it

The founder had spent 25 years as an in-house lawyer and had already built a business on it – a shared legal department serving multiple companies at once. The next version would lead with AI and keep lawyers behind it: verifying, escalating, and standing behind the output when a deal is big enough to warrant it. To raise for that, he needed a working product, not a deck.

The obvious build was a chat box. One input, ask it anything, let the model answer — which is what most people picture, because it’s what they already use. It was also the wrong product. A blank prompt makes a specialist tool look exactly like the general assistants every business already has, invites a direct comparison it cannot win, and hides what actually differentiates it: the experience and judgment of an in-house lawyer, which is short, practical, commercially decisive, and specific to a jurisdiction.

So the hard part was working out what an in-house lawyer actually *does* all day, and building an interface where that expertise is visible and usable.

What We Built

Solution

We built an AI agentic platform that automates the majority of an in-house lawyer workflows.

Review a contract. Upload a file and get back a set of structured amendments. Every amendment can be accepted, edited inline, or rejected. A marked-up .docx with tracked changes is ready to send to the counterparty.

Draft an agreement. Answer a short set of questions – and the platform drafts the agreement against the organisation’s stored standard positions and jurisdiction.

Ask for advice. A Q&A flow that answers in the house style: short, practical, commercially framed, and specific about the Australian position.

Underneath all three, a human lawyer is one click away – before a task, during it, or after.

Tech Stack

To make this possible, Blackthorn AI used:

Python
FastAPI
PostgreSQL + pgvector
OpenAI API
LangChain
PyMuPDF
TypeScript
React
Tailwind CSS
Docker
GCP
GitHub Actions CI/CD
Roadmap

Project duration

1st Week

Discovery and definition

Two working sessions to lock scope, contract types, and demo success criteria. User flows, scenarios, and a written definition of done agreed; first working skeleton stood up.

2nd Week

Client context and retrieval

Onboarding questionnaire live and wired into retrieval, so every downstream output is shaped by the organisation’s own profile, jurisdiction, and risk appetite.

3rd Week

The three core workflows

Contract review and contract drafting working end-to-end on real documents, both retrieval-backed. Legal advice Q&A implemented.

4th Week

Human handoff and polish

“Talk to a lawyer” referral flow implemented, UI polish, and full smoke test across all three workflows.

Team size

1x AI Engineer
1x Fullstack Web Developer
1x DevOps / MLOps Engineer
1x Project Manager
1x QA Engineer

Delivering Impact

A human lawyer is reachable at every step — before a task, during it, or after — the handoff carries the full context automatically: the request, the files, and the business profile. For a business signing a seven-figure deal, that’s the difference between a tool it can use and one it can’t.

4 weeks

from brief to a working platform

Discovery, three end-to-end workflows, the human-lawyer handoff, and a demo-ready interface, delivered by a five-person team between kickoff and handover.

3 flows

review, draft, advise

Each runs end-to-end on real uploaded documents rather than a mocked screen: a 33-page consultancy agreement goes in, a structured amendment table and a tracked-change redline come out.

25 years

of in-house practice, encoded

The platform answers in a specific voice — short, practical, commercially decisive, and explicit about the Australian position — because the product was designed around how one experienced in-house lawyer actually works, not around a generic assistant.

Discover More Related Customer Stories