Hacker News new | ask | show | jobs
by simlevesque 40 days ago
Are there some good articles/documentations about hardening a LLM harness ?

I'm currently running a setup where Claude lives in a container with zero auth token and I have a secondary gateway container that intercepts all requests that require a token and injects them into the request. For things like AWS request it intercepts the request and signs it. There's also a firewall to limit the requests it can make to a few known hosts.

I'm guessing and doing a lot of trial and errors and I want to know if there's any best practice. Googling only seems to return results from 2025 when people were just getting started with LLMs.

2 comments

The best places where I get this info is from the ai engineer YouTube channel and Claude’s YouTube channel.

For effective harness engineering you need to also read the detailed prompting guide for each model. We are back at a place where every model revision introduces harness optimizations that need to happen.

You seem to be doing all the right things though. The tldr is treat your agent to be a precocious kid and the job of the harness is to helicopter parent it without the kid realizing it’s being parented.

I want something I can point a LLM to and tell it to compare my infra to theirs and provide guidance on how to improve my harness. Videos are not it.

But thank you for the kind words.

Then point it to the Anthropic docs. Only place with reliable info. Look at their opus 5.5 prompting guide.
I specifically said I want info on container/harness hardening. They don't have any of these and the guide you mentioned isn't related to what I asked
When you say Claude…you mean the CLI?

That’s a harness.

I mean both the model and the CLI.

That's a harness, yes, but a harness can be more than this.