Mappedin Blaxel Agent

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.

🚀 Blaxel Features Showcase

This project leverages three key Blaxel platform capabilities:

1. Blaxel Model API 🤖

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:

2. Blaxel MCP Server Integration 🔧

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.

3. Blaxel Agent Hosting 🌐

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

🏗️ Architecture

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

📦 Dependencies

The project uses Blaxel's official SDKs:

🎯 Use Case: Indoor Navigation

This agent helps users navigate indoor spaces (malls, airports, hospitals) by:

  1. Receiving natural language queries (e.g., "How do I get to the food court?")
  2. Using the getMapInstructions tool from the Mappedin MCP server
  3. Returning step-by-step navigation instructions

🔗 Learn More

📄 License

MIT