Gist
Marcação de temas no dispositivo que lê um título ou post e diz a você os temas dele, em 101 idiomas, sem chamada de servidor.

Demo
Gere temas e tags para posts e artigos.
Um post chamado “How to film a two-person podcast with two iPhones” recebe as tags tecnologia e economia de criadores. “Cómo invertir en fondos indexados” recebe a tag finanças. Os mesmos 36 temas valem em todos os 101 idiomas, então entrar em um segundo mercado não pede uma segunda configuração.
O tema certo está entre os três primeiros em 91% das vezes, e a maioria dos itens cai em dois ou três temas. Isso basta para um feed ordenar, filtrar ou rotear sem uma API de classificação. Duas passagens baratas pelas palavras fazem o trabalho, então uma aba do navegador marca um post sem aquecer um modelo de linguagem.
As pontuações se somam ao longo de uma coleção, então um feed de podcast ou um canal inteiro ganha os próprios temas. Uma versão só em inglês reduz o modelo para cerca de 15 MB.
36 temas, 101 idiomas, 74 MB.
36 temas em 101 idiomas, a partir de um modelo de 74 MB, ou 15 MB só em inglês.
Recall em 572 posts reais rotulados por pessoas. Medições internas.
Casos de uso
Gere temas e tags para posts e artigos.
Roteie um post sem chamada a servidor
Marque posts, artigos ou vídeos por tema no dispositivo, para que um feed possa ordená-los, filtrá-los ou roteá-los sem uma API de classificação no caminho.
Descreva um canal pelos posts dele
Some os posts de uma conta em temas no nível do canal. Um diretório ou um recomendador pode então dizer do que trata um podcast, uma newsletter ou um feed sem que ninguém escreva uma descrição.
Um tema por item para o ranking
Forneça a um feed de recomendação ou a uma fila de moderação um sinal temático barato e privado para cada item, sem custo por chamada conforme o feed cresce.
Organização no dispositivo
Agrupe por tema as notas, os favoritos ou a biblioteca do próprio usuário no dispositivo, para que um acervo pessoal fique pesquisável sem que um único arquivo saia do dispositivo.
Inspiração
Ideias para construir com o Gist. Copie um prompt para o seu agente de código e comece.
Auto-tag articles and posts with their topics for a feed.
Use Desert Ant's Gist on-device to tag each article or post with its topics, then power a topic feed, filters, or a 'more like this' rail without a classification server. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Route content to channels by topic, no server call.
Build a router that reads a post with Desert Ant's Gist and sends it to the right channel or inbox by topic, entirely on-device. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Organize a reading list by topic, locally.
Build a read-it-later app that tags saved articles with Desert Ant's Gist on-device and groups them by topic, so the library organizes itself offline. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Give a recommender a topic-per-item signal that runs on the phone.
Add Desert Ant's Gist as an on-device feature extractor so your ranker gets Gist's topic tags (from a fixed 36-topic set) per item without shipping content to a server. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Tag a post and suggest an emoji for it.
As a user drafts a post, run Desert Ant's Gist to tag its topic and Emo to suggest a fitting emoji, both on-device. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Emo (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/emo/. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Auto-file support tickets into the right queue by topic.
Use Desert Ant's Gist on-device to tag an incoming support ticket with its topic and route it to the right queue, no classification server. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Build an OpenClaw skill that tags and language-routes text.
Write an OpenClaw skill that runs Desert Ant's Tongue to detect a text's language and Gist to tag its topics, on-device, so an agent can route content without a server call. Build it with the Desert Ant SDK. Tongue (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/tongue/. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
An Obsidian plugin that tags notes with their topics, on the device.
Build an Obsidian plugin that runs Desert Ant's Gist in Node to tag each note with its topics and build a topic index, entirely local. Build it with the Desert Ant SDK. Gist (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/gist/. Install: SwiftPM desert-ant-core; Maven ai.desertant:gist:3.1.0; npm i @desert-ant-labs/gist @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
O que o modelo faz
- 36 temas, de tecnologia e finanças à economia de criadores; a maioria dos itens carrega dois ou três.
- 101 idiomas a partir de um único modelo, sem precisar informar o idioma.
- Classificador de dois fluxos, sem transformer, então pontuar custa tempo de CPU e nada mais.
- Variante compacta só em inglês (15 MB) para apps só em inglês, selecionável hoje no SDK Swift com
Gist(variant: .english).
Primeiros passos
Adicione marcação temática de conteúdo ao seu app iOS or macOS, Android or web em poucas linhas de código. Docs do Gist.
// Swift Package Manager
.package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.1.0")
// target dependency
.product(name: "Gist", package: "desert-ant-core")
import Gist
let gist = Gist()
let topics = try await gist.classify("How to start a podcast with just your iPhone")
// [Topic(slug: "technology", ...), ...]
Add Gist from Desert Ant Labs to this Swift project (iOS, macOS). What it does: marcação temática de conteúdo no dispositivo. SDK: Swift (iOS, macOS) Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme // Swift Package Manager .package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.1.0") // target dependency .product(name: "Gist", package: "desert-ant-core") Reference: - Model page: https://desertant.com/models/gist/ - Full catalog and other models: https://desertant.com/llms.txt Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
// build.gradle.kts (Maven Central)
implementation("ai.desertant:gist:3.1.0")
import ai.desertant.gist.Gist
Gist(context).use { gist ->
val topics = gist.classify("How to start a podcast with just your iPhone")
// List<Topic>: slug, name, score
}
Add Gist from Desert Ant Labs to this Kotlin project (Android).
What it does: marcação temática de conteúdo no dispositivo.
SDK:
Kotlin (Android)
Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme
// build.gradle.kts (Maven Central)
implementation("ai.desertant:gist:3.1.0")
Reference:
- Model page: https://desertant.com/models/gist/
- Full catalog and other models: https://desertant.com/llms.txt
Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
npm i @desert-ant-labs/gist @litertjs/core
import { Gist } from "@desert-ant-labs/gist";
const gist = await Gist.load();
const topics = await gist.classify("How to start a podcast with just your iPhone");
// [{ slug: "technology", name: "Technology & Software", score: 0.91 }, ...]
Add Gist from Desert Ant Labs to this JavaScript / TypeScript project (Web, Node.js). What it does: marcação temática de conteúdo no dispositivo. SDK: JavaScript / TypeScript (Web, Node.js) Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme npm i @desert-ant-labs/gist @litertjs/core Reference: - Model page: https://desertant.com/models/gist/ - Full catalog and other models: https://desertant.com/llms.txt Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
Especificações
- Idiomas
- 101
- Temas
- 36, com múltiplos rótulos
- Tamanho no dispositivo
- 74 MB multilíngue, ou 15 MB só em inglês
- Modelo
- Classificador de dois fluxos: um embedding estático multilíngue mais n-gramas com hash
O Gist marca do que um texto trata, não se ele é bom ou seguro. Os 36 temas são uma lista fixa, então um assunto fora da lista recebe o tema mais próximo dela.
FAQ
O que é o Gist?
Marcação de temas no dispositivo que lê um título ou post e diz a você os temas dele, em 101 idiomas, sem chamada de servidor.
O Gist roda no dispositivo?
Sim. O Gist roda no dispositivo, sem chamada a servidor, então os dados ficam com o usuário.
Quais plataformas o Gist suporta?
O Gist é distribuído como um SDK nativo no dispositivo para Swift, Kotlin, JavaScript / TypeScript.
Quanto custa o Gist?
Cada modelo é gratuito para até 100 mil dispositivos ativos mensais por SDK. Inferência ilimitada por usuário. Fale conosco para licenças personalizadas.
Qual a precisão e a velocidade do Gist?
36 temas em 101 idiomas, a partir de um modelo de 74 MB, ou 15 MB só em inglês.