A research agent is a loop with three tools and two things that must not live in the prompt: the budget that stops it, and the check that every citation points at a page it actually read. Put those in the prompt and they are suggestions. Put them in code and the agent is something you can leave...

Source: [Dev.to](https://dev.to/multigrid/build-a-research-agent-that-cites-its-sources-4cg6)

Sponsored