Skip to the page

Reference

The app manifest

Every field of conch-app.json, with an example of the provider and the chat app a Conch app can bring.

A Conch app is a folder with conch-app.json in it. Conch writes it when you make an app, add any provider or add any chat app. Read this page to read one, or to write one by hand.

The fields

FieldWhat it is
conchThe format, 1.
idLowercase letters, numbers and single dashes, 2 to 24 characters.
nameAt most 40 characters, in sentence case.
taglineWhat it does, at most 80 characters.
descriptionAt most 600 characters.
versionLike 1.0.0.
icon{ "glyph", "color" }, from Conch's own glyphs and colours.
kindWhere it sits in Apps: productivity, developer, files, design, business, home or personal (the default).
toolsIts code: tools, and a provider's or chat app's functions. A .mjs file, like tools.mjs.
pagesUp to 4 pages: [{ "id", "title", "file" }], each an .html file.
pageStatetrue lets its pages save small preferences without asking.
reachesThe websites its code may reach: exact names, https only, at most 10. Shown on its card.
settingsWhat it needs from you, like an API key, at most 8: key, label, help, link, secret, optional.
instructionsFor the assistant: when to use it, and how. At most 1,500 characters.
examplesThings you might say to use it, at most 6.
author{ "name", "url" }.
repositoryWhere it's published. Conch sets it when you publish.
providerA provider it brings: what answers chats. See below.
channelA chat app it brings, for Apps → Talk to me here. See below.

A provider

Most companies need no code: an address, how the key travels, and the models.

JSON
{
  "conch": 1,
  "id": "fireworks",
  "name": "Fireworks AI",
  "tagline": "Fast open models, in every chat",
  "version": "1.0.0",
  "icon": { "glyph": "zap", "color": "violet" },
  "reaches": ["api.fireworks.ai"],
  "provider": {
    "speaks": "openai",
    "address": "https://api.fireworks.ai/inference/v1",
    "key": { "label": "Fireworks API key", "link": "https://fireworks.ai/account/api-keys" },
    "models": [
      {
        "id": "accounts/fireworks/models/llama4-maverick-instruct-basic",
        "name": "Llama 4 Maverick",
        "price": { "input": 0.22, "output": 0.88 }
      }
    ]
  }
}
FieldWhat it is
nameIts name in the model picker and Settings → Providers, when it isn't the app's name.
speaksopenai (everything before /chat/completions), anthropic (before /v1/messages), or code.
addressWhere it answers, over https. Its host must be in reaches. Not for code.
authHow the key travels: bearer (the default), header with "header": "x-api-key", or none.
keyWhat you type: label, help, link, pattern, optional. Kept by Conch, never in the app.
modelsUp to 60, with name, context, tools, images, thinking and price per million tokens. Empty: read live from the address. Required for code.
smallThe id of a cheap one of its models, for small jobs like naming chats.

With "speaks": "code", the app's code exports provider.chat:

  • it gets the chat in OpenAI's shape, and your key as app.keys.key;
  • it streams its answer with app.emit;
  • it reaches only the sites in reaches, with app.fetch.

A chat app

A chat app is code: who the bot is, the messages it gets, and sending one.

JSON
{
  "conch": 1,
  "id": "zulip",
  "name": "Zulip",
  "tagline": "Talk to your assistant on Zulip",
  "version": "1.0.0",
  "icon": { "glyph": "message-circle", "color": "teal" },
  "tools": "channel.mjs",
  "reaches": ["yourteam.zulipchat.com"],
  "channel": {
    "receives": "poll",
    "fields": [{ "key": "apiKey", "label": "The bot’s API key" }],
    "steps": ["In Zulip, open Personal settings → Bots and press Add a new bot."]
  }
}
FieldWhat it is
nameWhat the chat app is called, when it isn't the app's name.
colorIts brand colour for its tile, like #4a90d9.
receivespoll (the default): Conch asks for new messages from this computer, no public address needed. webhook: the app delivers to the public door.
fieldsWhat you type to connect it, at most 6. Secret unless "secret": false.
stepsWhat to press in the chat app, one sentence each, at most 6.
buttonstrue when it can show buttons; otherwise questions get numbered answers.

Its code exports channel.identify, channel.poll (or channel.receive for webhook) and channel.send. It gets what you typed as app.keys. It can't read chats, use tools or see any other key.