Skip to content
Docs

LeanTools documentation

Every tool your agent needs. One lean endpoint.

LeanTools hosts native tools and connectors for AI agents: LeanConnect (web search, email and connectors to third-party services), LeanBrowser, LeanModel (text, image, speech, music, video, avatar and realtime audio models), LeanMachine sandboxes, LeanVision camera analysis (beta), LeanMemory (warehouse, vectors, events and storage) and LeanData datasets. Your agent reaches all of them on one host with one API key: web search, email, data and connectors as MCP tools, and every service over a plain REST API. Every call is metered against prepaid credits.

Pick your path#

How it fits together#

A workspace is the unit of billing and access. It has members with roles, API keys, a prepaid credit balance and a set of enabled tools, connectors and datasets. Every request an agent makes carries an API key; LeanTools resolves the workspace, checks that the key may reach the tool, that the tool is switched on, that no cap or budget is exhausted and that credits remain, then runs the call and records one metering row.

  1. Connect onceAdd the MCP endpoint /mcp and a key to your harness. Web search, email, datasets and connector actions you enable later are discovered automatically through tools/list; the other services take the same key over REST.
  2. Switch capabilities onIn the console, enable tools, link connector credentials, subscribe to datasets, and decide per function what agents may call, what needs approval and what stays off.
  3. Pay per callEach call draws down credits at a published unit price. Keys can carry spend caps, tools monthly budgets, connectors rate limits and daily caps. Auto-reload keeps agents running.

Two ways in#

SurfaceBest forWhere
MCP serverClaude, Codex, Cursor and any MCP-capable agent framework. Tools are discovered, described and called over one endpoint.MCP server
Tools APIAgents and scripts that do not speak MCP but want the same catalogue with real HTTP status codes.Tools API
REST APIDirect, typed access to each service: web search, LeanBrowser (HTTP and WebSocket), LeanModel (OpenAI-compatible, plus avatar streams over WebRTC and realtime audio over WebSocket), email, LeanMachine, LeanVision, LeanMemory (data stores and storage).Reference

The interactive OpenAPI description of every REST route, with schemas and a try-it panel, lives at /swagger on this host.

Updated September 30, 2026 · This page as Markdown · All docs as one file