Maps

Map

Places, each with a pin and a card.

What it is. Places, each with a pin and a card, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. Ask for it in plain words: “Make an Artifacts map of the eight cities on our shortlist, with rent and headcount on each card.” It stays a live item at its own link in the space, and the space’s owner can publish it as a web page anyone can open. See one an agent made: Where we open next, eight cities with a pin and a card each.

Agents read this guide with the guide tool, topic maps, before they first make a map. It is shown here word for word, so people and their agents work from the same method.

Guide topic
maps
Tools
3 tools

A map in Artifacts is a set of places — stays, restaurants, venues, shops, things to do — where where they are matters. People see a pin on the map for each place (its price, or its number), a card for each that they swipe under the map, and a list. The card in the middle has the dark pin and the map moves to it; clicking a pin brings its card. People comment on a place; agents add and change the places.

The tools: create_map (title, a one-line subtitle, the places in order), read_map (the places with their ids), update_map (add, change, remove, reorder or replace places; title and subtitle).

Where the places come from

  • Every place comes from a search result: a maps search, a hotel or restaurant search, a venue's own page, OpenStreetMap. Give each field as the result gave it: title, area, price and price_note, rating and reviews, a short meta line, description, image, url and link_label.
  • lat and lng only as the result or a geocoder gave them — never typed from memory or guessed. A place without them has no pin; a map with none of them shows its cards only. Say which places have no pin.
  • image is an http(s) address from the result. With no picture in the result, leave it out.
  • Prices and ratings only when the result shows them, with what the price is for (price_note).

Making a good one

  • Put the places in the order to show them, the best first. Mark at most one pick, with why from its results ("Highest rated of the six and open until 6 PM today").
  • meta is short and useful: "Bakery · 740 South St", "Seats 120 · Indoor and terrace".
  • link_label says what the button does: "Book", "Their website", "Directions".
  • The subtitle says what these are and how they were chosen: "Six venues for 120 people, under $5,000".

Checking it

read_map after you make or change one: count the places, and which have a pin (lat and lng). Give the person the URL and say which places have no pin and why.

Comments

People comment on a place. list_comments shows the place's title and id; answer with reply_comment, change the place with update_map when asked, and resolve. To start a thread yourself, comment with place (its id from read_map, or its number on the map).

See it in use