{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "agnesai-labs-agnes-harness--add-business-tool-plugin",
 "repo": "AgnesAI-Labs/agnes-harness",
 "repo_url": "https://github.com/AgnesAI-Labs/agnes-harness",
 "repo_slug": "agnesai-labs-agnes-harness",
 "title": "Add a business tool to the agent as a plugin",
 "page_title": "How to add a business tool to the agent as a plugin with Agnes Harness",
 "summary": "Register a customer-specific tool as a backend plugin so the agent can call it.",
 "who": "A solutions engineer whose customer needs the agent to query an internal order or knowledge system.",
 "problem": "Writing customer systems directly into the agent means forking it for every deployment.",
 "outcome": "A backend plugin registers a tool the agent can call, and each call keeps its inputs and structured output.",
 "steps": [
  "Clone the Agnes Harness repository and open its root directory.",
  "Run `pnpm install --frozen-lockfile`.",
  "Run `pnpm --filter @agnes/cli build:local`.",
  "Read the backend plugin guide at docs/develop/backend.md and start from the demo_text_stats example.",
  "Run `node packages/cli/dist/local/agnes.mjs serve`, open the printed loopback URL, and call your tool in a task."
 ],
 "agent_prompt": "Work in the agnes-harness repository at <repo path>. Follow docs/develop/backend.md to add a backend plugin that exposes a tool named <tool name> for <business system>. Confirm the tool appears in a task and returns structured output. Report the files you changed.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "AGH is a pre-alpha developer preview, and ordinary backend plugins run as trusted in-process code, so review plugin code before enabling it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 24.10 or newer",
  "pnpm 10.34.5",
  "Native build tools for your platform",
  "A cloned copy of the agnes-harness source repository",
  "A configured AI model in the Web interface"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/agnesai-labs-agnes-harness/add-business-tool-plugin/",
 "md": "https://dedupedai.com/use-cases/agnesai-labs-agnes-harness/add-business-tool-plugin/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/agnesai-labs-agnes-harness--add-business-tool-plugin.json",
 "api_version": "v1"
}
