An AI-powered indoor navigation agent built on the Blaxel platform, demonstrating seamless integration of Blaxel's core features: Model API, MCP server hosting, and serverless agent deployment.
This project leverages three key Blaxel platform capabilities:
The agent uses Blaxel's unified Model API gateway to access AI models through a single, standardized interface:
import { blModel } from "@blaxel/vercel";
const model = await blModel("gpt-5-mini");
Key Benefits:
The agent connects to custom MCP (Model Context Protocol) servers hosted on Blaxel to access specialized tools:
import { blTools } from "@blaxel/vercel";
const tools = await blTools(["mappedin-mcp"]);
Key Benefits:
In this project, the mappedin-mcp server provides indoor navigation tools like getMapInstructions for wayfinding.
The entire agent is deployed as a serverless, auto-scalable API on Blaxel's infrastructure:
Configuration (blaxel.toml):
type = "agent"
functions = ["all"] # Access to all MCP servers
models = ["sandbox-openai"] # Model access configuration
Key Benefits:
Inference Endpoint:
POST https://run.blaxel.ai/{workspace}/agents/mappedin-blaxel-agent
User Request
↓
Blaxel Agent (TypeScript + Vercel AI SDK)
↓
Blaxel Model API → GPT-5-mini (via unified gateway)
↓
Blaxel MCP Server → mappedin-mcp (navigation tools)
↓
Response with navigation instructions
The project uses Blaxel's official SDKs:
@blaxel/core - Core Blaxel platform utilities@blaxel/vercel - Vercel AI SDK integration for Blaxel@blaxel/telemetry - Built-in observability and monitoringai - Vercel AI SDK for agent orchestrationzod - Schema validation for tool inputsThis agent helps users navigate indoor spaces (malls, airports, hospitals) by:
getMapInstructions tool from the Mappedin MCP serverMIT