Autonomous Document Rendering Engine for AI Agents

The Document Generation Backend for AI Coding Agents

Connect Google Antigravity, Claude Code, Cursor, and custom LLM pipelines directly to high-fidelity Word templates and high-throughput batch generation APIs.

Workspace Skill

TRYDOKU Document Generation Skill

Official installable skill for Claude Code, Cursor, Codex, and Google Antigravity. Clone the public repo and copy the trydoku-generation folder into your agent's skills directory. Set TRYDOKU_API_TOKEN in the environment that runs the agent.

View on GitHub
git clone https://github.com/Trydoku/agent-skills.git
cp -R agent-skills/skills/trydoku-generation /path/to/your-project/.agents/skills/
Claude Code .claude/skills/
Cursor .cursor/skills/
Codex .agents/skills/
Antigravity .agents/skills/

Copy the entire folder so SKILL.md sits inside trydoku-generation/. Cursor also accepts .agents/skills/. Install details are in the repository README.

Machine-Readable Discovery

Built for LLMs, Crawlers & Agentic IDEs

TRYDOKU provides standardized machine-readable context files adhering to the llms.txt specification, enabling AI systems to discover our API capabilities without hallucinations.

Developer Guide

AI Document Generation: Best Practices

Follow these 5 architectural principles to build reliable, cost-effective agentic document rendering pipelines.

1

Anchor Agents with the OpenAPI Schema

Always feed /llms-full.txt or the OpenAPI JSON schema directly into your agent's system prompt or workspace context. This anchors the model to exact endpoint URLs (POST /api/v1/generate) and payload properties (template_base64, data), preventing URL and parameter hallucinations.

2

Strict Template Syntax Rules

Use standardized placeholder syntax: {{ var }} for single values, {> loop }} ... {< loop }} for table row repeats, and {% if var %} ... {% endif %} for conditionals. Avoid inventing unsupported custom delimiters.

3

Pre-Validate with Client-Side Tools

Before executing automated batch runs, inspect templates using the free Word Template Variable Parser. It extracts all placeholders client-side in browser RAM and exports a matching Excel template (.xlsx) with zero server uploads.

4

Batching Economics & Idempotency

TRYDOKU credits are billed per accepted row in your data array at batch creation time. Submitting 100 rows in a single batch request is significantly faster and more reliable than dispatching 100 individual single-row requests. Polling batch status is always free.

5

Resilient Rate Limiting & Backoff

Ensure your agentic scripts handle HTTP 429 rate limit responses gracefully. Implement exponential backoff (e.g. initial delay of 2 seconds, multiplied by 1.5 up to 8 seconds) rather than aggressively spamming generation endpoints.