Files & Data Layout

What Glider writes to disk and to the database.

What lives in MongoDB.

CollectionHoldsRetention
agentic_conversationsAgent chat history per page, with each run's tool steps.Kept.
artifact_designsEvery design an agent wrote, in full: request, brief, each designer run's prompts and reply, cost, the HTML, imports with their measured snapshots, logic.Kept; the 20 latest imports per design.
agentic_sessionsMCP agent sessions: catalogs read, baseline ids, consent grants.24 hours idle.
agentic_questionsAgent questions waiting for an answer.30 minutes after the agent last waited.
functionLogsScript log lines.24 hours, 200 rows per read.
page_checkpointsPage snapshots for revert.25 most recent per page.

The default connection is mongodb://glider:glider@127.0.0.1:27018/glider?authSource=admin — port 27018 so the bundled container does not collide with a local mongod. The database name comes from the URI path, falling back to glider.

The desktop app needs none of this: it ships MongoDB and runs it for itself, listening on a local-only port it picks at launch, with its data in the app-data folder (mongodb/ next to workspace/) and its log in mongod.log beside server.log. Setting MONGODB_URI before starting the app points it at another database instead.