software constructed upon coding brokers similar to Claude Code. It permits you to have a coding agent operating 24×7, working proactively and reactively to unravel duties. I’ve arrange a number of OpenClaw situations already and have discovered a good few issues by way of lively utilization. I’ve additionally mentioned it loads with colleagues who work with OpenClaw brokers every day, and on this article, I’ll share a number of the suggestions and methods I’ve discovered on the way to get essentially the most out of OpenClaw and a few errors that I’ve made, which I’ll let you know the way to keep away from.
Why arrange OpenClaw
The principle purpose it is best to arrange OpenClaw is that it might make you more practical as an engineer. The place you beforehand needed to run every part in Claude Code and be in your pc and able to work always, OpenClaude might be run from a separate pc and accessed from wherever by way of purposes like Telegram or Slack. This makes it extremely simple to work together with a coding agent similar to Claude Code, and you may work together with it from wherever.
Moreover, you may simply arrange cron jobs and expertise, which make the agent run code at particular intervals and at all times bear in mind to try this. And it might have expertise that it masses on demand to raised carry out particular duties.
All in all, OpenClaw merely makes your coding brokers a greater assistant. It makes it extra out there and higher in a position to carry out duties.
Mistake 1: Not operating in Docker
The primary mistake I made was not operating OpenClaw in Docker containers. There are a lot of causes it is best to run OpenClaw brokers in Docker containers, and I’ll listing a number of of them right here.
- It’s safer. Your agent can’t entry every part in your pc; it might solely entry what’s out there within the Docker picture.
- It’s tremendous simple to make security copies of your agent and transfer them wherever, since you may merely obtain a Docker picture and use it some place else. This works as a result of a Docker picture is a totally separate container that may be run totally by itself.
- For those who run a number of brokers on the identical pc, it separates them higher in order that there’s no overlap between your brokers.
General, there’s no actual purpose to not run in Docker. It’s additionally tremendous easy to arrange operating OpenClaw in Docker since you may merely ask your coding agent to set every part up for you. In actuality, you don’t must do something your self, and the coding brokers are extraordinarily proficient at establishing the Docker system for you. After I did this myself, I principally didn’t must do something besides immediate the mannequin to arrange OpenClaw in Docker, and it carried out it with no downside.
Mistake 2: Not give agent correct coaching
Mistake quantity two isn’t giving your agent the correct coaching and setup assist that it must carry out nicely. After I arrange my first agent, I spent a most of ten minutes explaining what it was imagined to do, gave it the required permissions, and hoped that that will be sufficient.
It turned out that’s not the way you do it in any respect. What ended up occurring is that my agent wasn’t actually in a position to do any of the duties it was imagined to do as a result of it hadn’t obtained particular coaching on the way to execute these duties. I, for instance, gave my agent entry to AWS with out telling it the way to entry AWS, the way to use it, the way to work together with folks by way of Slack, and so forth.
What ended up occurring particularly for me was that the agent began interacting with folks on Slack in messages it shouldn’t have replied to. And when it was particularly tagged, it didn’t know precisely what to do in these conditions.
To unravel this downside, it’s essential to give your agent super-specific coaching and inform it what it’s imagined to do, what it’s not imagined to do, and the way it’s imagined to do the duties you ask it to do.
For instance, for those who give it AWS entry and let it work together with folks by way of Slack, it is best to:
- Clarify to it the AWS docs in order that it is aware of precisely the way to use it and doesn’t make incorrect API calls or SDK calls.
- Clarify to the agent which messages it ought to reply to and which messages it shouldn’t reply to, which of them are related, principally.
- Clarify to it the completely different questions folks would possibly ask and the way it ought to method answering these questions. For instance, if somebody asks a few particular buyer, it ought to search for that buyer within the buyer desk, have a look at the completely different situations which might be related to this buyer, and ask the person clarifying questions.
Mistake 3: Not giving your agent sufficient permissions
Mistake quantity three is while you arrange your agent appropriately however you haven’t given it sufficient permissions to do what it’s imagined to do. For instance, you probably have requested your agent to carry out a bunch of AWS duties however not given it sufficient entry, for instance, it might solely entry DynamoDB however not S3 fully, it’s very laborious for the agent to carry out a process.
Whenever you arrange an agent, it is best to consider it as if it’s a human. For those who gave an intern a bunch of duties to carry out, however you didn’t give the AWS permissions the intern wanted to carry out the duty, it will be very laborious for the intern to know what to do.
The intern wouldn’t know to ask for permissions, for instance, or may not know as a result of they’ve by no means handled this example earlier than. Or it’d assume it’s imagined to determine that stuff out itself, whereas in actuality, it’s a must to give it the permissions it wants.
Thus, it is best to do the next when establishing an agent.
- Suppose totally by way of every part the agent is meant to do and ensure it has entry to all related sources. And for those who don’t give it entry to particular sources, ensure to tell the agent that it doesn’t have entry to this and the way to reply to folks in the event that they ask questions that require such entry.
- Give the agent entry to every part it’d want, in fact, inside safety considerations. This doubtless consists of learn entry to nearly every part you could have, just because learn entry is non-destructive.
- Monitor the agent’s efficiency, particularly firstly of its setup. For those who discover the agent scuffling with particular duties, it is best to assist the agent by telling it the way to resolve such duties. And it is best to both present or revoke entry that the agent wants or doesn’t want.
General, all of it comes all the way down to monitoring your agent and ensuring that it really works as anticipated.
Conclusion
On this article, I’ve mentioned three widespread errors which might be made when establishing OpenClaw and that I’ve made particularly myself after I’ve arrange OpenClaw brokers. These errors severely restrict the effectiveness of OpenClaw, so I extremely advocate following the entire suggestions I’ve supplied on this article and avoiding the three errors I’ve listed. General, nevertheless, all of it comes all the way down to monitoring your OpenFlow agent and serving to it the place you may discover the agent is struggling. If the agent is scuffling with particular duties, it’s most probably not an agent downside, however quite a setup downside or a person error. Thus, it is best to monitor your agent and ensure it’s efficient on the duties you ask it to do.
👉 My free eBook and Webinar:
🚀 10x Your Engineering with LLMs (Free 3-Day Email Course)
📚 Get my free Vision Language Models ebook
💻 My webinar on Vision Language Models
👉 Discover me on socials:
💌 Substack

