Scaling Enterprise AI Agents with Meta-Tools and Playbooks

AI Engineergo watch the original →

LinkedIn scaled its internal AI agent ecosystem to over 1,300 tools and 600 playbooks by replacing direct MCP tool exposure with a three-tool meta-interface: search, get schema, and execute.

The Meta-Tool Architecture

LinkedIn moved away from exposing all available tools directly via the Model Context Protocol (MCP) because performance degrades significantly beyond 30 to 40 tools. Instead, they implemented a three-tool meta-interface that allows agents to dynamically discover and interact with the broader ecosystem. The agent first uses a search tool to find relevant playbooks or tools based on keywords and tags. It then uses get schema to retrieve specific usage instructions and finally calls execute to run the selected tool or playbook. This abstraction allows the system to scale to over 1,300 tools and 600 playbooks without overwhelming the model context window.

Contextual Playbooks

To bridge the gap between raw tool access and tribal knowledge, LinkedIn introduced playbooks, which are instructions served as tools. Playbooks provide the agent with the necessary context and step-by-step logic to perform complex tasks, such as debugging specific services or setting up infrastructure.

  • Self-Containment: Each playbook focuses on a single, specific task to ensure the agent selects the correct instruction set.
  • Modularization: Large workflows are broken into smaller, referenced playbooks to facilitate reusability and progressive context loading.
  • Self-Improving Loop: Agents are prompted to identify discrepancies or missing information at the end of a session. They can then open a pull request to update the playbook, ensuring the knowledge base evolves alongside the codebase.

Deployment and Infrastructure

LinkedIn deploys a local MCP server to every engineer's laptop, which automatically updates every hour. The architecture distinguishes between central playbooks, which handle cross-cutting concerns, and local playbooks, which are checked into individual repositories. This separation allows teams to maintain repo-specific logic without modifying the central infrastructure, while the shared MCP server handles authentication and telemetry across the entire organization.

  • #ai-agents
  • #mcp
  • #enterprise-dev
  • #context-engineering

summary by google/gemini-3.1-flash-lite. probably wrong about something. check the source.