Skip to main content

Define agentic contexts in Signals

An agentic context is a live, rolling record of a user's recent activity that you can hand to an agent to ground it in what the user is doing right now. You choose which events to capture and which of their details to keep, attach a written prompt for the agent, and read the result as JSON or as a plain-language narrative.

There are two methods for defining agentic contexts in Signals:

  • Snowplow Console UI
  • Signals Python SDK

Once defined, retrieve an agentic context in your application.

To create an agentic context using the UI, go to Signals > Agentic contexts in Snowplow Console and follow the instructions.

The first step is to specify:

  • A unique name
  • An optional description
  • Optional prompt instructions
  • The email address of the primary owner or maintainer

Create agentic context form with name, description, and owner fields

Selecting events

Choose which events to capture in the agentic context, and which details to keep from each one. This lets you shape the context around a purpose, so your system or an agent reads only what's relevant to its job. You can select up to 20 events, and for each event project up to 50 properties. Properties can come from the atomic event, the event schema, or entities attached to the event.

Event selection interface for choosing which events and properties to capture

Limits

An agentic context is a rolling window of recent activity, not a full history. It keeps the most recent events, up to the limits you set:

  • A maximum number of events (up to 100)
  • A maximum age (up to 1 hour)

Older activity rolls off once either limit is reached.

Session scope

An agentic context tracks a single user's activity within their current session, scoped to the domain_sessionid attribute key. Following a user across sessions is on the roadmap, but not available yet.

Prompt

Each agentic context carries a free-text prompt: instructions handed to the agent alongside the captured activity. Use it to tell the agent what job it's doing and what to do with this specific data, for example its role, what it should conclude from the activity, or what action to take next. The prompt has no effect on which events are captured. It only shapes how the agent interprets and acts on them. Edit this text and re-publish to refine that interpretation without changing the underlying data or how the agentic context is consumed.

Publishing an agentic context

Every change you make starts as a draft. Your currently published agentic context stays live while you edit, with no danger of half-finished changes going live. Publishing takes effect within a few seconds. If you change your mind, discard the draft and the live version is unaffected.

No versions to manage

Unlike other Signals resources, agentic contexts aren't versioned. There's one published agentic context per name, and it's always the one in effect. Publishing a draft replaces what was live.

To send the configuration to your Signals infrastructure, click Publish.

Deleting an agentic context

You can't delete an agentic context while it's published. Unpublish it first, then delete it. This prevents accidentally breaking any live system depending on an agentic context.

To unpublish or delete an agentic context, click the button on the top right of the details page and select the available option.

On this page

Want to see a custom demo?

Our technical experts are here to help.