Skip to main content
LlamaIndex reaches Mesh through OpenAILike, the connector built for OpenAI-compatible endpoints. It takes an api_base, so no Mesh-specific package is needed.

Install

Connect

is_chat_model and is_function_calling_model both default to false on OpenAILike. Leave them unset and LlamaIndex treats Mesh as a legacy completion endpoint with no tool support, so agents and chat_with_tools silently stop working. Always set both to True.

Tool calling

The same llm drives FunctionAgent, AgentWorkflow, query engines, and anywhere else LlamaIndex takes an LLM.

Caveats

Everything in Caveats that apply to every framework applies here.