The Autonomous
Author
An explainability-first, human-gated documentation pipeline for technical writers. Five agents. One human gate. Zero black-box decisions. Runs entirely in your browser. No server, no installation, no data leaving your session without your knowledge.
In two paragraphs.
The Autonomous Author is a client-side agentic documentation pipeline that helps technical writers produce a Google Style Guide-compliant first draft in under 15 minutes, starting from a Jira ticket, PR description, or free-text feature brief. It operates in two modes: Persona 1 (feature release documentation, Agile) and Persona 2 (document-driven development specs, Waterfall). The pipeline runs five sequential agents — Intake, Research, Draft, Compliance, and Review Prep — each surfacing an XAI reasoning card before passing control to the next. In P2 mode, an Ambiguity Detector fires after the Draft Agent to catch vague quantifiers, undefined terms, and missing error states before the spec reaches engineering review.
The writer enters the pipeline once — at the Review UI. Every agent-generated suggestion is visible, cited, and challengeable. The export gate is disabled until the writer has actioned every high-severity item. The Autonomous Author does not publish documents. It produces compliant, annotated, explainable first drafts that the writer owns, reviews, and decides to publish in their own tooling. This is a portfolio piece demonstrating production-grade agentic system design for an individual technical writer.
From zero to first draft in
under five minutes.
No installation. No accounts. No configuration beyond a Groq API key. The pipeline runs in your browser.
Get a free Groq API key
Go to console.groq.com, sign up for a free account, and create an API key. The free tier includes sufficient quota for dozens of pipeline runs per day. Keep the key — you'll need it in step 3.
Open the app
Visit username.github.io/autonomous-author (replace with the actual GitHub Pages URL after deployment). No login, no cookie banner, no onboarding flow. You land directly on the pipeline UI.
Enter your API key
Click the Settings icon (top right of the pipeline UI). Paste your Groq API key. It is encrypted with AES-256 and stored in localStorage — it never leaves your browser except in the Authorization header of Groq API calls.
Select your persona and workflow mode
Choose P1 (feature doc) or P2 (DDD spec). Choose Agile (new doc or delta update) or Waterfall (formal versioned artifact). These settings persist in localStorage as your default for future sessions.
Paste your input and run
Paste your Jira ticket, PR description, feature brief, or intent statement into the intake form. Click Run. Watch the Pipeline Monitor as each agent completes and surfaces its reasoning card. The Review UI activates when all agents complete — typically within 10–12 seconds.
Review, edit, and export
Read the compliance violations and ambiguity flags (P2). Accept, edit, or dismiss each item. Once all HIGH-severity items are actioned, the Export button activates. Copy to clipboard, download as Markdown, or download as HTML — then paste into Confluence, GitHub, or wherever you publish.
Everything in one place.
No surprises.
Local development and
the live demo.
Local development
No build step required. Serve the repo root from any local HTTP server:
# Python (any machine with Python 3) python3 -m http.server 8080 # Node.js (npx, no global install) npx serve . # Then open: http://localhost:8080
The pipeline makes calls to api.groq.com — you need a real Groq API key and an internet connection. There is no mock mode in the current release.
Running the eval harness
The eval harness requires Node.js 18+ and a Groq API key set as an environment variable:
export GROQ_API_KEY=your_key_here node eval/run-eval.js # Output: eval-report.json with scores for all 8 dimensions # CI uses this same script — Job 3 in .github/workflows/deploy.yml
Deploying to GitHub Pages
# Fork the repo, then: git clone https://github.com/yourusername/autonomous-author cd autonomous-author # Add your repo secret: GROQ_API_KEY (for CI eval runs) # Settings → Secrets → Actions → New repository secret # Push to main — GitHub Actions handles the rest git push origin main # Live at: https://yourusername.github.io/autonomous-author
Changing the inference model
To swap from Groq to Together AI or another free-tier provider, edit pipeline-config.json:
{
"provider": "groq",
"model_id": "llama-3.1-70b-versatile",
"base_url": "https://api.groq.com/openai/v1/chat/completions",
"expected_model_version": "llama-3.1-70b-versatile",
"eval_thresholds": {
"schema_conformance": 1.0,
"compliance_detection": 0.90,
"ambiguity_detection": 0.88,
"placeholder_insertion": 1.0,
"xai_completeness": 1.0,
"false_positive_rate": 0.08,
"confidence_calibration": 0.80,
"latency_p95_seconds": 20
}
}
After changing the model, run the eval harness to verify all 8 gates pass before deploying. The model upgrade protocol is documented in full on Page 05 — MLOps.
What's open for contribution
and what isn't.
This is an individual portfolio project. Collaboration features are explicitly out of scope (C-04). Contributions that add multi-user functionality, external databases, or server-side components will not be merged — they break the zero-server guarantee (AR-03) and the individual-tool scope (C-04).
New rules in rules.json (with fixtures and FP rate check). New eval fixtures. Bug fixes in agent JS modules. Browser compatibility improvements. Accessibility improvements. Additional export formats. Prompt quality improvements (with eval harness gate). Documentation corrections.
Multi-user sessions or collaboration. Server-side components of any kind. External database integrations. Analytics or telemetry. Jira / Confluence API integrations (workflow-neutral principle). Training fine-tuned models. React/Vue/Angular migration (no framework dependency by design).
Adding a rule to rules.json
# 1. Add rule object to rules.json with required fields: # id, category, rule, check_type, severity, fix_template, # style_guide_ref, positive_fixture, negative_fixture # 2. Run eval harness — new rule must not push FP rate above 0.08 node eval/run-eval.js # 3. Open PR — CI will validate JSON schema and run eval # 4. If all gates pass, maintainer merges and version bumps
Changing a system prompt
# 1. Edit the relevant file in /prompts/ # 2. Bump semver in the file header # 3. Run eval harness to verify no regressions # 4. Open PR — CI regenerates SHA hashes automatically # 5. Add change entry to page-08.html (Changelog)
MIT — use it freely.
MIT Licence Copyright (c) 2026 The Autonomous Author Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Standing on the
shoulders of open work.
- GroqFree-tier LLM inference at 300+ tokens/second. Without free, fast inference, the ≤15-minute pipeline target would be unachievable on zero budget.
- Meta / Llama 3.1The open-weight model that makes a fully open-source, cost-free pipeline possible. The quality-to-cost ratio at 70B is the enabling condition for this architecture.
- Google Developer Style GuideThe open-source style guide that made the compliance engine possible. Machine-checkable rules are the foundation of the Compliance Agent's determinism.
- LangGraph (LangChain)The conceptual framework for stateful multi-agent pipelines. The LangGraph-pattern implemented here is a client-side JS adaptation of the Python library's core ideas.
- GitHub PagesFree static hosting with HTTPS, global CDN, and GitHub Actions integration. The zero-infra-cost constraint would be impossible without it.
- The Autonomous EnterpriseThe reference portfolio by Siddharth Rao that established the structural and documentation standard this portfolio mirrors. The page-by-page architecture, traceable requirements, and Rebuttals & Pushbacks format are directly inspired by that work.