Inspiration

Important information is often hidden inside complicated documents: a letter from an institution, an insurance notice, a bill, a contract, or an administrative email.

The problem is not always understanding every sentence. It is knowing what actually matters:

  • What am I supposed to do?
  • Is there a deadline?
  • Is there an amount I need to pay?
  • Which information is certain?
  • What should I verify before taking action?

We wanted to build something that helps people move from confusion to clarity, without requiring them to understand every piece of formal or bureaucratic language.

That idea became ClearStep AI.

What it does

ClearStep AI transforms complicated document text into a clear, prioritised action plan.

Users can paste text or upload a .txt or .md file. ClearStep then produces:

  • Plain-language explanations: a simpler summary of what the document says.
  • Prioritised actions: a practical checklist of what the reader may need to do.
  • Dates and amounts: important dates, deadlines and monetary values extracted from the text.
  • Evidence for every action: exact quotations from the original document that users can check.
  • Visible uncertainty: unclear or unsupported information is flagged instead of being presented as fact.

The goal is not to make decisions on behalf of people. It is to help them understand their documents and decide what to do next.

How we built it

ClearStep uses a lightweight web architecture designed to keep the experience simple.

The frontend is built with HTML, CSS and JavaScript. Users submit document text through the browser, which sends a request to a Cloudflare Worker.

The Worker connects to Cloudflare Workers AI using a configurable language model. The response is parsed, normalised and checked before it is returned to the interface.

One important design decision is evidence validation: proposed action quotations are checked against the original text. Unsupported evidence is not simply accepted as if it were verified.

The application currently has:

  • A browser-based document input interface.
  • Text and Markdown file upload.
  • A Cloudflare Worker API.
  • Workers AI integration.
  • Response normalisation and evidence checks.
  • Automated Node.js tests.
  • A GitHub Actions testing workflow.

Challenges we ran into

The biggest challenge was reliability.

A language model can produce a convincing explanation while misunderstanding a deadline, inventing an implication, or suggesting an action that the original document never requested.

That is particularly problematic when people are dealing with administrative or financial paperwork.

We addressed part of this challenge by designing ClearStep around evidence and uncertainty rather than relying on fluent AI-generated summaries alone.

We also had to consider relative deadlines. For example, a document might say "within 14 days" without making the starting date clear. Converting that into an exact calendar date would create false precision.

ClearStep is designed to flag such ambiguity rather than pretend to know the answer.

Accomplishments that we're proud of

We are proud of building a focused application around a practical problem rather than adding AI features for their own sake.

Our key accomplishments include:

  • An end-to-end browser and Worker architecture.
  • A structured action-plan interface.
  • Source quotation checks for proposed actions.
  • Explicit uncertainty handling.
  • Input validation and error handling.
  • Automated tests covering important API and normalisation behaviours.
  • A lightweight, privacy-conscious architecture that does not require an application database or user accounts.

The project is also released under the GNU GPL v3.0-or-later licence.

What we learned

We learned that making AI useful is not just about generating a good answer.

It is also about showing where an answer came from, identifying what is uncertain, and giving people enough information to verify the result themselves.

A useful AI assistant should not hide uncertainty behind confident language.

We also learned to treat evaluation as a separate part of development. ClearStep has an evaluation plan covering explicit deadlines, ambiguous relative deadlines, conflicting dates, monetary amounts, prompt-injection content and documents that do not require any action. We do not claim accuracy scores without measured results.

What's next for ClearStep AI

The next stage is to validate the application with a broader set of synthetic documents and real-world usability testing.

Our roadmap includes:

  • More robust validation of extracted dates, amounts and action claims.
  • PDF document support and text extraction.
  • Better handling of conflicting information.
  • More comprehensive evaluation with recorded results.
  • Accessibility and usability improvements.
  • Additional language support.
  • A deployed public demo once the live Cloudflare AI integration has been verified.

Our long-term vision is simple: make complicated paperwork easier to understand, while keeping people in control of their decisions.

ClearStep AI — less confusion, clearer next steps.

AI assistance

ChatGPT was used as an AI coding and writing assistant during project development.

Share this project:

Updates

Submission history