VisibilyRanking
All posts
By VisibilyRankingcoding agentsdeveloper brandsVisibilyRanking

How do AI coding agents like Claude Code decide which libraries and APIs to install? What developer brands can track

What Anthropic and OpenAI say about how Claude Code and Codex choose libraries and APIs, and how developer brands track it with VisibilyRanking and Promptwatch.

Teams that sell APIs, SDKs, and developer platforms keep asking us the same thing: if a developer tells Claude Code to "add file uploads to this app," how does it decide whose library to use, and can we see it? Here is what is documented, what is not, and which tool covers which part.

What is documented

Anthropic's "How Claude Code works" page describes a loop of gathering context, taking action, and verifying the result. The model chooses which tools to use based on the prompt and what it learns along the way. Claude Code can search the web, fetch documentation, and run terminal commands, including package managers, within the permission mode the developer has set. It reads CLAUDE.md, or AGENTS.md, for project-level instructions.

For OpenAI's Codex, the docs say it reads AGENTS.md before doing work and, in local chats, uses cached search from an OpenAI-maintained index unless live search is turned on. OpenAI's example AGENTS.md even includes a line asking the agent to confirm before adding new production dependencies.

What is not documented

How the agent picks between two libraries. Neither Anthropic nor OpenAI publishes that logic. We will not claim to know it, and you should be wary of anyone who does.

That leaves a vendor with two practical jobs. Make your documentation easy for these agents and the search systems behind them to reach and read. Then measure, prompt by prompt, whether AI tools name you.

Where VisibilyRanking fits

Developers also put these questions to chat engines: "which background job library works best with Postgres," "Stripe or a cheaper alternative for a marketplace." VisibilyRanking is built for that side of the problem, and it is our first recommendation for it.

  • Tracking across eight engines: ChatGPT, Perplexity, Gemini, Claude, Copilot, Grok, Meta AI, and Google AI Overviews.
  • Prompts organized by topic, persona, and country, so "backend developer at a startup" and "platform engineer at an enterprise" are measured separately.
  • Citation analytics showing which docs pages, tutorials, and forum threads the engines cite when they answer.
  • AI crawler logs, so you can see whether crawlers like ClaudeBot and GPTBot actually reach your reference docs or hit errors and blocks.
  • AI traffic attribution from AI-referred visits through to signups and revenue.
  • Competitor benchmarking on identical prompts.
  • A content agent that drafts guides and comparison pages for the gaps, with a review inbox. Nothing publishes without your approval.

VisibilyRanking homepage with an example dashboard of tracked prompts, share of voice, and AI crawler log, labeled example data

VisibilyRanking homepage with example data, from a local build captured November 7, 2026.

Agencies with several developer-tool clients get client workspaces, and pitch audits to show a prospect where it stands before the first contract.

Where Promptwatch is the tool to use

VisibilyRanking does not track coding agents. If you need to see what Codex, Claude Code, and OpenCode recommend when given a developer's task, use Promptwatch. It tracks those three alongside the chat engines, and its Agent Analytics also logs Exa's crawlers, which matters because OpenCode searches the web through Exa. Promptwatch is also our self-serve recommendation in general, with a 7-day free trial on monthly billing, whereas every VisibilyRanking account starts with a live walkthrough.

A sensible split for a developer brand: VisibilyRanking for chat-engine prompts, citations, crawlers, and revenue; Promptwatch for the coding-agent layer.

Three things to fix before measuring

  1. Check robots.txt on your docs domain. Anthropic says its bots honor it, and blocking Claude-SearchBot may reduce your visibility in Claude's search results. OpenAI's search and training crawlers are controlled separately.
  2. Serve docs as server-rendered HTML with clear headings. Promptwatch's markdown data report also recommends keeping .md versions of developer docs, which coding agents fetch directly.
  3. Write prompts as tasks a developer would hand an agent, not as category searches.

VisibilyRanking pricing is quoted after the demo, based on your prompts, engines, and markets. Bring a handful of developer tasks and we will run them live.

Book a VisibilyRanking demo