r/platformengineering • • 9d ago

[ Removed by moderator ]

[removed] — view removed post

9 Upvotes

6 comments sorted by

4

u/Starks1293 9d ago

good write-up, and props for saying k8s doesn't make them secure by default, most posts skip that bit

i'd argue the governance gaps you list are mostly identity gaps, not location gaps. a laptop agent with no inventory and no attribution is usually just running as the developer, with the developer's kubeconfig and cloud creds. the cheap middle step before moving everything to the cluster:

  • give the agent its own identity (separate kube context + service account, scoped cloud role) instead of borrowing the human's
  • audit logs keyed on that identity, so "what did the agents do this week" is a query, not a guess
  • read-only by default, write verbs granted per job

that gets you inventory, consistent permissions and attribution while devs keep the fast local loop. the cluster model makes a lot more sense once agents run long, unattended jobs, which is where your reproducibility and scale points really land

3

u/[deleted] 9d ago

[removed] — view removed comment

2

u/Starks1293 9d ago

yeah fair, "depends on the dev setting it up" is the weak spot and with less technical people it just doesn't happen. the only way i've seen the laptop side work is when the platform team hands out the agent identity (the context, the role, the creds) instead of each dev building their own, so the dev never really configures anything. but for orgs that want one place to enforce it all, blocking local agents and running them on the cluster is a pretty understandable call

2

u/vincentdesmet 8d ago

we had to build a whole JWKs + PKI + EgressProxy set up around serverless (Sfn/AgentCore) background agents for our Background Agent adoption roadmap

can’t be underestimated the importance of associating identity and scoping access for background agents

1

u/editor_of_the_beast 8d ago

There’s also the point that agents on a laptop don’t make sense because past 2 or 3 building anything serious they will all be contending for laptop resources and slowing each other down.

1

u/spirosoik 5d ago

Founder @ r/NOFireAI_

This is true and the reality is that this an unmanaged risk so far in the return of productivity and output. We built https://brig.sh a sandbox with secret broker and policies on L4 and L7. We did multiple write ups how we use it daily and operating agents with control, you can read more here https://www.nofire.ai/blog/operating-agents-safely-with-short-lived-aws-authority

Also, we are launching at Blackhat in London a Control Room and Brig Enterprise for controlled autonomous AI execution from laptops to agentic workloads in kubernetes and not only.