[{"data":1,"prerenderedAt":678},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fkit":180,"\u002Fdocs\u002Fkit-surround":673},[4,8,20,24,59,65,69,73,77,100,104,108,112,116,120,124,128,160,164,168,172,176],{"title":5,"path":6,"stem":7},"","\u002Fdocs","1.docs\u002Findex",{"title":9,"path":10,"stem":11,"children":12,"icon":19},"Getting Started","\u002Fdocs\u002Fgetting-started","1.docs\u002F01.getting-started\u002F1.index",[13,15],{"title":14,"path":10,"stem":11},"Bosca",{"title":16,"path":17,"stem":18},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart","1.docs\u002F01.getting-started\u002F2.quickstart",false,{"title":21,"path":22,"stem":23},"Kit","\u002Fdocs\u002Fkit","1.docs\u002F01.kit",{"title":25,"path":26,"stem":27,"children":28},"Content","\u002Fdocs\u002Fcontent","1.docs\u002F02.content\u002F1.index",[29,31,53],{"title":30,"path":26,"stem":27},"Content Strategy",{"title":32,"path":33,"stem":34,"children":35},"Metadata","\u002Fdocs\u002Fcontent\u002Fmetadata","1.docs\u002F02.content\u002F1.metadata\u002F1.index",[36,37,41,45,49],{"title":32,"path":33,"stem":34},{"title":38,"path":39,"stem":40},"Supplementary","\u002Fdocs\u002Fcontent\u002Fmetadata\u002Fsupplementary","1.docs\u002F02.content\u002F1.metadata\u002F2.supplementary",{"title":42,"path":43,"stem":44},"Documents","\u002Fdocs\u002Fcontent\u002Fmetadata\u002Fdocuments","1.docs\u002F02.content\u002F1.metadata\u002F3.documents",{"title":46,"path":47,"stem":48},"Guides","\u002Fdocs\u002Fcontent\u002Fmetadata\u002Fguides","1.docs\u002F02.content\u002F1.metadata\u002F4.guides",{"title":50,"path":51,"stem":52},"Bible","\u002Fdocs\u002Fcontent\u002Fmetadata\u002Fbible","1.docs\u002F02.content\u002F1.metadata\u002F5.bible",{"title":54,"path":55,"stem":56,"children":57},"Collections","\u002Fdocs\u002Fcontent\u002Fcollections","1.docs\u002F02.content\u002F2.collections\u002F1.index",[58],{"title":54,"path":55,"stem":56},{"title":60,"path":61,"stem":62,"children":63},"Workflows","\u002Fdocs\u002Fworkflows","1.docs\u002F03.workflows\u002F1.index",[64],{"title":60,"path":61,"stem":62},{"title":66,"path":67,"stem":68},"Search","\u002Fdocs\u002Fsearch","1.docs\u002F04.search",{"title":70,"path":71,"stem":72},"Profiles","\u002Fdocs\u002Fprofiles","1.docs\u002F05.profiles",{"title":74,"path":75,"stem":76},"Organizations","\u002Fdocs\u002Forganizations","1.docs\u002F06.organizations",{"title":78,"path":79,"stem":80,"children":81,"icon":99},"Engineering","\u002Fdocs\u002Fengineering","1.docs\u002F07.engineering\u002F1.index",[82,83,87,91,95],{"title":78,"path":79,"stem":80},{"title":84,"path":85,"stem":86},"Infrastructure","\u002Fdocs\u002Fengineering\u002Finfrastructure","1.docs\u002F07.engineering\u002F2.infrastructure",{"title":88,"path":89,"stem":90},"Backend Services","\u002Fdocs\u002Fengineering\u002Fservices","1.docs\u002F07.engineering\u002F3.services",{"title":92,"path":93,"stem":94},"Deployment","\u002Fdocs\u002Fengineering\u002Fdeployment","1.docs\u002F07.engineering\u002F4.deployment",{"title":96,"path":97,"stem":98},"Framework Modules","\u002Fdocs\u002Fengineering\u002Fframework","1.docs\u002F07.engineering\u002F5.framework","i-heroicons-wrench-screwdriver",{"title":101,"path":102,"stem":103},"Identity Management","\u002Fdocs\u002Fidentity","1.docs\u002F07.identity",{"title":105,"path":106,"stem":107},"Localization","\u002Fdocs\u002Flocalization","1.docs\u002F08.localization",{"title":109,"path":110,"stem":111},"Analytics","\u002Fdocs\u002Fanalytics","1.docs\u002F09.analytics",{"title":113,"path":114,"stem":115},"AI & Agents","\u002Fdocs\u002Fai","1.docs\u002F10.ai",{"title":117,"path":118,"stem":119},"Messaging & Email","\u002Fdocs\u002Fmessages","1.docs\u002F11.messages",{"title":121,"path":122,"stem":123},"Scheduler","\u002Fdocs\u002Fscheduler","1.docs\u002F12.scheduler",{"title":125,"path":126,"stem":127},"Backup & Restore","\u002Fdocs\u002Fbackup","1.docs\u002F13.backup",{"title":129,"path":130,"stem":131,"children":132},"Architecture","\u002Fdocs\u002Farchitecture","1.docs\u002F14.architecture\u002F1.index",[133,134,137,141,145,149,153,157],{"title":129,"path":130,"stem":131},{"title":92,"path":135,"stem":136},"\u002Fdocs\u002Farchitecture\u002Fdeployment","1.docs\u002F14.architecture\u002F2.deployment",{"title":138,"path":139,"stem":140},"Security","\u002Fdocs\u002Farchitecture\u002Fsecurity","1.docs\u002F14.architecture\u002F3.security",{"title":142,"path":143,"stem":144},"Telemetry","\u002Fdocs\u002Farchitecture\u002Ftelemetry","1.docs\u002F14.architecture\u002F4.telemetry",{"title":146,"path":147,"stem":148},"Administration","\u002Fdocs\u002Farchitecture\u002Fadministration","1.docs\u002F14.architecture\u002F5.administration",{"title":150,"path":151,"stem":152},"GraphQL Schema","\u002Fdocs\u002Farchitecture\u002Fgraphql","1.docs\u002F14.architecture\u002F6.graphql",{"title":154,"path":155,"stem":156},"Storage","\u002Fdocs\u002Farchitecture\u002Fstorage","1.docs\u002F14.architecture\u002F7.storage",{"title":105,"path":158,"stem":159},"\u002Fdocs\u002Farchitecture\u002Flocalization","1.docs\u002F14.architecture\u002F8.localization",{"title":161,"path":162,"stem":163},"Scripting","\u002Fdocs\u002Fscripting","1.docs\u002F15.scripting",{"title":165,"path":166,"stem":167},"Configuration","\u002Fdocs\u002Fconfiguration","1.docs\u002F16.configuration",{"title":169,"path":170,"stem":171},"Forms","\u002Fdocs\u002Fforms","1.docs\u002F17.forms",{"title":173,"path":174,"stem":175},"Segmentation & Campaigns","\u002Fdocs\u002Fsegmentation","1.docs\u002F18.segmentation",{"title":177,"path":178,"stem":179},"Devices & Push","\u002Fdocs\u002Fdevices","1.docs\u002F19.devices",{"id":181,"title":21,"body":182,"description":667,"extension":668,"meta":669,"navigation":670,"path":22,"seo":671,"stem":23,"__hash__":672},"docs\u002F1.docs\u002F01.kit.md",{"type":183,"value":184,"toc":642},"minimark",[185,189,192,208,213,216,234,237,241,244,249,252,273,276,284,288,291,316,319,327,353,357,371,375,395,398,406,409,412,438,442,450,454,468,472,480,506,513,517,521,528,532,540,544,555,559,566,586,590,593,619,622],[186,187,188],"p",{},"Kit is the AI agent orchestration layer that powers Bosca's conversational AI. It turns database-defined agent configurations into live, tool-equipped agents that can search content, query data, manage scripts, generate images, process documents, and more.",[186,190,191],{},"What Kit provides:",[193,194,195,199,202,205],"ul",{},[196,197,198],"li",{},"Dynamic agent construction from database definitions",[196,200,201],{},"A library of 40+ specialized tools spanning content, analytics, scripting, and media",[196,203,204],{},"Chat routing with session management and streaming responses",[196,206,207],{},"Extensibility via scripts and external MCP servers",[209,210,212],"h2",{"id":211},"how-it-works","How It Works",[186,214,215],{},"Kit builds agent hierarchies at runtime. When a chat message arrives, Kit:",[217,218,219,222,225,228,231],"ol",{},[196,220,221],{},"Loads the agent definition, model, and prompt from the database",[196,223,224],{},"Resolves all configured tools from the DI container or as script-backed tools",[196,226,227],{},"Connects any referenced MCP servers for external tool access",[196,229,230],{},"Recursively builds sub-agents for delegation",[196,232,233],{},"Runs the assembled agent with full conversation history and streams the response",[186,235,236],{},"Agents are not hard-coded---they are defined in the database. You can add, remove, or reconfigure agents and their tools without redeploying.",[209,238,240],{"id":239},"tool-library","Tool Library",[186,242,243],{},"Kit includes a rich set of tools that give agents the ability to interact with the Bosca platform and beyond.",[245,246,248],"h3",{"id":247},"sql-analytics","SQL & Analytics",[186,250,251],{},"Agents can explore and query analytics data through Trino with read-only access:",[193,253,254,261,267],{},[196,255,256,260],{},[257,258,259],"strong",{},"List Catalogs, Schemas, Tables",": Discover available data sources",[196,262,263,266],{},[257,264,265],{},"Describe Table",": Inspect column names and types",[196,268,269,272],{},[257,270,271],{},"Execute Query",": Run SELECT queries against the analytics database",[245,274,66],{"id":275},"search",[193,277,278],{},[196,279,280,283],{},[257,281,282],{},"Search Query",": Full-text and semantic search across platform content, respecting permissions",[245,285,287],{"id":286},"graphql","GraphQL",[186,289,290],{},"Agents can introspect and query the Bosca GraphQL API directly:",[193,292,293,299,305,311],{},[196,294,295,298],{},[257,296,297],{},"List Root Fields",": Discover available queries and mutations",[196,300,301,304],{},[257,302,303],{},"Get Type Definition",": Inspect any GraphQL type",[196,306,307,310],{},[257,308,309],{},"Search Schema",": Find types and fields by keyword",[196,312,313,315],{},[257,314,271],{},": Run arbitrary GraphQL queries with variables",[245,317,161],{"id":318},"scripting",[186,320,321,322,326],{},"Full lifecycle management of platform ",[323,324,325],"a",{"href":162},"scripts",":",[193,328,329,335,341,347],{},[196,330,331,334],{},[257,332,333],{},"List, Get, Create, Edit, Delete",": Manage script definitions",[196,336,337,340],{},[257,338,339],{},"Execute, Validate",": Run scripts and check syntax",[196,342,343,346],{},[257,344,345],{},"Enable\u002FDisable",": Control script activation",[196,348,349,352],{},[257,350,351],{},"Triggers (List, Add, Remove)",": Bind scripts to workflow events",[245,354,356],{"id":355},"images","Images",[193,358,359,365],{},[196,360,361,364],{},[257,362,363],{},"Generate Image",": Create new images using AI models",[196,366,367,370],{},[257,368,369],{},"Edit Image",": Modify existing images with AI-assisted editing",[245,372,374],{"id":373},"pdf-processing","PDF Processing",[193,376,377,383,389],{},[196,378,379,382],{},[257,380,381],{},"Extract Text",": Pull text content from PDFs stored in Bosca",[196,384,385,388],{},[257,386,387],{},"Extract Images",": Pull embedded images from PDFs",[196,390,391,394],{},[257,392,393],{},"PDF Info",": Retrieve metadata (page count, dimensions, etc.)",[245,396,42],{"id":397},"documents",[193,399,400],{},[196,401,402,405],{},[257,403,404],{},"Convert to Document",": Transform content (such as HTML) into structured Bosca documents",[245,407,50],{"id":408},"bible",[186,410,411],{},"Specialized tools for Bible content:",[193,413,414,420,426,432],{},[196,415,416,419],{},[257,417,418],{},"Get Available Bibles",": List available translations",[196,421,422,425],{},[257,423,424],{},"List Books",": Enumerate books and chapters for a translation",[196,427,428,431],{},[257,429,430],{},"Get Verses",": Retrieve specific passages",[196,433,434,437],{},[257,435,436],{},"Search References",": Find passages by reference",[245,439,441],{"id":440},"documentation","Documentation",[193,443,444],{},[196,445,446,449],{},[257,447,448],{},"Search Documentation",": Search indexed platform documentation",[245,451,453],{"id":452},"client-interaction","Client Interaction",[193,455,456,462],{},[196,457,458,461],{},[257,459,460],{},"Get Confirmation",": Request user confirmation before proceeding with an action",[196,463,464,467],{},[257,465,466],{},"Render Visualization",": Display charts or visual data in the chat interface",[209,469,471],{"id":470},"chat-dispatcher","Chat Dispatcher",[186,473,474,475,479],{},"The ",[476,477,478],"code",{},"KitChatDispatcher"," is the entry point for AI chat. It handles:",[193,481,482,488,494,500],{},[196,483,484,487],{},[257,485,486],{},"Session management",": Each conversation is tied to a user and session ID, with distributed locking to prevent concurrent processing of the same session",[196,489,490,493],{},[257,491,492],{},"Attachment context",": File and collection attachments on a session are injected as context so agents can reference them",[196,495,496,499],{},[257,497,498],{},"Streaming responses",": Responses stream in real time via Server-Sent Events, with status updates (streaming, completed, failed) dispatched throughout",[196,501,502,505],{},[257,503,504],{},"MCP lifecycle",": External MCP toolsets are connected at the start of a request and cleaned up when the request completes",[186,507,508,509,512],{},"Chat is accessible via SSE streaming at ",[476,510,511],{},"\u002Fapi\u002Fv1\u002Fai\u002Fchat",".",[209,514,516],{"id":515},"extending-kit","Extending Kit",[245,518,520],{"id":519},"script-backed-tools","Script-Backed Tools",[186,522,523,524,527],{},"Any platform ",[323,525,526],{"href":162},"script"," can be exposed as an agent tool. When a tool references a script ID, Kit loads the script and wraps it as a tool that agents can call. This lets you add new agent capabilities without writing compiled code.",[245,529,531],{"id":530},"mcp-server-integration","MCP Server Integration",[186,533,534,535,539],{},"Agents can connect to external ",[323,536,538],{"href":537},"\u002Fdocs\u002Fai#model-context-protocol-mcp","MCP"," servers registered in the database. Kit loads the referenced MCP toolsets at request time, making third-party tools available alongside built-in ones.",[245,541,543],{"id":542},"custom-tools","Custom Tools",[186,545,546,547,550,551,554],{},"New compiled tools follow a simple pattern: extend ",[476,548,549],{},"AbstractTool\u003CInput, Output>"," with serializable input\u002Foutput types, implement a suspend ",[476,552,553],{},"execute"," function, and register the tool via the DI system. Tools automatically get access to the authenticated user context, database connections, and caching.",[209,556,558],{"id":557},"package-installation","Package Installation",[186,560,561,562,565],{},"Kit ships as a package (",[476,563,564],{},"kit"," v1.0.0) with three installers that run during platform setup:",[193,567,568,574,580],{},[196,569,570,573],{},[257,571,572],{},"Model Installer",": Registers default AI models",[196,575,576,579],{},[257,577,578],{},"Prompt Installer",": Registers default system prompts",[196,581,582,585],{},[257,583,584],{},"Agent Installer",": Registers the Kit agent hierarchy with its tools and sub-agents",[209,587,589],{"id":588},"for-developers","For developers",[186,591,592],{},"Related modules:",[193,594,595,601,607,613],{},[196,596,597,598],{},"Kit orchestration: ",[476,599,600],{},"backend\u002Fkit",[196,602,603,604],{},"Agent system: ",[476,605,606],{},"backend\u002Fframework\u002Fai",[196,608,609,610],{},"Core AI interfaces: ",[476,611,612],{},"backend\u002Fframework\u002Fcore-ai",[196,614,615,616],{},"Scripting engine: ",[476,617,618],{},"backend\u002Fframework\u002Fscripting",[186,620,621],{},"Related:",[193,623,624,630,636],{},[196,625,626,627],{},"AI & Agents: ",[323,628,629],{"href":114},"AI overview",[196,631,632,633],{},"Scripting: ",[323,634,635],{"href":162},"Platform scripts",[196,637,638,639],{},"Architecture: ",[323,640,641],{"href":130},"Architecture overview",{"title":5,"searchDepth":643,"depth":643,"links":644},2,[645,646,659,660,665,666],{"id":211,"depth":643,"text":212},{"id":239,"depth":643,"text":240,"children":647},[648,650,651,652,653,654,655,656,657,658],{"id":247,"depth":649,"text":248},3,{"id":275,"depth":649,"text":66},{"id":286,"depth":649,"text":287},{"id":318,"depth":649,"text":161},{"id":355,"depth":649,"text":356},{"id":373,"depth":649,"text":374},{"id":397,"depth":649,"text":42},{"id":408,"depth":649,"text":50},{"id":440,"depth":649,"text":441},{"id":452,"depth":649,"text":453},{"id":470,"depth":643,"text":471},{"id":515,"depth":643,"text":516,"children":661},[662,663,664],{"id":519,"depth":649,"text":520},{"id":530,"depth":649,"text":531},{"id":542,"depth":649,"text":543},{"id":557,"depth":643,"text":558},{"id":588,"depth":643,"text":589},"Kit is Bosca's AI agent — it builds intelligent agents with tools and routes conversations to the right specialist.","md",{},true,{"title":21,"description":667},"APQ9xSQVD8y6kF8q85dkHAVi0JX9kG0v-5sQCEM8R20",[674,676],{"title":16,"path":17,"stem":18,"description":675,"children":-1},"Get up and running with Bosca in minutes and see how it can transform your content management.",{"title":30,"path":26,"stem":27,"description":677,"children":-1},"Learn how Bosca helps you manage, enrich, and organize your content to make it more useful for everyone.",1775372112831]