Project
Give every customer a working context.
Put an agent inside your product, with a project that holds each customer’s knowledge. It reads their context before it gets to work.
Explore this featureInvoke Claude Code, Codex, and OpenCode via API, CLI, or UI. Run them in isolated sandboxes with persistent filesystems, parallel worktrees, and Git-native version control.
Choose a project, harness, and model.
Give it a task. Let it work.
import { Macrofold } from 'macrofold';const macrofold = new Macrofold();const run = await macrofold.runs.create({ project_id, harness: 'codex', model: 'gpt-5.4-mini', billing_mode: 'managed', prompt: 'Build a working prototype.',});for await (const text of macrofold.runs.streamText(run.run_id)) { process.stdout.write(text);}Create a project in the dashboard and set project_id and MACROFOLD_API_KEY. Choose a compatible model from the catalog: this example uses OpenAI’s GPT-5.4 mini with Codex. The catalog determines the provider. Managed execution uses your credits; no saved session or agent preset is required.
Follow the SDK installation guide. Go is a function body with ctx, projectID, fmt, and the SDK import. Rust runs in an async function with a parsed project UUID. Install the Macrofold CLI, then log in and link a project.
cURL uses jq to read the run ID. Keep the request key and body to recover an interrupted response. SDKs handle idempotency and stream reconnection. Complete API quickstart →
Give every customer a persistent agent—with its own files, tools, and ongoing work. Let different agents build on those files over time.
profile.mdmemory/travel.mdtasks.jsonOptional starter layout · ordinary, editable files
Alice shares her preferences with her personal agent.
A research agent reads the saved brief in a fresh conversation.
Milo uses the latest files to prepare Alice’s weekly plan.
Alice opens the result and corrects a preference for next time.
Customer agents is an optional integration path over Macrofold’s projects, worktrees, presets and runs. Your app owns customer identity. This illustrative workflow uses ordinary files and separate conversations; the optional memory starter guides what agents save.
Build this customer experienceEverything agents can do on your computer available in your product or internal tool, with thousands of available app connectors.
Project
Put an agent inside your product, with a project that holds each customer’s knowledge. It reads their context before it gets to work.
Explore this featureWorktrees
Draft outreach, review feedback, and update a brief in parallel. Each agent gets its own worktree, so concurrent tasks can work independently.
Explore this featureCheckpoints and Git Sync
Persist files between runs with verified checkpoints. Review changes and merge them back into the project; sync your branches with GitHub when you’re ready.
Explore this featureAPI, CLI, UI
Your application starts the work through the API. Step in from the CLI or dashboard to give another instruction and follow the result.
Explore this featureConnectors
Connect the customer’s CRM, email, and knowledge sources. Choose which connections and tools each task can access.
Explore all connectorsBring your own model keys or use managed credits. Pay for the compute you use, with model, storage, and tool charges based on your setup.
Explore pricingTrigger an agent from a Slack message, a webhook, or a recurring schedule. Connect an agent preset to a project and let the work begin.
Set up a triggerContinue a compatible native session with its conversation and project files. Give another instruction without rebuilding the context from scratch.
Explore sessionsStream progress and tool activity into your product. Follow live output, inspect results, and replay the run’s recorded events later.
Explore streamingChoose the projects, connections, and tools an agent can use. Scoped grants and server-side authorization keep access tied to the task.
Control accessExecute agents in isolated sandboxes. Infrastructure credentials stay outside agent processes, and stored provider keys and published checkpoints are encrypted.
Understand the platformNative harnesses, model providers, and the tools your work depends on.
Explore all connectorsGive your next idea a place to run.