AI coding agents often generate outdated or fabricated code because their training data gets stale. Instead of trusting an agent's suggestions, clone the actual open-source repository and use its code directly.
Chapters
A lot of people, when they're building with any sort of developer tool, they'll go to their coding agent. They'll never think to leave that coding agent or to give that coding agent more context. They'll say, build me a LiveKit voice agent, and the coding agent will use its training data to figure out how to build that agent. And that training data may be stale, and so it'll make up a method for how to do something. The coding agent is sort of guiding the user on how to build it, but it's the blind leading the blind. And the right way to do it is like, If the project you're building with has an open source repo, go clone that repo and put it in your project.