Skip to content

Atlas Reference Agent

Atlas is a reference agent that demonstrates the PR1 runtime loop:

  1. Link or identify the user.
  2. Create a profile runtime handle.
  3. Give the model the default profile tools.
  4. Execute tool calls through Configure.
  5. Commit the completed turn.
ts
import { Configure } from "configure";

const configure = new Configure({
  apiKey: process.env.CONFIGURE_API_KEY!,
  agent: "atlas",
});

const profile = configure.profile({
  token: userToken,
});

const tools = profile.tools({
  connectors: ["gmail", "calendar"],
});

const response = await model.run({
  messages,
  tools,
  executeTool: profile.executeTool,
});

await profile.commit({
  messages,
  response,
  memories: response.memoryCandidates, // optional durable facts/preferences
});

The agent handle atlas is the public identifier used for profile writes and attribution. Atlas does not expose raw files or connector tools unless the runtime enables them.

Personalization infrastructure for agents