Skip to content
MacrofoldDocs
Start here

Documentation

Start an agent task, review its output, and keep its files on Cloud or your own deployment.

View Markdown

Give an agent a task, follow its progress, and keep the work it produces. Macrofold runs Codex, Claude Code, OpenCode, Hermes, DeepSeek Harness, and Pi through the same API, terminal, and dashboard—without a separate integration for each harness.

Workspace files outlive individual runs. Start with one useful task, then reuse its files, agent setup, and connected tools for the next. From one task to ongoing work explains how the pieces fit together.

Start building

Choose where Macrofold runs

OptionYou manageStart here
Macrofold CloudYour application, workspaces, permissions, and usageConnect to Cloud
Self-hostedYour Macrofold deployment and its infrastructureSelf-hosting guide

The same API, SDK, CLI, and feature guides apply to both. Use the origin and credentials for your deployment; enabled integrations, model availability, and limits depend on its configuration. For a free first experiment, use local simulation.

Learn the essentials

Start with a workspace for files, an agent for the job, and a run to do one task. You can use the workspace's main worktree before learning about parallel branches or saved conversations. Core concepts explains the resources and what persists.

Build a customer-facing agent

Read the customer identity guide, then run the personal-agent application. It keeps customer ownership, named agents, files, conversations and schedules connected. Add the optional file memory starter or use customer-data recipes for an existing database or MCP service. Each guide includes setup, examples, recovery, validation and an explicit AI reading map.

Go deeper

API overview · SDKs in five languages · CLI · Streaming · Errors and retries · OpenAPI · Troubleshooting

Develop and operate

Local simulation, Docker, and cloud staging are development modes. Self-hosting covers operating a deployment. Architecture, the codebase map, and contributing explain how to change Macrofold itself.

Anyone can contribute a harness through the Unified Harness Interface, reusing the existing execution, streaming, and persistence system.