Fabi is a sophisticated analyst agent that independently handles data analysis tasks.
Simply delegate tasks in natural language - Fabi will autonomously:
- Discover and inspect schemas using RAG
- Find relevant tables/columns with semantic understanding
- Generate and validate SQL/Python code
- Execute queries with error handling
- Format and preview results
Fabi.ai provides an MCP (Model Context Protocol) server that allows you to integrate Fabi’s AI data analysis capabilities directly into your development workflow or your client/interface of choice. The MCP server enables AI assistants and development tools to interact with Fabi.ai, creating threads, submitting chat requests, and saving Smartbooks programmatically.The Fabi MCP server is the single fastest way for you to implement an AI assistant to chat directly with your data.
OAuth authentication is also supported for user-based integrations. Follow the OAuth flow to authenticate your application and use the following URL: https://app.fabi.ai/mcp
Creates a new data analysis session (backed by a Smartbook) for SQL/Python queries. Used to start analyzing database tables, running queries, or exploring data. The thread will persist your analysis history and generated code.Parameters:
Delegate a data analysis task to the Fabi autonomous agent. Takes a description of what you want in natural language - Fabi will independently handle all complexity: discovering data sources, using RAG to find relevant table/column schemas and semantics, generating SQL/Python code, validating queries with dry runs, executing them, and formatting results.Parameters:
thread_uuid: UUID of the thread from create_thread
message: Natural language data analysis request (e.g., ‘show top 10 customers by revenue’)
context_cell_uuids (optional): Previous cell UUIDs to reference in this analysis
context_dataframes (optional): Variable names of dataframes to use as context
Poll for the result of a long-running chat analysis request. Used by the agent when submit_chat returns early due to timeout (after 45 seconds). The chat continues processing in the background - call this periodically to check if results are ready.Parameters:
request_uuid: UUID of the chat request (returned by submit_chat)
Returns: Processing status or completed results with data preview
Save AI-generated cells from chat history to the Smartbook for dashboard publishing or collaboration. Used by the agent to persist, publish, or share the analysis as a dashboard. This accepts pending chat results and converts them into executable Smartbook cells. Regular analyses are already viewable in chat history and don’t need saving.Parameters: