andocs
v2.0.26
Published
ANDocs — Agent Native Documentation. Modern documentation tool for AI agent workflows with live Mermaid diagrams and PDF generation.
Maintainers
Readme
andocs
ANDocs — Agent Native Documentation. Modern documentation tool for AI agent workflows with live Mermaid diagrams and PDF generation.
Requires Bun runtime.
Quick Start
# Start server (auto-detects markdown files)
bunx andocs
# Use specific documents folder
bunx andocs --path ./my-docs
# Start on custom port
bunx andocs --port 8080
# Generate PDFs for all documents
bunx andocs pdf
# Generate PDF for specific document
bunx andocs pdf --file docs/guide.mdCommands
serve(default) — Start local web server for browsing documentationpdf— Generate PDF from one file (--file) or all documents
Options
| Option | Description | Default |
| --------------- | ------------------------ | ----------- |
| --path <PATH> | Path to documents folder | Auto-detect |
| --port <PORT> | Server port | 3030 |
| --host <HOST> | Server host | 127.0.0.1 |
| --no-open | Don't auto-open browser | false |
Environment Variables
| Variable | Description |
| ------------- | ------------------------ |
| ANDOCS_PATH | Default documents folder |
| ANDOCS_PORT | Default server port |
| ANDOCS_HOST | Default server host |
Development
# Start dev server
bun run --filter "andocs" dev
# Build standalone binary + web assets
bun run --filter "andocs" build
# Build web assets only
bun run --filter "andocs" build:webBuild Outputs
dist/andocs— Compiled standalone binarydist/web/— Built React web app served by CLI server
License
Copyright (c) 2025-present Blogic s.r.o. All rights reserved. See LICENSE.
