Skip to content
All projects
PRJ-005/ AIArchived

Author

An AI writing platform built around persona-conditioned generation on a local model. A FastAPI backend composes a configurable author identity, a stored profile of the person writing, and the full conversation history into a single prompt each turn, then persists the exchange so a piece can be continued across sessions.

01

Overview

Most writing tools treat each request as isolated: a prompt goes in, prose comes out, and nothing is carried forward. Author is built the other way round — the generating identity is configurable and stored, the user has a persistent profile, and every exchange is appended to a history that is replayed into the next prompt.

The whole thing runs against a local model through Ollama, so the working state stays on the machine it was written on.

02

Implementation notes

  • LangChain prompt template assembling author name, author description, user profile and chat history into one structured prompt.
  • MongoDB-backed users, bot configuration and conversation collections; history can be archived and reset without losing prior work.
  • React, TypeScript and Vite frontend with a chat-shaped writing surface — sidebar, main area and composer.