PROBABLY PRIVATE

Issue # 30: What can we learn from endpoint security? + How to stop overengineering your harness
logo

What can we learn from endpoint security? + How to stop overengineering your harness

What can we learn from endpoint security? + How to stop overengineering your harness

Hello privateers,

I hope you're enjoying summer in the Southern Hemisphere or holiday times up North. I've been traveling a lot for work but am finally ready for holidays in Berlin.

In this issue, I'll be covering what agentic programming users can learn from endpoint security best practices and why I think you should stop overengineering your harness.

These are some spicy opinions. If you disagree, I encourage you to reply to this email and teach me about your use case / point of view. :)

What I Learned about Agentic Security from Endpoint Management

For the past few months, I had a chance to attend the IGEL Nordic Circle Knowledge Exchange in Stockholm, Oslo, Copenhagen and Helsinki. The endpoint management community was new to me and endpoint providers have some interesting problems that relate very much to agentic workflows.

There is a photo of a slide on immutable operating systems, a photo of Katharine presenting in a historical room and a photo of tables of attendees.
A few shots from IGEL Nordic Circle presentations at the Carlsberg Factory and Museum

Here are some of my takeaways I think we should apply to agentic workflows.

Immutability

Do you know about immutable operating systems? They allow you to easily create essentially stateless starting points with a closed subset of software, services, applications and data. The user of the system cannot change the underlying software or directories, but can do things like connect to the network to store artifacts in another system (like a cloud file storage or separately running container). If needed, you can have a small working area where there is write privileges.

Once I heard about this, I thought of how ideal this is for some common agentic workflows, where you want to collect telemetry and create artifacts outside of the agent working area, but not actually allow the agent to modify arbitrary files or any installed software on the system. Presuming you already know what software and cloud services should be installed and used, this gives you much better control and also gives you a fresh state when you need to potentially kill your agent due to abnormal or undesirable actions.

Fit for purpose profiles and containers

Do you have fit-for-purpose permissioning, policies and application profiles for your agents? This means actually building data, service and application access with non-generic definitions. It also means defining beforehand what the agent should do and making sure that the system only has access to the data, services and applications that are relevant and needed. If an agent is "intelligent", it should be able to figure out how to use a limited subset of software and libraries to do clear workloads.

Are your agents properly containerized with appropriate restrictions? What I often see is a light containerization of only parts of the agent logic, despite several agent workflows being easy to preprescribe and containers being a ubiquitous part of computing. Why? Well... something something Claude Desktop. 😅

Disaster Recovery

What happens if an agent does something horrific, like installs malware or ransomware on a part of the computing systems? Or takes systems offline? It's not hard to imagine how agents have already created disasters with unpredictable skill usage, the ability to arbitrarily write and execute code, especially with "cyber" capabilities.

This means ensuring actual isolation and a disaster recovery plan is an essential part of managing agents effectively. You can also test the plan while building manageable ways to identify abnormalities or aberrations. This might involve segregating and stopping parts of the agent computation at will and requires a way to manage agents from some part of the network/compute cluster.

Centralized observability and agent Management

Endpoints are by their nature vast distributed systems. However many endpoint management systems provide a centralized management plane (or several depending on architecture and whether parts of the system are airgapped, etc.).

Why don't we have this level of visibility and management for agents? Ideally these are simple workloads that you can manage like other distributed data management systems which have been architected and running for decades at this point...

In addition, providing insights via observability, like I wrote about in the last newsletter, is a key component of providing better privacy and security for your overall system. Endpoint management planes provide useful summary statistics across the fleet, which would help organizations or individuals using agents to better understand standard operations and more quickly identify errors.

Sustainability

Why exactly are most agent providers using the most powerful computing resources for things that can be done by microservices with better accuracy and determinism? One thing I learned from the IGEL crew is how running a leaner operating system can add years to the life of a computer or display system.

Why aren't many agent providers building more sustainable ways to use agents? Why aren't AI provider services modularizing visible microservices to hand off workloads which are easy to do in software and are by definition deterministic? Can we actually choose to shape things for better sustainability?

Another theme that IGEL touched on was sovereignty, and in my opinion there's nothing more "sovereign" (i.e. self-determined) right now than to take better control of your agent workflows. And I have a radical idea that you may/may not like... :)

Stop Overengineering your Harness

Although I still use several harnesses and there are some good use cases, I think the focus on forever expanding "harnesses" has the risk of optimizing the wrong part of agentic workflows.

The more I see what people are doing with their harnesses, the more I realize they are missing the point of what LLMs and multi-modal models can do and what they could build on their own by leveraging normal software and data best practices.

By building out modular and repeatable workflows where a model is one part of a larger workflow, you can establish better privacy practices and avoid simply sending all data directly to your favorite AI vendor.

I've been building out a research agent to help me with following updates in the field and storing interesting findings for later use. It's not a coding agent + harness, it's a LangGraph system with distinct prompts, steps, software modules and handoffs.

Because I can better define how data flows, I feel more comfortable switching in frontier models for parts of the workflow because it means I can control what parts of my research and data those AI systems see, and which ones are just going to my Local Lab setup.

Instead of skills and more markdown, I'm building modularized code, several of which have 0 need for a model. These essentially act as microservices in the graph. This means I can also expect determinism, I can test it and I can scale those parts of the graph without increasing token costs.

It also means I can build in guardrails, LLM-as-a-judge and other checks in the system at clear break points. I can create stopping criteria and there are naturally ways to pause and ask for human review. I don't have to trust that the AI model knows when I would normally want to stop and check in, I can program it.

I'm curious if for your own work you have experimented with agent graphs like LangGraph or PocketFlow. What tips can you share with me and others looking to modularize their work? I'd be happy to hear from you.

If you're still building out your harness, that's fine...But you might want to check exactly what you assume the LLM will do and determine if eventually you want to own more parts of your workflow with better privacy, security and outcome guarantees.

Upcoming Public Speaking, Conferences and Trainings

I'll be at the following events and locations in the coming weeks/months. If you aren't attending the event but are in the city, I'd be very happy to say hi and drink an espresso or tea. Just reply to this email.

Hope to see you somewhere in 2027... or to read from you on what you'd like to hear/learn/see from me online. :)

It's a pleasure to read from you; either by a quick reply or a postcard or letter to my PO Box:

Postfach 2 12 67 10124 Berlin Germany

With Love and Privacy, kjam