This directory contains the source files for the Agent-R1 documentation site, built with MkDocs and the Material theme.
The site configuration lives at the repository root in mkdocs.yml.
pip install -r docs/requirements.txtRun from the repository root:
mkdocs build --cleanRun from the repository root:
mkdocs serveThe local preview is usually available at http://127.0.0.1:8000/Agent-R1/.
docs/
├── README.md # maintenance notes for the docs directory
├── requirements.txt # documentation dependencies
├── index.md # documentation homepage
├── getting-started/ # minimal setup and sanity-check flow
│ ├── index.md
│ ├── installation-guide.md
│ └── quick-start.md
├── core-concepts/ # key framework concepts
│ ├── index.md
│ ├── step-level-mdp.md
│ └── layered-abstractions.md
└── tutorials/ # task-oriented tutorials
├── index.md
└── agent-task.md
- Create a new
.mdfile underdocs/or one of its subdirectories. - Add the page to the
navsection inmkdocs.yml. - Use relative links between documentation pages when possible.
- Keep the documentation lightweight and focused on the most important flows.
- Prefer real repository scripts and examples over pseudo-code.
- Keep environment setup guidance aligned with
verlinstead of duplicating a separate installation guide here.
The current site uses:
mkdocs-materialfor the theme and navigationpymdown-extensionsfor enhanced Markdown rendering- Mermaid fences for diagrams
- MathJax for math rendering
Documentation dependencies are listed in docs/requirements.txt:
mkdocsmkdocs-materialpymdown-extensions
docs/README.mdis for maintainers and is excluded from the generated site.- The current Agent-R1 documentation is intentionally compact and centered on the framework's core agent workflow.