Liquid's core idea is: AI is responsible for discovering APIs, and code is responsible for synchronizing data, with no need to write adapters. You only need to point Liquid at https:// endpoints, DSNs such as postgres://, mongodb://, redis://, grpc:// targets, or other MCP servers, and it will identify interfaces through discovery, learn their shape, and return typed records to agents. No matter what the underlying system is, the same fetch / query / write calling pattern stays consistent, with no need to hand-write connectors per service, and integrations can self-maintain when upstream changes.
Purpose and positioning: provide a unified reach layer for AI agents. One agent-facing API (fetch · query · write · sense) covers everything an agent may touch—Web APIs and messaging (REST/JSON, GraphQL, SOAP/WSDL, gRPC, WebSocket, SSE/NDJSON, MQTT), email (IMAP/SMTP, Gmail API), industrial OT (Modbus, OPC UA, BACnet), Android devices (ADB), other agents and tools (any MCP server, A2A agents, ChatGPT plugin manifests), databases (Postgres+pgvector, MySQL/MariaDB, SQLite, DuckDB, SQL Server, Neo4j, MongoDB, Redis), as well as people, places, and things accessed through connectors (Telegram, Home Assistant, Smartcar).
Main capabilities:
- Automatic discovery and mapping: the LLM learns the interface only once during setup (databases can be introspected, and this step can even be skipped), with no need to hand-write connectors and schemas.
- Context budget control, cross-source normalization (timestamps unified as UTC datetime, pagination envelopes flattened, ID fields normalized).
- Normalized intent across services, a unified mental model.
- Structured recovery: every error carries Recovery, including next_action (ToolCall), retry_safe, retry_after_seconds; 401 → store credentials, 404/410 → fix adapter, 429 → retry after the specified delay; when upstream schema drifts, the adapter self-heals.
- Predictable cost: tools generated by to_tools() carry a metadata block (cost_credits, typical_latency_ms, cached, idempotent, side_effects, related_tools), and environment tools such as liquid_check_quota query status.
- No model calls at runtime: runtime is pure deterministic transport, with predictable cost and reproducible behavior (the compiled result of search_nl is cached).
- Read, write, and sense: liquid.write supports database changes (SQL insert/update/delete, Mongo, Redis, Neo4j node CRUD); write operations require allow_write=True to be explicitly enabled, and updates/deletes must include a where condition; liquid.sense senses real-time event streams (SQL row changes, Postgres LISTEN/NOTIFY, Redis pub/sub, WebSocket frames, SSE/NDJSON, MCP notifications), sense_webhook can host inbound endpoints; react drives handlers, and merge_senses merges multiple event streams.
- Pluggable components: cross-cutting concerns such as Vault, LLM, and Sink are all replaceable Protocols, with built-in in-memory implementations; liquid-cloud provides PostgresVault, RedisCache, and others.
How to use: can run as an MCP server, exposed to any MCP client (Claude Desktop, Cursor, Claude Code), or run within your own process. In Cursor there is a one-click install button (writes mcp.json, after which you add OPENAI_API_KEY in settings); you can also use uvx for zero-install running of the liquid-mcp command, or pip install liquid-api and then use liquid-mcp directly. Tools include liquid_connect, liquid_fetch, liquid_query, liquid_estimate, liquid_list_adapters, liquid_discover, read-only by default; with LIQUID_ALLOW_WRITES=1 Starting can expose liquid_execute. Adapters and credentials are persisted in ~/.liquid. Supports any LLM backend (OpenAI, Gemini, Anthropic, or compatible/local endpoints via base_url, LiteLLM supports 100+ providers, or a custom CallableBackend). Framework integration is built into liquid-api, adapter.to_tools(format="anthropic" | "openai" | "mcp") can generate the corresponding tool definitions.
Applicable scenarios: self-hosted scenarios that need to connect agents to multiple heterogeneous systems (APIs, databases, messaging, IoT, industrial systems), want to avoid writing connectors service by service, and have requirements for cost predictability and behavioral reproducibility.
Limitations and notes: Self-describing interfaces (OpenAPI, GraphQL, gRPC, MCP, A2A, WSDL) and all databases (introspection) can be discovered without an LLM, and the entire runtime never calls the model; an LLM backend is only needed when discovering REST APIs that have no machine-readable specification and mapping fields. The core has no dependencies, and the libraries for each backend are optional extras, imported only when used. Protocol identification can be done instantly, but supporting a new authenticated binary protocol requires writing a driver. The materials do not provide specific billing standards or price information.