ãã®ãµã€ãã¯é²èЧããã ãã§ãªããæäœãå¯èœã§ãã
ãã®ã«ããŽãªã®ã»ãŒãã¹ãŠã®ããŒã±ãã£ã³ã°ãµã€ãã¯ããšãŒãžã§ã³ããã¹ã¯ãªãŒã³ã·ã§ãããæ®ã£ãŠæšæž¬ããå¿ èŠãããå£ã§ãããã®ãµã€ãã¯ä»£ããã«ããã©ãŠã¶å ã®WebMCPãéããŠããããŠä»ã®å Žæã§ã¯JSON-RPCãéããŠãåä»ãããŒã«ã®ãªã¹ããæäŸããŸããããã¯è£œåç¬èªã®äž»åŒµã§ãããããŒã±ãã£ã³ã°ãµã€ãã«ãã£ãŠå®è¡ãããŸãã
â Back to the agent directory
ãã©ãŠã¶ã¯ãŸã navigator.modelContextãé ä¿¡ããŠããŸãããã»ãšãã©2026å¹Žã®æç¹ã§ã¯é ä¿¡ãããŠããŸãããåãããŒã«ã¯JSON-RPCãä»ããŠ/api/mcpã§å©çšã§ãããã©ãŠã¶ãµããŒãã¯å¿ èŠãããŸããã
list_bag_modulesèªã¿åãå°çšList every capability module AgentBag ships, each with a published status (live, beta, or bench) and the caveat that goes with it. Optionally filter by status. Use this first to understand what the product actually does.
example: {"status":"bench"}
get_bag_moduleèªã¿åãå°çšFetch the full published entry for one module: what it does, why it matters, how it works, its status caveat, and its FAQs. Use after list_bag_modules when you need depth on a specific capability.
example: {"slug":"trustgraph"}
search_bagèªã¿åãå°çšAnswer a natural-language question strictly from the published capability ledger, returning citations to the modules the answer came from. Declines rather than speculating when the ledger does not cover the question.
example: {"question":"What stops one agent reading another agent data?"}
check_workspace_addressèªã¿åãå°çšTurn a proposed team name into the tenant subdomain it would become, and report whether that label is usable. Does not reveal whether an address is already taken; that is deliberate.
example: {"name":"Acme Robotics"}
answer_faqèªã¿åãå°çšAnswer a common question about AgentBag in machine form: a terse declarative answer plus a flat object of primitive-valued facts you can assert against without parsing prose. Prefer this over search_bag for questions about pricing, limits, privacy, tenancy or how to evaluate the product. Call with no arguments to list every question.
example: {"question":"what is not built yet"}
get_pricing_statusèªã¿åãå°çšReport the current pricing position honestly, including the fact that billing is deliberately disarmed and no numbers are published yet.
example: {}
- ããã§ã¯å®è¡ã§ããŸãã
join_waitlistå¯äœçšã䌎ãSubmit an email address to the AgentBag waitlist, optionally reserving a workspace address. This sends data on the user behalf; confirm with them before calling it.
example: {"email":"you@example.com","workspace":"acme"}
ãã·ã³ãå¿ èŠãšãããã¹ãŠã
/api/mcpMCP JSON-RPC 2.0. POST tools/list, then tools/call./.well-known/mcp.jsonMCP discovery: find the endpoint from the origin./.well-known/agent-actions.jsonAction registry with schemas and examples./api/modulesThe capability ledger as JSON./llms.txtThe whole site as facts, for answer engines.
ã¿ãŒããã«ãã詊ã
curl -s https://agentbag.ai/api/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -s https://agentbag.ai/api/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"list_bag_modules","arguments":{"status":"bench"}}}'ã¹ã¯ãªããã¿ã°1ã€ã§ããµã€ãã«ãšãŒãžã§ã³ããå°å ¥ã
ä»»æã®ããŒãžã«JavaScriptã1è¡è¿œå ããã ããé ã«ãã©ã³ãä»ãã®ã©ã³ãã£ãŒã衚瀺ããã蚪åè ããããã¯ãªãã¯ãããšããµã³ãããã¯ã¹åãããããã«å ã§å ¬éæžã¿ã®ãšãŒãžã§ã³ããšäŒè©±ã§ããŸãã管çãã¹ãiframeãã飿ºãå¿ èŠãªèªèšŒãããã«ãã¹ãããããããŸããããšãŒãžã§ã³ãã¯ããŒãžãèªã¿åããæèã«æ²¿ã£ãŠåçãããªããã€ã³ããã°UIãšå¯Ÿè©±ããããšãå¯èœã§ãã
ãµã€ãã«è²Œãä»ã
<script src="https://agentbag.ai/embed.js" data-agent="<your-agent-folder-id>" data-accent="#5f6f3c" data-launcher="Chat with us" data-voice="on" data-page-context="on" ></script>
Shadow DOMã«ããåé¢
ãŠã£ãžã§ããã¯Shadow DOMã«ãŒãå ã«ã¬ã³ããªã³ã°ãããŸããã客æ§ã®CSSããŠã£ãžã§ããã厩ãããšã¯ãªãããŠã£ãžã§ãããã客æ§ã®CSSã厩ãããšããããŸãããã©ã®ãµã€ãã§ãã¹ã¿ã€ã«ã®è¡çªã¯äžåçºçããŸããã
ãµã³ãããã¯ã¹åãããiframe
ãã£ããããã«ã¯å³æ Œãªãµã³ãããã¯ã¹å ã§èªã¿èŸŒãŸããŸãããããããã²ãŒã·ã§ã³ã®é·ç§»ãè³æ Œæ å ±ã®æŒæŽ©ã¯ãããŸãããã²ã¹ãããŒã¯ã³ã¯ãã¬ãŒã å ã«ãšã©ãŸãããã¹ãããŒãžãå ¬éãããããšã¯ãããŸããã
é å»¶èªã¿èŸŒã¿
ãŠãŒã¶ãŒãã©ã³ãã£ãŒãã¯ãªãã¯ãããŸã§iframeã¯äœæãããŸãããããŒãžèªã¿èŸŒã¿ãžã®åœ±é¿ã¯ãŒãã§ããå®éã«èª°ããäŒè©±ãåžæãããŸã§ãé衚瀺 of ãããã¯ãŒã¯ãªã¯ãšã¹ããçºçããããšã¯ãããŸããã
èšå®
- Your published agent folder ID. Required.
data-agent"<folder-id>" - Brand color for the launcher button and accents.
data-accent"#5f6f3c" - Custom text on the launcher pill. Up to 40 characters.
data-launcher"Chat with us" - Enable voice input. Users can speak instead of type.
data-voice"on" - Which corner the launcher appears in. Default: right.
data-position"left" | "right" - Color scheme for the chat panel.
data-theme"light" | "dark" | "auto" - Let the agent read visible page content to give contextual answers.
data-page-context"on" - Let the agent interact with the page: click, scroll, highlight elements.
data-page-actions"on" - CSS selector scoping which content the agent can read. Default: main or article.
data-context-selector"main"
ä»çµã¿ã«ã€ããŠ
- 1. ããŒããŒãããŒãžå ã§å®è¡ãããŸãã Shadow DOMãã¹ããäœæããã©ã³ãã£ãŒãã¿ã³ãæç»ããŸãããã®æç¹ã§ã¯iframeã¯äœæãããããããã¯ãŒã¯ã³ã¹ããçºçããŸããã
- 2. ãŠãŒã¶ãŒãã©ã³ãã£ãŒãã¯ãªãã¯ããŸãã iframeã¯ã
sandboxå¶éä»ãã§äœæãããåœç€Ÿã®ãªãªãžã³ããèªã¿èŸŒãŸããŸããã²ã¹ãã»ãã·ã§ã³ãéå§ãããŸãã - 3. ããŒãžã®ã³ã³ããã¹ããåã蟌ãŸããŸãïŒãªããã€ã³ïŒã ãã
data-page-context="on", ããŒããŒãããŒãžãã衚瀺ããã¹ããæœåºããæèã«æ²¿ã£ãåçãæäŸããããã«ãšãŒãžã§ã³ãã«éä¿¡ããŸãã - 4. ããŒãžã¢ã¯ã·ã§ã³ãUIãæäœããŸãïŒãªããã€ã³ïŒã ãã
data-page-actions="on", ãšãŒãžã§ã³ãã¯ãŠãŒã¶ãŒãæ¡å ããããã«ãããŒãžäžã®èŠçŽ ããã€ã©ã€ããã¹ã¯ããŒã«ãã¯ãªãã¯ã§ããŸãã