Skip to content
MacrofoldDocs
Start here

Documentation

Build with persistent agents on Macrofold Cloud or your own infrastructure.

View Markdown

Run Codex, Claude Code, OpenCode, Hermes, DeepSeek Harness, or Pi through an API, CLI, or dashboard. Give agents persistent files they can return to across tasks.

Start building

Choose where Macrofold runs

OptionYou manageStart here
Macrofold CloudYour application, projects, 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

A project groups work. A workspace holds its files. A run performs a task. Core concepts explains 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.