← Back to research
CLI

Knowledge

An agent can understand a programming problem before it knows the name of the API that solves it. Knowledge gives it ways to search and browse technical documentation through one query contract over sources the operator chooses.

Finding a name you don’t know yet

An agent asked to move focus between disconnected controls may have a clear description of the problem and no idea that UIKit calls the solution UIFocusGuide. Searching for the class name would be easy, if it knew the name.

Knowledge lets the agent start with the platform and UI index, follow UIKit’s focus documentation, and reach the guide’s preferredFocusEnvironments property. The documentation supplies the vocabulary as the agent reads. Once it knows the name, symbol search takes it straight to the declaration.

Browsing the documentation

A search result is more useful when you can see where it belongs. Knowledge preserves headings, section anchors, tables of contents, breadcrumbs, and related links. An agent can inspect a matching passage, fetch its full section, or move to a neighboring topic without starting a new search from scratch.

The operator chooses the sources. Knowledge gives their DocC, HTML, Markdown, and numbered standards a common section-based structure. Symbol search returns declarations; prose search returns passages. Both include the source URL and section identifier, so the agent can return to the original text.