{"slug": "sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust", "title": "Sharing an AI agent: what to keep, what to strip, and what never to trust", "summary": "AWFlow, a browser automation tool, added a marketplace where users can share AI agents and whole teams as templates, and its builder laid out which parts of an agent travel and which stay behind. On-device model choices, rule presets, generic per-action rules, portable routines and team handoff maps are included in a template, while knowledge-base contents, credentials, the author's MCP servers, per-site rules, site allow/block lists, local-workflow routines, workflow IDs and cloud model choices are stripped, with cloud models reset to \"inherit.\" Dependencies that cannot travel are recorded as \"needs\" — the workflow's name and the MCP server's host — and installers see a note reading \"Add these to finish setting it up: …\" rather than an agent silently missing tools; listings are reviewed by a moderator before going live and installing takes one click plus a single confirmation when the template's agents can act in the browser.", "body_md": "Sharing an AI agent: what to keep, what to strip, and what never to trust\n\nAn agent is more than a prompt: it has memory, skills, rules and connections. Here is where we drew the line between the reusable setup and the personal state, and the rules we follow when someone installs a template.\n\nYou built an agent that works. Someone asks for it. What do you actually send them?\n\nAn AI agent is more than a prompt. In AWFlow (a browser automation tool I build) an agent has a model, instructions, memory, skills, rules and routines, and agents can form teams with a handoff map (the coordination runtime behind teams has its own post). We recently added a marketplace where people can share agents and whole teams as templates.\n\nThat raises a design question every “share your agent” feature has to answer: what’s the reusable part, and what’s personal? Get it wrong one way and templates are useless. Get it wrong the other way and people leak their memory, their sites and their credentials. Here’s how we drew the line, and the rules we follow on install.\n\nWhat travels and what stays\n\nAn agent template should carry how the agent works, never what it knows about its author or what it’s connected to on the author’s machine.\n\nKnowledge-base contents (the collection references are emptied)\n\nSkills it uses (browser, web search, on-device AI…)\n\nCredentials and the author’s MCP servers\n\nRule preset and generic per-action rules\n\nPer-site rules and the author’s allow/block site lists\n\nPortable routines (schedule, page triggers…)\n\nRoutines tied to a local workflow or a recording\n\nTeam: members, roles, way of working, handoff map\n\nIDs of the author’s own workflows\n\nOn-device model choice\n\nCloud model choice (it names the author’s provider)\n\nA few of these deserve a word.\n\nModels: on-device travels, cloud doesn’t\n\nIf the author picked an in-browser model, the template keeps it: anyone can download the same model. If they picked a cloud model, the template says “inherit” and the installer’s own default applies. A cloud pick names the author’s provider and account setup, which the installer may not have.\n\nRules: keep the intent, drop the specifics\n\nThe agent’s rule preset and its generic per-action rules (“ask before submitting forms”) are the safety intent, so they travel. Rules tied to specific sites, and the author’s allow/block site lists, are personal browsing context, so they’re dropped.\n\nDependencies become “needs”, not secrets\n\nIf an agent uses one of the author’s workflows as a skill, or an MCP server, the template can’t include those. Instead it records what’s needed: the workflow’s name, the MCP server’s host.\n\nThe agent depends on the author’s things\n\nA workflow that lives on the author’s device, an MCP server they connected. Neither can travel.\n\nExport records the need\n\nThe template keeps the workflow’s name and the server’s host, so the installer knows what is missing.\n\nInstall creates the agent\n\nThe new agent starts without those tools, rather than pretending to have them.\n\nYou get a plain note\n\nAfter installing, the user sees “Add these to finish setting it up: …”.\n\nThat’s much better than an agent that silently has fewer tools than its description promises.\n\nRoutines: only the portable ones\n\nA routine triggered by a schedule or a page event travels. A routine that depends on a local workflow or a recorded sequence can’t work on someone else’s machine, so it’s left out rather than shipped broken.\n\nOn install: never trust the file\n\nA template is just data, and data from strangers is untrusted.\n\nInstall follows a few rules:\n\nThe re-mapping is worth seeing, because it’s where a careless importer leaks or overwrites things.\n\nThe marketplace on top\n\nThe marketplace adds the social layer. Listings are reviewed by a moderator before they go live, and anyone can browse agent and team templates in Marketplace › Agents & teams without signing in. Installing is one click, plus a single confirmation when the template’s agents can act in your browser or run on their own. The install is counted on the server (once per signed-in person), but the agents themselves are created locally on your device.\n\nOne honest limit: stripping protects your state and your connections, not your words. Instructions are shared as written. The marketplace checks a template again when it is submitted and refuses anything that looks like a key or personal data, but read your instructions before you share. The templates page in the docs lists everything that is and isn’t shared.\n\nIf you’re building “share your agent” in your own product, this is the short list:", "url": "https://wpnews.pro/news/sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust", "canonical_source": "https://awflow.io/blog/sharing-an-ai-agent-what-to-strip", "published_at": "2026-10-15 00:00:00+00:00", "updated_at": "2026-10-21 22:12:40.571294+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-products"], "entities": ["AWFlow", "Marketplace"], "also_reported_by": [], "takeaway": "Agent templates should carry how an agent works — on-device model choice, rule presets, generic per-action rules, portable routines and team handoff maps — while stripping knowledge-base contents, credentials, MCP servers, per-site rules and cloud model picks, recording untransferable dependencies a", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust", "markdown": "https://wpnews.pro/news/sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust.md", "text": "https://wpnews.pro/news/sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust.txt", "jsonld": "https://wpnews.pro/news/sharing-an-ai-agent-what-to-keep-what-to-strip-and-what-never-to-trust.jsonld"}}