Right context, right time

Share repos, files, memory, artifacts, and skills. Mount only what each task needs.

  1. Create a memory store

    Keep UTF-8 files that outlive a session. Concurrent edits use SHA-256 checks.

    Read the docs
    const store = await client.waitForPending(  await client.memoryStores.create({    name: "User Preferences",    description: "One file per user.",  }),)await client.memoryStores.memories.create(store.id, {  path: "/users/ada.md",  content: "Prefers short answers.\n",})
  2. Save and publish artifacts

    Version file sets in R2, share by signed link, or publish as a sandboxed site.

    Read the docs
    const artifact = await client.waitForPending(  await client.artifacts.create({    name: "Status page",    files: [{ path: "index.html", content: "<h1>All good</h1>" }],  }),)const link = await client.artifacts.versions.link(artifact.id, 1, { expires_in: 600 })
  3. Mount per session

    Attach memory stores, artifacts, files, skills, and GitHub repos when starting a session.

    Read the docs
    const session = await client.waitForPending(  await client.sessions.create({    agent: agent.id,    environment_id: environment.id,    resources: [      { type: "memory_store", memory_store_id: store.id, access: "read_write" },      { type: "artifact", artifact_id: artifact.id, version: 1 },    ],  }),)

Managed agents for any harness

Pick the harness and model. Checkfu runs everything around them.