[{"data":1,"prerenderedAt":221,"buildId":222},["ShallowReactive",2],{"page-\u002Fbuild\u002Fwhat-is-an-ai-coding-agent":3},{"id":4,"title":5,"body":6,"description":204,"extension":205,"how_to_steps":206,"hub":84,"meta":207,"navigation":208,"path":209,"primary_keyword":210,"published_at":211,"schema_types":212,"seo":216,"status":217,"stem":218,"updated_at":206,"wave":219,"__hash__":220},"pages\u002Fbuild\u002Fwhat-is-an-ai-coding-agent.md","What Is an AI Coding Agent? Tools, Tasks, and Limits",{"type":7,"value":8,"toc":190},"minimark",[9,13,22,27,30,33,36,40,43,69,76,87,91,94,97,100,108,112,115,118,121,125,139,158,161,168,173,176,180,183,187],[10,11,12],"p",{},"An AI coding agent is a tool that can work through a coding task in your project, using the files and commands you let it access.\nIt can find where a change belongs, edit the relevant files, and use the result of a check to decide what to do next.\nIf you ask it to fix a broken jump link on your site, it can look at both the link and its destination before suggesting or making a repair.\nYou still decide whether the change is right and whether it goes live.",[10,14,15,16,21],{},"This guide compares ways to work with coding tools and contains no affiliate links.\nSee our ",[17,18,20],"a",{"href":19},"\u002Fdisclosure","editorial and affiliate disclosure"," for how we handle recommendations and affiliate links.",[23,24,26],"h2",{"id":25},"agent-vs-copilot-vs-chatbot","Agent vs copilot vs chatbot",[10,28,29],{},"Suppose you maintain a community pottery studio's materials page.\nThe \"What to bring\" link is visible, but activating it does not take you to the supply list.\nA chatbot can explain how jump links work based on what you paste into the conversation.\nYou find the right lines, try its suggestion, and tell it what happened if the link still fails.\nThis is often enough when you want to understand the HTML before changing it.",[10,31,32],{},"A copilot working as an editor assistant can suggest a correction while you have the file open.\nYou pick the spot to edit and decide whether to accept the suggested text.\nIn agent mode, you can start with the symptom and ask the tool to find both ends of the link itself.\nWith permission to write to the project, it can make the change and show you a diff, which lists the lines it added or removed.",[10,34,35],{},"Those labels describe how you use a tool, and the same product can put more than one way of working behind different buttons.\nBefore giving it a job, find out whether the selected mode will explain, propose a change for review, or act on your files.\nAsk for an explanation when you're still learning what the page does.\nUse an editor suggestion when you've already found the line.\nDelegating the search makes sense when you know what should happen but don't know which files control it.",[23,37,39],{"id":38},"what-agents-actually-do","What agents actually do",[10,41,42],{},"A useful task starts with something you can see: \"On the materials page, make the 'What to bring' link reach the supply heading.\"\nTell the agent where to look and what to leave alone.\nFor this job, ask it to keep the link label, supply list, and layout as they are.\nHave it show you the relevant lines before you approve a change if you want to see how it diagnosed the problem.",[10,44,45,46,50,51,53,54,57,58,61,62,65,66,68],{},"A jump link uses a fragment, the part of an address that starts with ",[47,48,49],"code",{},"#",".\nThe text after ",[47,52,49],{}," needs to match the destination element's ",[47,55,56],{},"id",".\nIf the link says ",[47,59,60],{},"href=\"#supplies\""," and the heading already has ",[47,63,64],{},"id=\"what-to-bring\"",", changing the link alone may be enough.\nRenaming the heading's ",[47,67,56],{}," could break another link that already points there, including links from pages outside the folder the agent can read.\nThe small edit preserves that existing destination.",[10,70,71,72,75],{},"If the agent can use a check that's already available, it can run it and examine the output before reporting back.\nAn agent without browser access can still inspect the markup and tell you what to try yourself.\nOpen the page, use Tab to reach the link, then press Enter and confirm the address ends in ",[47,73,74],{},"#what-to-bring"," and the link points to the intended heading.\nOn a short page there may be no room to scroll, so lack of movement by itself doesn't mean the link failed.",[10,77,78,79,81,82,86],{},"Ask for the changed file names, the exact check the agent ran, and anything it left untested.\nA check that finds a matching ",[47,80,56],{}," doesn't tell you whether you can see keyboard focus on the link.\nRead the diff and try the page before you keep the edit.\nIf the work also changed the design or added a script to handle scrolling, ask what called for those changes before accepting them.\nThe ",[17,83,85],{"href":84},"\u002Fbuild","Build with AI hub"," has more practice with reading and checking the pages an AI tool makes.",[23,88,90],{"id":89},"the-leading-tools-compared","The leading tools compared",[10,92,93],{},"Start with the interface you'd use to review a change.\nIf you already work in an editor, it may be easier to look at the old and new code side by side there than to read a summary in another window.\nIf you prefer the terminal, ask the tool to show the diff and open it in an editor if the changes are hard to follow in text.\nNeither view replaces opening the page in a browser.",[10,95,96],{},"Claude Code is an example of a terminal-based workflow: you can start from a project folder and ask about the files before asking for edits.\nCodex also has a command-line interface, so use the same small task to compare how clearly each shows what it changed and which commands it wants to run.\nFor either tool, check the working folder and approval settings before allowing a write or a command.\nDon't infer that code stays on your device just because you started the tool from a terminal.",[10,98,99],{},"Cursor is a code editor where you can work with an agent alongside the files you're editing.\nIf keeping the file and proposed changes in view is important to you, try reviewing a small edit there.\nGitHub Copilot is another option if you already use an editor that supports it.\nCompare its inline help with agent mode so you know which action accepts a suggestion and which gives the tool a wider task.",[10,101,102,103,107],{},"The exact controls depend on the interface and mode you open.\nLook for a way to read before writing, see the diff, deny a command, and stop work without approving what happens next.\nIf you're choosing between a code editor and a tool that makes a page from a description, ",[17,104,106],{"href":105},"\u002Fbuild\u002Fvibe-coding-tools","compare the leading vibe coding tools"," for that broader decision.",[23,109,111],{"id":110},"when-an-agent-is-the-wrong-tool","When an agent is the wrong tool",[10,113,114],{},"If you know which line to change, do it by hand and reload the page.\nUpdating the studio's street address rarely needs a tool to search through the project and propose a set of edits.\nIf you can't tell why two addresses appear on the same page, ask for an explanation without granting write access.\nThen check which address the studio has approved instead of asking a model to choose between them.",[10,116,117],{},"A working preview also tells you little about changes to payments or accounts.\nIf the studio takes class deposits, keep work on the materials page separate from the code that collects money.\nHave someone who understands the payment setup review any change to checkout, including what happens when a payment fails.\nDon't give the agent access to customer records, live credentials, or publishing tools to fix a link in a copy of the site.",[10,119,120],{},"A sentence in a prompt sets the task, but the tool's permissions determine what it can touch.\nWork on a copy with sample data and give it access only to that copy.\nKeep installs, network access, and publishing off for this exercise where the tool lets you control them.\nIf you can't limit access to what the job needs, paste a short excerpt with no private information into chat and apply any changes yourself.",[23,122,124],{"id":123},"how-to-evaluate-one","How to evaluate one",[10,126,127,128,131,132,134,135,138],{},"Try the same small repair in each tool before asking any of them to work on a site you depend on.\nMake a fresh copy of a practice page for each run.\nSet the link to ",[47,129,130],{},"#supplies"," and the supply heading's ",[47,133,56],{}," to ",[47,136,137],{},"what-to-bring"," so you know exactly what starts out broken.\nOpen the page once and check that you can reach the link with Tab before you hand it to the tool.\nThat way an existing keyboard problem won't be mistaken for a new one.",[140,141,142,146,149,152,155],"ol",{},[143,144,145],"li",{},"Give each tool the same request: fix the \"What to bring\" link while preserving the destination ID and all visible text.",[143,147,148],{},"Tell it to stay in the practice folder, make no network requests, and ask before running a command.",[143,150,151],{},"Read the diff and record which files changed and what permissions the tool requested.",[143,153,154],{},"Open the result yourself and activate the link from the keyboard.",[143,156,157],{},"Restore the original copy and check that you can reproduce the broken starting state.",[10,159,160],{},"Use a plain note to record what passed and what you had to fix yourself.\nAn edit that works but rewrites your heading or stylesheet fails the scope check.\nIf the tool says it checked the result, ask what it did and distinguish reading the code from opening the page.\nCount the time you spent setting permissions, answering questions, and reviewing changes as part of the job.\nA tool you can supervise on a small edit is a better candidate for your next task than one whose output you can only judge by looking at the preview.",[10,162,163,164,167],{},"For a guided first run on a practice project, follow the tutorial at ",[17,165,166],{"href":166},"\u002Fbuild\u002Fai-agent-tutorial",".",[169,170,172],"h3",{"id":171},"do-i-need-to-know-how-to-code-to-use-an-ai-coding-agent","Do I need to know how to code to use an AI coding agent?",[10,174,175],{},"You can start with a task you know how to check, like repairing the link on a practice page.\nLearn enough HTML to find the link and its destination in the source, then change one of them in your copy and see what happens.\nIf you can't tell what the agent added or why it needs to run a command, leave the change unapproved and ask for an explanation.",[169,177,179],{"id":178},"can-an-ai-coding-agent-test-my-website-for-me","Can an AI coding agent test my website for me?",[10,181,182],{},"It can run checks if it has the tools and permission to do so.\nAsk it to name the check and report what happened, including anything it could not run.\nTry the important interactions yourself, especially anything that a visitor needs to use with a keyboard.",[169,184,186],{"id":185},"can-i-undo-an-agents-changes","Can I undo an agent's changes?",[10,188,189],{},"Keep a clean copy before granting write access so you can restore the original files even if the tool has no undo button.\nReplacing the files won't undo actions outside that folder, such as publishing a page.\nKeep those permissions out of a practice session so you can reset the whole exercise from your copy.",{"title":191,"searchDepth":192,"depth":192,"links":193},"",2,[194,195,196,197,198],{"id":25,"depth":192,"text":26},{"id":38,"depth":192,"text":39},{"id":89,"depth":192,"text":90},{"id":110,"depth":192,"text":111},{"id":123,"depth":192,"text":124,"children":199},[200,202,203],{"id":171,"depth":201,"text":172},3,{"id":178,"depth":201,"text":179},{"id":185,"depth":201,"text":186},"AI coding agents explained: what they do, where they fit next to chatbots and copilots, which tools lead, and when to use one.","md",null,{},true,"\u002Fbuild\u002Fwhat-is-an-ai-coding-agent","ai coding agent","2026-12-01T06:24:13Z",[213,214,215],"Article","BreadcrumbList","FAQPage",{"title":5,"description":204},"draft","build\u002Fwhat-is-an-ai-coding-agent","2","l6iknYV9lCHF9MorACIFXe5E-tTmEowsW9YLpKrqRF0",1796185435707,"a1d53563-3a78-4678-8315-e5bd6a5bd80c"]