{"schemaVersion":"1.0","contentRevision":"4a4ceed612deeb23d5591ed650f5a76588f4a8dcd44fa4f321da1482eac45631","id":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","kind":"concept","title":"Keep deterministic work outside the agent","summary":"Scripts should perform repeatable operations while agents handle decisions that cannot be encoded cheaply, reducing latency, token use and context failures.","recordUrl":"https://intelligencesnacks.com/api/knowledge/v1/observations/cc3112ea-d391-4423-8ac5-17fdd4cd7fa0.json","graphUrl":"https://intelligencesnacks.com/graph/?node=knowledge%3Acc3112ea-d391-4423-8ac5-17fdd4cd7fa0","citationUrl":"https://intelligencesnacks.com/episodes/episode-067/#transcript-turn-76","episode":{"id":"d461dee3-5194-491c-af1d-48e5981aac92","number":67,"title":"Local AI Models","url":"https://intelligencesnacks.com/episodes/episode-067/","publishedAt":"2026-08-13T00:00:00.000Z"},"extractionMethod":"Automated extraction with transcript validation","transcriptRevisionId":"e02bf4a6-3d78-480c-ba39-636de02a6f96","evidence":[{"id":"d2ed1c05-bd0f-42f1-b911-7461df7336a0","excerpt":"[00:17:18] Pete\nI always felt this is why so many people's open claw Setups broke after about a month, and it's, it's 'cause they had to, 'cause they've kind of like loaded a lot of stuff into an agent runtime, which is probably the wrong place For it, like agents were doing a lot of just running scripts that could just be scripts running scripts running scripts, like none of that needed to exist in a context window.","speaker":"Pete","contributorUrl":"https://intelligencesnacks.com/contributors/pete-winn/","timestamp":"00:17:18","sourceUrl":"https://intelligencesnacks.com/episodes/episode-067/#transcript-turn-76","locator":"transcript-turn"},{"id":"9d6ac6b0-a36c-4ae6-aafb-7c04e4e46cb1","excerpt":"[00:59:26] Pete\nthat was just a different like experiment I was running. Which I've seen like a, um, another harness, another open-source harness, just like adopt a very similar approach Like essentially just pans that are levered, so they're just like an agent can just pull those or just run these scripts every time they need to do something. You take a lot of the, um- We just inject a heap of determinism into it.","speaker":"Pete","contributorUrl":"https://intelligencesnacks.com/contributors/pete-winn/","timestamp":"00:59:26","sourceUrl":"https://intelligencesnacks.com/episodes/episode-067/#transcript-turn-235","locator":"transcript-turn"},{"id":"22f6df68-14ce-4222-9620-a1c10d9dad9c","excerpt":"[01:03:50] Pete\nlike that is, like a lot of it is just code, like you don't need to have an agent constantly running. This is why people burn all their tokens, right? And offload the stuff that should be done","speaker":"Pete","contributorUrl":"https://intelligencesnacks.com/contributors/pete-winn/","timestamp":"01:03:50","sourceUrl":"https://intelligencesnacks.com/episodes/episode-067/#transcript-turn-265","locator":"transcript-turn"},{"id":"782c7d22-7a9e-4622-9729-0ae38793c433","excerpt":"[01:04:00] Pete\nIn code. I mean, this DPC we had on a couple of weeks ago, he talks about this a lot on Twitter. It's like, you know, all my, all my life as being a software engineer, I've always tried to find the things that he was doing as a software engineer and like, can I just do them in software so I never have to do them again? Like, and the same is true these days, it's like they can do stuff for you, but if it can be done software, it is a thousand times cheaper, so it's worth doing that 'cause now you have all this headroom Con- like it solves all your problems around context management, it solves all your problems around costs, it's just don't do it in the agent. No. What,","speaker":"Pete","contributorUrl":"https://intelligencesnacks.com/contributors/pete-winn/","timestamp":"01:04:00","sourceUrl":"https://intelligencesnacks.com/episodes/episode-067/#transcript-turn-266","locator":"transcript-turn"}],"connections":[{"sourceId":"episode:d461dee3-5194-491c-af1d-48e5981aac92","targetId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","type":"develops","explanation":null,"neighbourId":"episode:d461dee3-5194-491c-af1d-48e5981aac92","neighbourTitle":"Episode 67 · Local AI Models","reviewMethod":null,"reviewer":null,"reviewedAt":null,"neighbourUrl":"https://intelligencesnacks.com/episodes/episode-067/"},{"sourceId":"contributor:pete-winn","targetId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","type":"contributed","explanation":null,"neighbourId":"contributor:pete-winn","neighbourTitle":"Pete Winn","reviewMethod":null,"reviewer":null,"reviewedAt":null,"neighbourUrl":"https://intelligencesnacks.com/contributors/pete-winn/"},{"sourceId":"knowledge:d462adec-bb1e-4ff1-bd02-d26226c35cbc","targetId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","type":"develops","explanation":"Separating code from judgement is a practical design rule for reengineering an agent-heavy process.","neighbourId":"knowledge:d462adec-bb1e-4ff1-bd02-d26226c35cbc","neighbourTitle":"Effective AI automation requires process redesign","reviewMethod":null,"reviewer":null,"reviewedAt":null,"neighbourUrl":"https://intelligencesnacks.com/api/knowledge/v1/observations/d462adec-bb1e-4ff1-bd02-d26226c35cbc.json"},{"sourceId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","targetId":"knowledge:3a8fa89c-92c7-4df4-8a6c-02923d7449df","type":"supports","explanation":"The orchestration layer can combine deterministic pipeline stages with agent stages at explicit decision points.","neighbourId":"knowledge:3a8fa89c-92c7-4df4-8a6c-02923d7449df","neighbourTitle":"Coordinate agent runtimes, triggers and apps above the model tools","reviewMethod":null,"reviewer":null,"reviewedAt":null,"neighbourUrl":"https://intelligencesnacks.com/api/knowledge/v1/observations/3a8fa89c-92c7-4df4-8a6c-02923d7449df.json"},{"sourceId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","targetId":"snack:a0adadb6-5f45-4b96-81d5-63d4fc87d735","type":"summarised-by","explanation":null,"neighbourId":"snack:a0adadb6-5f45-4b96-81d5-63d4fc87d735","neighbourTitle":"Don’t make the agent run every step","reviewMethod":null,"reviewer":null,"reviewedAt":null,"neighbourUrl":"https://intelligencesnacks.com/snacks/dont-make-the-agent-run-every-step/"},{"sourceId":"canonical:code-first-workflows","targetId":"knowledge:cc3112ea-d391-4423-8ac5-17fdd4cd7fa0","type":"discussed-in","explanation":"Episode 67 argues that repeatable script execution need not occupy an agent context window. This editorial grouping does not assert that the claims are equivalent.","neighbourId":"canonical:code-first-workflows","neighbourTitle":"Code-first workflows","reviewMethod":"agent-editorial-review","reviewer":"lara","reviewedAt":"2026-11-09","neighbourUrl":"https://intelligencesnacks.com/api/knowledge/v1/ideas/code-first-workflows.json"}]}