[{"data":1,"prerenderedAt":392},["ShallowReactive",2],{"navigation_docs":3,"-game-dev-agent-integration":64,"-game-dev-agent-integration-surround":389},[4,26,43],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Using Parallax","\u002Fusing-parallax","1.using-parallax",[9,13,17,21],{"title":10,"path":11,"stem":12},"Getting Started","\u002Fusing-parallax\u002Fgetting-started","1.using-parallax\u002F0.getting-started",{"title":14,"path":15,"stem":16},"Project Structure","\u002Fusing-parallax\u002Fproject-structure","1.using-parallax\u002F1.project-structure",{"title":18,"path":19,"stem":20},"Working with the Agent","\u002Fusing-parallax\u002Fworking-with-agent","1.using-parallax\u002F2.working-with-agent",{"title":22,"path":23,"stem":24},"Deploying Your Game","\u002Fusing-parallax\u002Fdeploying","1.using-parallax\u002F3.deploying",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Features","\u002Ffeatures","2.features",[31,35,39],{"title":32,"path":33,"stem":34},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F0.overview",{"title":36,"path":37,"stem":38},"Roadmap","\u002Ffeatures\u002Froadmap","2.features\u002F1.roadmap",{"title":40,"path":41,"stem":42},"Feature Requests","\u002Ffeatures\u002Frequests","2.features\u002F2.requests",{"title":44,"path":45,"stem":46,"children":47,"page":25},"Game Dev","\u002Fgame-dev","3.game-dev",[48,52,56,60],{"title":49,"path":50,"stem":51},"The Mental Model","\u002Fgame-dev\u002Fmental-model","3.game-dev\u002F0.mental-model",{"title":53,"path":54,"stem":55},"Best Practices","\u002Fgame-dev\u002Fbest-practices","3.game-dev\u002F1.best-practices",{"title":57,"path":58,"stem":59},"Love2D Patterns","\u002Fgame-dev\u002Flove2d-patterns","3.game-dev\u002F2.love2d-patterns",{"title":61,"path":62,"stem":63},"Agent Integration (MCP + Context7)","\u002Fgame-dev\u002Fagent-integration","3.game-dev\u002F3.agent-integration",{"id":65,"title":61,"body":66,"description":381,"extension":382,"links":383,"meta":384,"navigation":386,"path":62,"seo":387,"stem":63,"__hash__":388},"docs\u002F3.game-dev\u002F3.agent-integration.md",{"type":67,"value":68,"toc":371},"minimark",[69,74,87,92,103,106,119,123,126,131,261,268,274,277,281,288,296,314,317,323,327,330,360,367],[70,71,73],"h1",{"id":72},"agent-integration","Agent Integration",[75,76,77,78,82,83,86],"p",{},"The Parallax agent doesn't just use this documentation as a one-time training input — it can query it live at inference time via ",[79,80,81],"strong",{},"MCP"," (Model Context Protocol) and ",[79,84,85],{},"Context7",".",[88,89,91],"h2",{"id":90},"how-it-works","How it works",[93,94,99],"pre",{"className":95,"code":97,"language":98},[96],"language-text","Your prompt → Parallax Agent\n                    ↓\n          Context7 MCP Server\n                    ↓\n       docs.thriv.es\u002Fllms.txt    ← index of all pages\n                    ↓\n       Relevant page content     ← fetched on demand\n                    ↓\n          Grounded response\n","text",[100,101,97],"code",{"__ignoreMap":102},"",[75,104,105],{},"When you prompt the agent and your question touches a topic covered in these docs (Love2D patterns, API usage, best practices), Context7 fetches the relevant page and injects it into the agent's context window before generating a response. This means:",[107,108,109,113,116],"ul",{},[110,111,112],"li",{},"Docs improvements immediately improve agent answers — no retraining required",[110,114,115],{},"The agent cites sources when it draws from documentation",[110,117,118],{},"Adding new articles (patterns, guides, recipes) directly makes the agent smarter",[88,120,122],{"id":121},"setting-up-in-claude-cursor","Setting up in Claude \u002F Cursor",[75,124,125],{},"Add the Context7 MCP server to your AI assistant:",[127,128,130],"h3",{"id":129},"claude-via-mcp-config","Claude (via MCP config)",[93,132,136],{"className":133,"code":134,"language":135,"meta":102,"style":102},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"context7\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@upstash\u002Fcontext7-mcp@latest\"]\n    }\n  }\n}\n","json",[100,137,138,147,166,182,208,243,249,255],{"__ignoreMap":102},[139,140,143],"span",{"class":141,"line":142},"line",1,[139,144,146],{"class":145},"sMK4o","{\n",[139,148,150,153,157,160,163],{"class":141,"line":149},2,[139,151,152],{"class":145},"  \"",[139,154,156],{"class":155},"spNyl","mcpServers",[139,158,159],{"class":145},"\"",[139,161,162],{"class":145},":",[139,164,165],{"class":145}," {\n",[139,167,169,172,176,178,180],{"class":141,"line":168},3,[139,170,171],{"class":145},"    \"",[139,173,175],{"class":174},"sBMFI","context7",[139,177,159],{"class":145},[139,179,162],{"class":145},[139,181,165],{"class":145},[139,183,185,188,192,194,196,199,203,205],{"class":141,"line":184},4,[139,186,187],{"class":145},"      \"",[139,189,191],{"class":190},"sbssI","command",[139,193,159],{"class":145},[139,195,162],{"class":145},[139,197,198],{"class":145}," \"",[139,200,202],{"class":201},"sfazB","npx",[139,204,159],{"class":145},[139,206,207],{"class":145},",\n",[139,209,211,213,216,218,220,223,225,228,230,233,235,238,240],{"class":141,"line":210},5,[139,212,187],{"class":145},[139,214,215],{"class":190},"args",[139,217,159],{"class":145},[139,219,162],{"class":145},[139,221,222],{"class":145}," [",[139,224,159],{"class":145},[139,226,227],{"class":201},"-y",[139,229,159],{"class":145},[139,231,232],{"class":145},",",[139,234,198],{"class":145},[139,236,237],{"class":201},"@upstash\u002Fcontext7-mcp@latest",[139,239,159],{"class":145},[139,241,242],{"class":145},"]\n",[139,244,246],{"class":141,"line":245},6,[139,247,248],{"class":145},"    }\n",[139,250,252],{"class":141,"line":251},7,[139,253,254],{"class":145},"  }\n",[139,256,258],{"class":141,"line":257},8,[139,259,260],{"class":145},"}\n",[75,262,263,264,267],{},"Then in your prompts, append ",[100,265,266],{},"use context7"," or reference a library:",[93,269,272],{"className":270,"code":271,"language":98},[96],"Add a screen shake effect to my Love2D game. use context7\n",[100,273,271],{"__ignoreMap":102},[75,275,276],{},"Context7 will look up the Parallax docs (and the official Love2D docs) and feed the relevant content to the agent.",[127,278,280],{"id":279},"cursor","Cursor",[75,282,283,284,287],{},"Add the same MCP config to ",[100,285,286],{},".cursor\u002Fmcp.json"," in your project root.",[88,289,291,292,295],{"id":290},"the-llmstxt-endpoint","The ",[100,293,294],{},"\u002Fllms.txt"," endpoint",[75,297,298,299,307,308,313],{},"This site exposes an index at ",[300,301,305],"a",{"href":302,"rel":303},"https:\u002F\u002Fdocs.thriv.es\u002Fllms.txt",[304],"nofollow",[100,306,294],{}," — a plain-text map of all documentation URLs and descriptions, following the ",[300,309,312],{"href":310,"rel":311},"https:\u002F\u002Fllmstxt.org",[304],"llms.txt standard",". Context7 and other MCP tools use this to know what's available before fetching.",[75,315,316],{},"You can also point any LLM tool at it directly:",[93,318,321],{"className":319,"code":320,"language":98},[96],"https:\u002F\u002Fdocs.thriv.es\u002Fllms.txt\n",[100,322,320],{"__ignoreMap":102},[88,324,326],{"id":325},"writing-docs-that-help-the-agent","Writing docs that help the agent",[75,328,329],{},"Since articles feed directly into agent context, write them with the agent in mind:",[107,331,332,342,348,354],{},[110,333,334,337,338,341],{},[79,335,336],{},"Be specific"," — \"use ",[100,339,340],{},"dt"," for movement\" is more useful than \"handle timing correctly\"",[110,343,344,347],{},[79,345,346],{},"Include code examples"," — the agent learns patterns from examples, not abstractions",[110,349,350,353],{},[79,351,352],{},"Name patterns explicitly"," — \"the entity table pattern\", \"the bump.lua collision pattern\" — named patterns are easier for the agent to recognise and apply",[110,355,356,359],{},[79,357,358],{},"Keep pages focused"," — one topic per page means more precise retrieval",[75,361,362,363,366],{},"Every new article you add to the ",[100,364,365],{},"game-dev\u002F"," section makes the agent a better Love2D collaborator.",[368,369,370],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":102,"searchDepth":149,"depth":149,"links":372},[373,374,378,380],{"id":90,"depth":149,"text":91},{"id":121,"depth":149,"text":122,"children":375},[376,377],{"id":129,"depth":168,"text":130},{"id":279,"depth":168,"text":280},{"id":290,"depth":149,"text":379},"The \u002Fllms.txt endpoint",{"id":325,"depth":149,"text":326},"How the Parallax agent consumes this documentation via MCP and Context7 to give better answers.","md",null,{"ogImage":385},"\u002Flogo.png",true,{"title":61,"description":381},"dtaSEEp6D-AQPLETwHok63cOruJ_ranGbGWz4Z4Qca0",[390,383],{"title":57,"path":58,"stem":59,"description":391,"children":-1},"Common reusable patterns for Love2D games — copy, adapt, use as agent prompts.",1778701173953]