directory.do

Smart Directory Platform with AI Search

Create directory listings with AI-powered semantic search and automatic categorization. Build professional directory platforms that understand user intent.

Read the docs
index.tsdirectory.do
import { Directory } from 'directory.do' // Smart directory with AI-powered searchconst serviceDir = Directory({  $type: 'ServiceDirectory',  schema: { Provider: { name: '$.String', services: '$.Array<Service>' } }}) // AI enriches listings automaticallyon.Provider.claims.Listing($ => {  const listing = serviceDir.create.Listing({ provider: $.Provider })  const metadata = $.AI.analyze.Provider({ description: $.description })  serviceDir.update.Listing({ id: listing.id, tags: metadata.tags })}) // Semantic search understands intenton.Customer.searches.Services($ =>  $.AI.rank.Results({ query: $.query, location: $.location }))

One of 48 primitives

directory.do sits in Data: records, vocabulary and search. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs