web

Docgent

AI document generator for assignments, reports, and invoices

Docgent

Tech Stack

Next.jsTypeScriptGemini APIGrok

About This Project

Overview

Docgent is an AI-powered writing assistant that produces professional, ready-to-submit Word documents — assignments, reports, and invoices — from a prompt, using Gemini and Grok to draft and structure content on a Next.js + TypeScript frontend.

Motivation

I was tired of formatting the same kinds of reports and invoices from scratch every time, so I built a tool that turns a prompt straight into a submittable Word document.

Lessons Learned

Getting consistent Word document formatting out of an LLM's text output required a lot more structure in the prompt than free-form generation — I ended up constraining the model's output format much more tightly than I expected to need.