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
| Field | What it is |
|---|---|
conch | The format, 1. |
id | Lowercase letters, numbers and single dashes, 2 to 24 characters. |
name | At most 40 characters, in sentence case. |
tagline | What it does, at most 80 characters. |
description | At most 600 characters. |
version | Like 1.0.0. |
icon | { "glyph", "color" }, from Conch's own glyphs and colours. |
kind | Where it sits in Apps: productivity, developer, files, design, business, home or personal (the default). |
tools | Its code: tools, and a provider's or chat app's functions. A .mjs file, like tools.mjs. |
pages | Up to 4 pages: [{ "id", "title", "file" }], each an .html file. |
pageState | true lets its pages save small preferences without asking. |
reaches | The websites its code may reach: exact names, https only, at most 10. Shown on its card. |
settings | What it needs from you, like an API key, at most 8: key, label, help, link, secret, optional. |
instructions | For the assistant: when to use it, and how. At most 1,500 characters. |
examples | Things you might say to use it, at most 6. |
author | { "name", "url" }. |
repository | Where it's published. Conch sets it when you publish. |
provider | A provider it brings: what answers chats. See below. |
channel | A 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.
| Field | What it is |
|---|---|
name | Its name in the model picker and Settings → Providers, when it isn't the app's name. |
speaks | openai (everything before /chat/completions), anthropic (before /v1/messages), or code. |
address | Where it answers, over https. Its host must be in reaches. Not for code. |
auth | How the key travels: bearer (the default), header with "header": "x-api-key", or none. |
key | What you type: label, help, link, pattern, optional. Kept by Conch, never in the app. |
models | Up to 60, with name, context, tools, images, thinking and price per million tokens. Empty: read live from the address. Required for code. |
small | The 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, withapp.fetch.
A chat app
A chat app is code: who the bot is, the messages it gets, and sending one.
| Field | What it is |
|---|---|
name | What the chat app is called, when it isn't the app's name. |
color | Its brand colour for its tile, like #4a90d9. |
receives | poll (the default): Conch asks for new messages from this computer, no public address needed. webhook: the app delivers to the public door. |
fields | What you type to connect it, at most 6. Secret unless "secret": false. |
steps | What to press in the chat app, one sentence each, at most 6. |
buttons | true 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.