[{"data":1,"prerenderedAt":147},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fgetting-started\u002Fintroduction":3},{"id":4,"title":5,"body":6,"description":139,"extension":140,"meta":141,"navigation":142,"path":143,"seo":144,"stem":145,"__hash__":146},"docs\u002Fdocs\u002Fgetting-started\u002Fintroduction.md","Introduction",{"type":7,"value":8,"toc":132},"minimark",[9,13,26,37,42,45,73,77,80,101,104,108],[10,11,5],"h1",{"id":12},"introduction",[14,15,16,17,21,22,25],"p",{},"TheGitAI is an interactive terminal coding agent. Local repo indexing, file\nedits, and shell commands run on ",[18,19,20],"strong",{},"your machine",". Model inference and\nserver-executed tools run on the ",[18,23,24],{},"server",". You stay in the terminal you\nalready live in, and the agent works directly against the repo you're in.",[27,28,29],"tip",{},[14,30,31,32,36],{},"New here? Install the CLI, sign in once, and run ",[33,34,35],"code",{},"ai"," inside any repo to start\nyour first session. The next few pages walk through exactly that.",[38,39,41],"h2",{"id":40},"what-you-can-do-with-it","What you can do with it",[14,43,44],{},"In a single session, TheGitAI can:",[46,47,48,52,55,58,61,64,67,70],"ul",{},[49,50,51],"li",{},"Chat with you across multiple turns, remembering prior messages, tool\noutputs, and repo changes during that session.",[49,53,54],{},"Inspect files and directories, and read documents like PDF and XLSX.",[49,56,57],{},"Create, update, and delete files inside the repo you point it at.",[49,59,60],{},"Run non-interactive shell commands when needed (behind your approval).",[49,62,63],{},"Look up definitions, symbols, signatures, and diagnostics across your code.",[49,65,66],{},"Reindex changed files so later turns see your latest code.",[49,68,69],{},"Fetch public URLs when a task needs information from the web.",[49,71,72],{},"Migrate projects between frameworks, scaffold features, and validate changes\nwith your build and test commands.",[38,74,76],{"id":75},"how-a-turn-works","How a turn works",[14,78,79],{},"Each turn follows a simple loop:",[81,82,83,86,89,92,95,98],"ol",{},[49,84,85],{},"Your message is added to the live session history.",[49,87,88],{},"The agent gathers the most relevant context from your repo.",[49,90,91],{},"The current mode controls approval behavior and which tools are available.",[49,93,94],{},"The model receives your request, the relevant context, and the available\ntools.",[49,96,97],{},"The model either answers directly or calls a tool.",[49,99,100],{},"The loop continues until the model is done.",[14,102,103],{},"Local file, search, and shell tools run on your machine; the model runs on the\nTheGitAI server. You approve anything that touches your files or shell.",[38,105,107],{"id":106},"where-to-go-next","Where to go next",[46,109,110,118,125],{},[49,111,112,117],{},[113,114,116],"a",{"href":115},"\u002Fdocs\u002Fgetting-started\u002Finstallation","Installation"," — get the CLI on your\nmachine.",[49,119,120,124],{},[113,121,123],{"href":122},"\u002Fdocs\u002Fgetting-started\u002Fauthentication","Authentication"," — sign in to TheGitAI.",[49,126,127,131],{},[113,128,130],{"href":129},"\u002Fdocs\u002Fbasics\u002Fsessions-and-modes","Sessions & modes"," — start working and pick\nthe right mode.",{"title":133,"searchDepth":134,"depth":134,"links":135},"",2,[136,137,138],{"id":40,"depth":134,"text":41},{"id":75,"depth":134,"text":76},{"id":106,"depth":134,"text":107},"TheGitAI is an interactive coding agent that lives in your terminal — local repo work runs on your machine, model inference runs on the server.","md",{},true,"\u002Fdocs\u002Fgetting-started\u002Fintroduction",{"title":5,"description":139},"docs\u002Fgetting-started\u002Fintroduction","grA-aYHTpMgcudxmhyySc80f2CjoO6L1C3qI9o_EqNQ",1781261134391]