Skip to content

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:

IntegrationUse caseSetup
Share URLOne agent working on one documentGive the agent a scoped link
agmd CLIShell workflows, scripts, coding agentsInstall one executable
MCPAssistants that discover and call toolsConfigure the remote MCP endpoint
HTTP APIApplications and custom orchestrationUse 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:

  1. Read before writing.
  2. Preserve the document structure.
  3. Attribute its work.
  4. Use suggestions when review is required.
  5. 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:

bash
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" --json

Replace the following:

  • DOC_ID: The document ID from your share link
  • SHARE_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:

text
https://agentsmarkdown.com/mcp

Continue 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.

Create and share Markdown documents with people and agents.