
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@openassistant/osm
Advanced tools
The OpenStreetMap tools for OpenAssistant provides a suite of tools that can invoke OpenStreetMap related APIs e.g. geocoding, calculate routing, fetch OSM roads, generate isochrone etc.
| Tool Name | Description |
|---|---|
| geocoding | converts addresses into geographic coordinates (latitude and longitude) using OpenStreetMap's Nominatim service. |
| routing | calculates routes between two points using Mapbox's Directions API |
| isochrone | generates isochrone polygons showing reachable areas within a given time or distance limit |
| roads | fetch road networks based on a boundary and road type using OSM Overpass API |
| queryUSZipcodes | query US zipcodes within a given map bounds |
| getUsStateGeojson | get the GeoJSON data of one or more United States states |
| getUsCountyGeojson | get the GeoJSON data of one or more United States counties |
| getUsZipcodeGeojson | get the GeoJSON data of one or more United States zipcodes |
npm install @openassistant/osm @openassistant/utils ai
import { geocoding, GeocodingTool } from "@openassistant/osm";
import { convertToVercelAiTool } from '@openassistant/utils';
import { generateText } from 'ai';
const result = await generateText({
model: openai('gpt-4.1', { apiKey: key }),
prompt: 'What are the coordinates of the Eiffel Tower?',
tools: {
geocoding: convertToVercelAiTool(geocoding),
},
});
console.log(result);
:::tip The OpenStreetMap tools can be mixed with other tools for more complex tasks. For example, if you have a point datasets in the US, you can use OSM tool to answer questions like "What are the total revenus in the zipcodes area in Maricopa county?"
The LLM could plan the following steps to answer the question:
:::
FAQs
The OSM tools for OpenAssistant
We found that @openassistant/osm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.