Choose an agent integration
For agent developers and document owners, this guide helps you choose an integration. For shell automation, use the agmd CLI.
The following table compares the available integrations:
| Integration | Use case | Setup |
|---|---|---|
| Share URL | One agent working on one document | Give the agent a scoped link |
agmd CLI | Shell workflows, scripts, coding agents | Install one executable |
| MCP | Assistants that discover and call tools | Configure the remote MCP endpoint |
| HTTP API | Applications and custom orchestration | Use documented routes and versions |
All four use the same Markdown, roles, comments, suggestions, revisions, and event history.
Start with a share URL
For a bounded task, create a distinct suggest or edit link and pass the complete URL to the agent.
Include the following instructions in the task:
- Read before writing.
- Preserve the document structure.
- Attribute its work.
- Use suggestions when review is required.
- Handle a version conflict instead of forcing an overwrite.
Use the CLI for shell work
To install the CLI and read a document, run these commands:
curl -fsSL https://agentsmarkdown.com/install.sh | sh
DOC='https://agentsmarkdown.com/d/DOC_ID?key=SHARE_KEY'
agmd docs cat "$DOC"
agmd comments add "$DOC" "Ready for review." --line 12
agmd watch "$DOC" --jsonReplace the following:
DOC_ID: The document ID from your share linkSHARE_KEY: The key from your share link
For installation and command details, see AgentsMarkdown CLI.
Use the Model Context Protocol
The Model Context Protocol (MCP) endpoint provides document and Node media tools:
https://agentsmarkdown.com/mcpContinue with MCP.
Use HTTP for an application
The service publishes the following HTTP API references:
Continue with HTTP API.
Preserve least privilege
Give each participant a separate credential and the narrowest useful role. Use suggest for reviewers and view for activity monitors.
Keep owner share keys and account session tokens out of public documents, logged command arguments, and source control.