Skip to main content
This page demonstrates the AGENTS.md documentation template โ€” agent-centric examples, Mintlify components, and standard diagrams.
from praisonaiagents import Agent

agent = Agent(
    name="Doc Tester",
    instructions="Summarise documentation standards in one paragraph.",
)
agent.start("What makes good agent documentation?")
The user reads a reference page; the hero example and diagram show how feature docs should open with Agent code and a user flow.

Quick Start

1

Agent-Centric Intro

Every page opens with a minimal Agent(...) example before the hero diagram.
from praisonaiagents import Agent

agent = Agent(name="Example", instructions="Demonstrate the feature.")
agent.start("Hello")
2

Mintlify Structure

Wrap Quick Start in Steps, Best Practices in AccordionGroup, and Related links in CardGroup (cols=2).
<Steps>
  <Step title="Simple Usage">...</Step>
  <Step title="With Configuration">...</Step>
</Steps>

How It Works

ComponentPurposeOutput
SDK sourceGround truth for APIsAccurate examples
Agent exampleSimplest usage pathQuick Start code
Mintlify componentsConsistent layoutSteps, Accordions, Cards

Best Practices

Top of every page: a minimal agent example showing the feature in use โ€” not subsystem imports or config-only snippets.
Hero Mermaid diagrams use #8B0000 for agents, #189AB4 for tools/processes, and white text on coloured fills.
Include all imports, use os.getenv() for secrets, and avoid placeholder strings like "your-api-key".
Each section gets a single sentence explaining what follows โ€” no preamble phrases from AGENTS.md ยง6.3.

Templates

Customise agent prompts and response formatting

Telemetry

Anonymous usage metrics for agent runs