{"id":248095,"date":"2026-11-20T07:53:07","date_gmt":"2026-11-20T07:53:07","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/248095\/"},"modified":"2026-11-20T07:53:07","modified_gmt":"2026-11-20T07:53:07","slug":"shepherd-the-quiet-power-of-an-ai-agent-manager","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/248095\/","title":{"rendered":"Shepherd: The Quiet Power Of An AI Agent Manager"},"content":{"rendered":"<p>AI agents are running amok on the internet, armed with commands to accomplish certain tasks but often acting in undesirable or unexpected ways. These rogue incidents run the gamut from <a href=\"https:\/\/au.pcmag.com\/ai\/116091\/meta-security-researchers-ai-agent-accidentally-deleted-her-emails\" target=\"_blank\" rel=\"nofollow noopener\">deleting an entire email inbox<\/a> to <a href=\"https:\/\/www.theguardian.com\/global\/2026\/sep\/28\/ai-agents-spiral\" target=\"_blank\" rel=\"nofollow noopener\">hacking websites<\/a> and even <a href=\"https:\/\/spectrum.ieee.org\/hugging-face-openai-cyberattack\" target=\"_self\" rel=\"nofollow noopener\">launching cyberattacks<\/a>.<\/p>\n<p>Much like human workers need managers, <a href=\"https:\/\/www.khoury.northeastern.edu\/people\/weiyan-shi\/\" target=\"_blank\" rel=\"nofollow noopener\">Weiyan Shi<\/a>, an assistant professor at <a href=\"https:\/\/www.northeastern.edu\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Northeastern University<\/a>, believes <a data-linked-post=\"2677692261\" href=\"https:\/\/spectrum.ieee.org\/amd-agent-swarms\" target=\"_blank\" rel=\"nofollow noopener\">AI agents<\/a> require oversight. \u201cThey are running potentially for a long time. However, the longer they run, they may have some errors, and they may make some dangerous, unsafe actions. We feel like there should be a middle layer,\u201d she says.<\/p>\n<p>This middle layer comes in the form of meta-agents that oversee behavior, provide quality control, and kick issues up the chain of command to a human when appropriate. \u201cWorker agents are like the sheep wandering around, and the <a href=\"https:\/\/spectrum.ieee.org\/tag\/meta\" rel=\"nofollow noopener\" target=\"_blank\">meta<\/a> agent is like this shepherd trying to get them back on track,\u201d Shi says.<\/p>\n<p>As such, Shi and her colleagues at Northeastern University and <a href=\"https:\/\/www.stanford.edu\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Stanford University<\/a> named their framework <a href=\"https:\/\/shepherd-agents.ai\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Shepherd<\/a>, an intelligent guide for agentic sheep. To arm meta-agents with power, the team borrowed a concept from <a href=\"https:\/\/spectrum.ieee.org\/tag\/software-development\" rel=\"nofollow noopener\" target=\"_blank\">software development<\/a>: version control. The accompanying <a href=\"https:\/\/arxiv.org\/abs\/2605.10913\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">paper<\/a> will be presented at the 2026 <a href=\"https:\/\/neurips.cc\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">NeurIPS conference<\/a> to be held in December.<\/p>\n<p>Version control for AI agents<\/p>\n<p>Version <a href=\"https:\/\/spectrum.ieee.org\/tag\/control-systems\" rel=\"nofollow noopener\" target=\"_blank\">control systems<\/a>, such as the popular <a href=\"https:\/\/github.com\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">GitHub<\/a>, track and manage changes to source code over time. These tools allow software engineers to collaborate on the same codebase without losing work. They can \u201cfork\u201d or create a copy of the codebase that they develop independently, \u201ccommit\u201d to save a new version with changes, review revisions, and roll back to a previous version when an error or failure occurs.<\/p>\n<p>Similarly, Shepherd serves as a version control system for AI agents. It\u2019s built using the <a href=\"https:\/\/spectrum.ieee.org\/tag\/python\" rel=\"nofollow noopener\" target=\"_blank\">Python<\/a> programming language and rooted in <a href=\"https:\/\/ijsrm.net\/index.php\/ijsrm\/article\/view\/7139\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">functional programming<\/a> principles. Each agent action, along with the AI agent\u2019s state and its relevant environment (such as an email inbox, a file system, or other) is stored as a commit, with a commit graph consisting of a series of actions. Meta-agents traverse the graph to navigate to any commit, enabling them to observe worker agents, intercept a buggy action, revert the worker to its previous step, and fork it to try another direction.<\/p>\n<p>\u201cThere\u2019s a subtlety because it looks to [worker] agents like they\u2019re in the regular world where they can do things like send emails. But in actuality, the action of sending the email has been caught by a Shepherd sandbox, so a meta-agent or a human can come in and decide to actually send it,\u201d says <a href=\"https:\/\/www.linkedin.com\/in\/derekch\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Derek Chong<\/a>, a researcher at <a href=\"https:\/\/spectrum.ieee.org\/tag\/stanford\" rel=\"nofollow noopener\" target=\"_blank\">Stanford<\/a> University\u2019s <a href=\"https:\/\/nlp.stanford.edu\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Natural Language Processing Group<\/a> who\u2019s part of the Shepherd team. This sandboxing, he adds, functions as a guardrail or governance component.<\/p>\n<p>\u201cIf there is a middle layer to help govern these worker agents, then that will help humans have better control,\u201d Shi says. \u201cHumans will still, eventually, have a say, and they can intervene with the meta-agent. They can also help steer these meta-agents.\u201d<\/p>\n<p>To demonstrate Shepherd\u2019s feasibility, the team created three use cases. One used a supervisor meta-agent that intervened when conflict happened between parallel programming agents, helping lift their pair coding pass rate on a particular benchmark. Another developed an optimization meta-agent that proposed targeted edits to a worker agent\u2019s finished workflow and tested them by replaying only parts of the run affected by the edits, helping improve performance. Finally, a training meta-agent during <a href=\"https:\/\/spectrum.ieee.org\/tag\/reinforcement-learning\" rel=\"nofollow noopener\" target=\"_blank\">reinforcement learning<\/a> picked points or steps at which to fork so the worker agent takes a better path, rewarding it along the way.<\/p>\n<p>Shepherd is available as an <a href=\"https:\/\/github.com\/shepherd-agents\/shepherd\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">open-source project<\/a>, but Chong notes that the team is still in the process of building it from alpha to full production readiness. The Shepherd framework is part of the broader <a href=\"https:\/\/agent-sciences.org\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Agent Sciences Research Initiative (ASRI)<\/a> cofounded by Chong and Shi. This collaboration of researchers from Northeastern, Stanford, and <a href=\"https:\/\/www.berkeley.edu\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">UC Berkeley<\/a> aims to explore how to make AI agents more reliable and robust, how to evaluate them better, and how to ensure they\u2019re safer.<\/p>\n<p>\u201cIt\u2019s becoming more and more clear that agent management is really important,\u201d Chong says. \u201cAgents should be able to inspect other agents and operate on them, just the way that management in real life can happen. We think Shepherd is the way we can build toward that and enable agent management to be democratized. And if you can democratize that, then humans can be empowered to build AI systems that support human flourishing.\u201d<\/p>\n<p>From Your Site Articles<\/p>\n<p>Related Articles Around the Web<\/p>\n","protected":false},"excerpt":{"rendered":"AI agents are running amok on the internet, armed with commands to accomplish certain tasks but often acting&hellip;\n","protected":false},"author":2,"featured_media":248096,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[179,405,109737,17955,7537,424],"class_list":["post-248095","post","type-post","status-publish","format-standard","has-post-thumbnail","category-agentic-ai","tag-agentic-ai","tag-ai-agents","tag-algorithmic-management","tag-alignment","tag-artificial-intelligence-agents","tag-software-engineering"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/248095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=248095"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/248095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/248096"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=248095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=248095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=248095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}