Right context, right time
Share repos, files, memory, artifacts, and skills. Mount only what each task needs.
-
Create a memory store
Keep UTF-8 files that outlive a session. Concurrent edits use SHA-256 checks.
Read the docsconst 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",})curl --fail-with-body -X POST "$CHECKFU_BASE_URL/v1/memory_stores" \ -H "Authorization: Bearer $CHECKFU_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"User Preferences","description":"One file per user."}'checkfu memory-stores create --name "User Preferences" --description "One file per user."checkfu memory-stores:memories create --memory-store-id "$STORE_ID" --path /users/ada.md --content @ada.md{ "name": "memoryStores_createMemoryStore", "arguments": { "body": { "name": "User Preferences", "description": "One file per user." } }}# memory_stores/preferences.yamlname: User Preferencesdescription: One file per user. -
Save and publish artifacts
Version file sets in R2, share by signed link, or publish as a sandboxed site.
Read the docsconst 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 })curl --fail-with-body -X POST "$CHECKFU_BASE_URL/v1/artifacts" \ -H "Authorization: Bearer $CHECKFU_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"Status page","files":[{"path":"index.html","content":"<h1>All good</h1>"}]}'checkfu artifacts create --name "Status page" \ --file '{"path":"index.html","content":"<h1>All good</h1>"}'checkfu artifacts:versions link --artifact-id "$ARTIFACT_ID" --at-version 1 --expires-in 600{ "name": "artifacts_createArtifact", "arguments": { "body": { "name": "Status page", "files": [{ "path": "index.html", "content": "<h1>All good</h1>" }] } }}name: Status pagefiles: - path: index.html content: "<h1>All good</h1>" -
Mount per session
Attach memory stores, artifacts, files, skills, and GitHub repos when starting a session.
Read the docsconst 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 }, ], }),)curl --fail-with-body -X POST "$CHECKFU_BASE_URL/v1/sessions" \ -H "Authorization: Bearer $CHECKFU_API_KEY" \ -H "Content-Type: application/json" \ -d '{"agent":"agent_123","environment_id":"env_123","resources":[{"type":"memory_store","memory_store_id":"memstore_123","access":"read_write"}]}'checkfu sessions create --agent "$AGENT_ID" --environment-id "$ENVIRONMENT_ID" < resources.json{ "name": "sessions_createSession", "arguments": { "body": { "agent": "agent_123", "environment_id": "env_123", "resources": [{ "type": "memory_store", "memory_store_id": "memstore_123", "access": "read_write" }] } }}resources: - type: memory_store memory_store_id: memstore_123 access: read_write - type: artifact artifact_id: art_123 version: 1
Managed agents for any harness
Pick the harness and model. Checkfu runs everything around them.