Be an Agent 7/16
# general
r
Be an Agent 7/16
@oliver @Vince I'm having trouble understanding the output here. Not sure if the average the last 7 days is 123m, or 1h 33 minutes. Also not sure what the 4h 7m total represents or what the down 40% indicates
o
I think that is basically nonsense output because the "windows" dropdown should not be multi-select
I think you should make those tool calls one at a time if you want to see them
Like first a window = 24h call (where interval is daily)
r
ok i'm remembering that now
o
Then a 7d call (where interval is daily)
r
last 7d should not include the reference day (which is incomplete)
it should be the previous 7 days
v
in the first compare activity usage, the comparison is basically "what are daily averages over the last 24 hours, and the last 7 days" -- it makes more sense if you imagine selecting "this week" vs. "last week"
the "vs prior" compares the last two windows - it doesn't make too much sense in your example but if you did "last week", "this week" it should show the percent different from this week to last week
r
there is no "last week", "this week"?
v
scroll down?
👍 1
r
the average wouldn't be correct on last 7 days though right - because it's getting anchored lower by the 0 day?
v
can you click on the 'raw json' and copy that here for me?
r
It's really occurring to me that the correct framing for the agent to have is that they are trying to narrate a story to the parent which explains interesting observations that increase the parents understanding of where the kid is at, and invite the parent to share what "healthy" looks like to them so that the agent can give even better calibrated call outs around what has been "good" and what is "bad"
and us having this foundational disposition will be helpful because we can make an opinionated call out like "betting apps can be tricky for a teenager to handle" followed by "how do you feel about Royce using them?" and then adjust the perspective we apply to the reviews based on the response
last json was wrong, here it was:
Copy code
{
  "activity": {
    "id": "3143a806-d4a8-4de4-aa48-c50e5b559b4b",
    "name": "TikTok",
    "category": "social"
  },
  "interval": "day",
  "ranges": [
    {
      "start": "2026-06-23T07:00:00.000Z",
      "end": "2026-06-24T07:00:00.000Z",
      "label": "2026-06-23",
      "totalMinutes": 137,
      "intervalUnits": 1,
      "value": 137
    },
    {
      "start": "2026-06-24T07:00:00.000Z",
      "end": "2026-06-25T07:00:00.000Z",
      "label": "2026-06-24",
      "totalMinutes": 65,
      "intervalUnits": 1,
      "value": 65
    },
    {
      "start": "2026-06-25T07:00:00.000Z",
      "end": "2026-06-26T07:00:00.000Z",
      "label": "2026-06-25",
      "totalMinutes": 189.3,
      "intervalUnits": 1,
      "value": 189.3
    },
    {
      "start": "2026-06-26T07:00:00.000Z",
      "end": "2026-06-27T07:00:00.000Z",
      "label": "2026-06-26",
      "totalMinutes": 153.9,
      "intervalUnits": 1,
      "value": 153.9
    },
    {
      "start": "2026-06-27T07:00:00.000Z",
      "end": "2026-06-28T07:00:00.000Z",
      "label": "2026-06-27",
      "totalMinutes": 56.8,
      "intervalUnits": 1,
      "value": 56.8
    },
    {
      "start": "2026-06-28T07:00:00.000Z",
      "end": "2026-06-29T07:00:00.000Z",
      "label": "2026-06-28",
      "totalMinutes": 235.5,
      "intervalUnits": 1,
      "value": 235.5
    },
    {
      "start": "2026-06-29T07:00:00.000Z",
      "end": "2026-06-29T13:00:00.000Z",
      "label": "2026-06-29",
      "totalMinutes": 0,
      "intervalUnits": 0.25,
      "value": 0
    }
  ],
  "average": 119.6,
  "percentChange": -100
}