You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Matthew Podwysocki
mattpodwysocki
Open Sourcerer and Software Engineer at MapBox working on the Location AI Team
Introducing Mapbox Agents for JavaScript: Location-Aware AI, Done Right
Introducing Mapbox Agents for JavaScript: Location-Aware AI, Done Right
A few months ago I was deep in the middle of building the Mapbox Location Agent, and I kept running into the same problem over and over. Every time I wanted the agent to do something useful with location data, I was writing boilerplate. Tool wrappers, retry logic, conversation state, multi-turn orchestration loops. The kind of stuff that has nothing to do with the actual product and everything to do with just getting the infrastructure out of the way.
At some point I looked at what we had built and realized: this is a framework. A pretty good one. And it would be a shame to keep it locked inside Mapbox.
So we're open-sourcing it. This is the story of what we built, why we built it the way we did, and how you can use it today.
Grounding with Mapbox — how LLMs and location data work together
Grounding with Mapbox
LLMs know about the world but can't see it. Without grounding, a model will confidently invent addresses, distances, and business details — some real, some not. Grounding connects the model's outputs (and inputs) to live, verifiable data at inference time.
Mapbox is one grounding source — but not the only one, and not trying to be. The power comes from combining sources that each contribute a different layer of reality.
Enhanced Places Demo — Performance work summary (May 2026)
Enhanced Places Demo — Performance Work Summary
May 2026 · Summary of latency and throughput improvements across the NL search pipeline.
All benchmarks run against the 75-case eval fixture (npm run eval) unless noted.
Mapbox Search Patterns Skill - Expert guidance on choosing search tools and parameters for geocoding and POI search
name
mapbox-search-patterns
description
Expert guidance on choosing the right Mapbox search tool and parameters for geocoding, POI search, and location discovery
Mapbox Search Patterns Skill
Expert guidance for AI assistants on using Mapbox search tools effectively. Covers tool selection, parameter optimization, and best practices for geocoding, POI search, and location discovery.
Mapbox Geospatial Operations Skill - Expert guidance on choosing between offline and API-based geospatial tools
name
mapbox-geospatial-operations
description
Expert guidance on choosing the right geospatial tool based on problem type, accuracy requirements, and performance needs
Mapbox Geospatial Operations Skill
Expert guidance for AI assistants on choosing the right geospatial tools from the Mapbox MCP Server. Focuses on selecting tools based on what the problem requires - geometric calculations vs routing, straight-line vs road network, and accuracy needs.
Core Principle: Problem Type Determines Tool Choice