Skip to content
0%
Concept 2 min

Context7

Up-to-date library documentation directly in the agent’s context.

In one sentence

Service and MCP that provides up-to-date documentation for frameworks and libraries directly in the agent’s context. Solves the problem of the model having outdated knowledge about recent software versions.

Before

Model with outdated knowledge

What it does

Current documentation in context

After

Code that uses the real version

Example

The agent went to write the export script using a function that existed in an older version of the library. With the current documentation in context, it uses the correct signature for the installed version, and the code runs instead of just looking right.

In practice

  • Connect only to the agent that writes code.
  • Check the installed version, which may not be the latest published version.
  • If the generated code breaks on the function signature, this is the first place to look.

How to make it tangible

Connect the documentation service to the agent that writes code.

Translated from Portuguese with AI assistance.

To discuss

Is this already in place in your company? Compare with the criterion:

Done when: When the generated code uses the installed version, not the one the model remembered.