Atlas Reference Agent
Atlas is a reference agent that demonstrates the PR1 runtime loop:
- Link or identify the user.
- Create a profile runtime handle.
- Give the model the default profile tools.
- Execute tool calls through Configure.
- 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.