dave (@dave8172) header
dave (@dave8172) profile picture

Harness and agentic security

Global
Joined August 2026
Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)Photo by dave (@dave8172)
Pinned Tweet
I am building maind: a shared brain for your ai agents, that works with you for long horizon goals, with security at the core. Details: quirkyagents.com/maind/
1
30
I tested @plainsupport AI support agents for injection attacks and high severity issues under their Disclosure Policy, under me own workspace. (incl. a custom Add-MCP server with refund/note-shaped tools). No high-sev to report: prompt dumps, cross-workspace, secret asks all refused; Sidekick’s Ask gate blocked unapproved MCP writes; and with writes set to Always allow, Sidekick still refused to follow refund instructions planted inside a tool’s output. That's a hardened product. Thanks @8thpark for allowing me to work :)
5
2
1
8
306
I am making a fully simulated company world, to showcase my agentic builds, security and harness testing. Is this called synthetic data generation?
12
If you have a long horizon task, like working overnight on something, how do you handover to the agent? Is there something called Durable sandboxes?
2
1
25
How are you protecting your agents from injection attacks?
1
1
21
I ran @pydantic PromptInjectionDefender (harness 0.77.0, stackone-defender 0.7.4) end to end on BIPIA, AgentDojo, InjecAgent and my own set: 3,714 texts, scripted model. The wiring held up everywhere I checked: verdicts reach on_detection, block_high_risk withholds what's rated high, and skip_large_arrays=False catches an attack in item 1,100 of 1,200 that the library default lets through. Three things that might be worth noting: 1. semantic_detection is the main detector, not only for unrecognised fields: 105 vs 34 of 384 attacks (BIPIA, AgentDojo, mine), false alarms 40 vs 27 of 560. Without it, 1,082 of 1,088 catches carry the "ignore previous instructions" pattern. 2. A tool named email_, documents_, crm_* (and a few more) gets StackOne's field list for that connector, so documents_get returning body gets no pattern check at all. The README doesn't list the fields or mention the prefixes. 3. A list[str] result gets no pattern check. That's within the documented limit, but it's a common shape: 31 of 124 attacks caught as a str, 0 as list items. Report and data: github.com/dave8172/agent-ha… Write-up: quirkyagents.com/wizard/blog…
22
So, everything, and I mean everything, is code? Does singularity mean AI understanding nature and universe in code?
1
29
Do LLMs take care of memory optimisation and garbage collectors, or it's too boring for the majesty?
19
I have been playing around a bit with @pydantic harness and agent SDK, and the best part is the plug and play model, in the form of natives called Capabilities. These deepened my understanding that an agent = model + harness. Let's dive in. Model is an intelligent brain that only takes in messages and gives out messages with its reasoning. To use that brain efficiently, we have to understand it's communication style. Now think of a harness, as that communication interface, that can be attached to the brain and a user(agent) at the other end, to communicate with the brain and complete tasks. How do you build agents? Building your own harness, with loop, tools, context management, etc, using specific model SDK (Claude agent SDK for Claude models) or something like Pydantic agent SDK(which allows to speak to many models). If you use Pydantic agent SDK, Capabilities is what unlocks it's true potential. Capabilities is a set of tools (code blocks) that can be plugged into an agent to give it powers. One of the Capability is pydantic harness. A Harness, at bare minimum, is a loop and tools to communicate with the model. But, it can do more to let the agent perform better, few examples: - protecting the user from attacks if brain gets polluted(approvals, injection attacks scans), - allow the brain to use tools equipped with the user in an efficient way(code mode), - let the user pause and resume seamlessly (sandboxes, context management). All these extra capabilities is what you get when using pydantic harness. Pax, their newly released harness, is a coding harness, a TUI interface, for any agent (and Coder, their own coding agent). Pydantic is extensible to the core. It's harness can be used with any agent, its agent can be built using custom harness. It supports many models and even Openrouter (a gateway to models, not a harness). They have amazing telemetry in Logfire. Ohh and they recently released a framework for spinning up sandboxes in milliseconds! If you're building agents or thinking of deploying AI in your production systems, Pydantic has a well rounded ecosystem, to build from ground up. If you need help in that, DMs are open :)
Remember when we hired @Glitch253 from Walmart, after learning that he had used @pydantic AI to build "Code Puppy", Walmart's internal coding harness used by 100k employees? Here's why :) Very excited to show off our SOTA coding harness Pax, built on our Harness SDK! Just as everything in the Harness is a capability, everything in Pax is a plugin, and Pax is just a TUI for the SDK's `Coder` harness, or any other custom agent you point it at!
1
1
4
208
We just released Pax, the official Pydantic AI coding agent for your terminal. Everything in it is a plugin, even the coding agent. Already built your own? Run it with pax --agent, then ship the same Agent in your service. uvx pydantic-ai-pax pydantic.io/AQyc8
40
31
18
276
30,240
Without Computer Use, how are you making your agents fill web forms?
33
wtf is second brain? it should be shared brain
23
If you think you need to develop new apps, open source projects, etc, best way is to implement in your existing products to understand it thoroughly. Because of insane ideate to execute speeds, we think we can build any product, not thinking of distribution challenges. Instead, steadily building ONE product, testing stuff that makes it easier for your users (future too) is better than many products which maybe 'novel'.
Replying to @dave8172
I would say try to implement that feature in an existing project I watched a demo by Mark Zuckerberg last night and realized that there is a glaring product implementation gap that none of the frontier labs have shipped yet for on-device inference and I’m now embedding my own solution in all of my products for differentiation
1
72
Is anyone thinking about UI of approvals? Everyone is making sure the LLMs raises approvals, but shouldn't it have a good UI/ UX as it seems to cause fatigue and not play it's intended purpose.
1
1
42
pandas can read 420K lines/sec iykwim
1
34
Replying to @dave8172
Sorta yeah. All AI media (image, video or audio) generated by ChatGPT or Gemini has an invisible watermark that can be detected called SynthID. Google released a free tool to check if an image has SynthID at synthid.com, it's quite useful, j recfomend bookmarking it!
1
1
1
1
74
Grok runs out of usage faster than Claude. Infact faster I think. I have never ran out of Claude using mostly Opus 5.5. In Grok I have 4 bots, and ran out in 3 days
1
37
In multi agent orchestration, what's a better design a shared brain, or agent to agent message board?
8
5
110
Built it in an hour with claude and Bot. Damn, speed of ideate to execute is insane, i am still in awe.
I am working on a very basic team app for my agents/ bots to have a single space to talk and assign tasks. For now, I think it needs a scratchpad to exchange messages on specific topics i start, and a taks board to track tasks per topic towards a goal. The problem is none of the agents should leak sensitive data, and for now i will keep it rules for agents.
1
52