marmalade-ai 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- marmalade_ai-0.1.0/LICENSE +21 -0
- marmalade_ai-0.1.0/PKG-INFO +51 -0
- marmalade_ai-0.1.0/README.md +399 -0
- marmalade_ai-0.1.0/docs/pypi.md +29 -0
- marmalade_ai-0.1.0/marmalade/__init__.py +2 -0
- marmalade_ai-0.1.0/marmalade/__main__.py +6 -0
- marmalade_ai-0.1.0/marmalade/build.py +323 -0
- marmalade_ai-0.1.0/marmalade/card.py +152 -0
- marmalade_ai-0.1.0/marmalade/cli.py +1455 -0
- marmalade_ai-0.1.0/marmalade/config.py +513 -0
- marmalade_ai-0.1.0/marmalade/connect.py +142 -0
- marmalade_ai-0.1.0/marmalade/demand.py +114 -0
- marmalade_ai-0.1.0/marmalade/demo.py +163 -0
- marmalade_ai-0.1.0/marmalade/draft.py +256 -0
- marmalade_ai-0.1.0/marmalade/engines.py +300 -0
- marmalade_ai-0.1.0/marmalade/layout.py +326 -0
- marmalade_ai-0.1.0/marmalade/mcp.py +260 -0
- marmalade_ai-0.1.0/marmalade/metrics.py +497 -0
- marmalade_ai-0.1.0/marmalade/notify.py +90 -0
- marmalade_ai-0.1.0/marmalade/packs/agency.toml +103 -0
- marmalade_ai-0.1.0/marmalade/packs/app.toml +103 -0
- marmalade_ai-0.1.0/marmalade/packs/devtool.toml +103 -0
- marmalade_ai-0.1.0/marmalade/packs/ecommerce.toml +103 -0
- marmalade_ai-0.1.0/marmalade/packs/local.toml +104 -0
- marmalade_ai-0.1.0/marmalade/packs/saas.toml +103 -0
- marmalade_ai-0.1.0/marmalade/packs.py +48 -0
- marmalade_ai-0.1.0/marmalade/report.py +704 -0
- marmalade_ai-0.1.0/marmalade/research.py +1136 -0
- marmalade_ai-0.1.0/marmalade/scan.py +302 -0
- marmalade_ai-0.1.0/marmalade/schedule.py +160 -0
- marmalade_ai-0.1.0/marmalade/score.py +260 -0
- marmalade_ai-0.1.0/marmalade/traffic.py +492 -0
- marmalade_ai-0.1.0/marmalade_ai.egg-info/PKG-INFO +51 -0
- marmalade_ai-0.1.0/marmalade_ai.egg-info/SOURCES.txt +64 -0
- marmalade_ai-0.1.0/marmalade_ai.egg-info/dependency_links.txt +1 -0
- marmalade_ai-0.1.0/marmalade_ai.egg-info/entry_points.txt +3 -0
- marmalade_ai-0.1.0/marmalade_ai.egg-info/top_level.txt +1 -0
- marmalade_ai-0.1.0/pyproject.toml +31 -0
- marmalade_ai-0.1.0/setup.cfg +4 -0
- marmalade_ai-0.1.0/tests/test_agent_docs.py +116 -0
- marmalade_ai-0.1.0/tests/test_build.py +181 -0
- marmalade_ai-0.1.0/tests/test_card.py +169 -0
- marmalade_ai-0.1.0/tests/test_daily.py +292 -0
- marmalade_ai-0.1.0/tests/test_dead_pages.py +154 -0
- marmalade_ai-0.1.0/tests/test_draft.py +141 -0
- marmalade_ai-0.1.0/tests/test_first_look.py +251 -0
- marmalade_ai-0.1.0/tests/test_hardening.py +396 -0
- marmalade_ai-0.1.0/tests/test_indexing.py +190 -0
- marmalade_ai-0.1.0/tests/test_insights.py +231 -0
- marmalade_ai-0.1.0/tests/test_jev.py +163 -0
- marmalade_ai-0.1.0/tests/test_layout.py +219 -0
- marmalade_ai-0.1.0/tests/test_marmalade.py +344 -0
- marmalade_ai-0.1.0/tests/test_open_questions.py +114 -0
- marmalade_ai-0.1.0/tests/test_own_pages.py +255 -0
- marmalade_ai-0.1.0/tests/test_persona_breakdown.py +72 -0
- marmalade_ai-0.1.0/tests/test_pricing_check.py +158 -0
- marmalade_ai-0.1.0/tests/test_profiles.py +98 -0
- marmalade_ai-0.1.0/tests/test_reach.py +435 -0
- marmalade_ai-0.1.0/tests/test_report_look.py +202 -0
- marmalade_ai-0.1.0/tests/test_review_fixes.py +97 -0
- marmalade_ai-0.1.0/tests/test_share_of_voice.py +83 -0
- marmalade_ai-0.1.0/tests/test_skills.py +88 -0
- marmalade_ai-0.1.0/tests/test_start.py +371 -0
- marmalade_ai-0.1.0/tests/test_suggest_from.py +93 -0
- marmalade_ai-0.1.0/tests/test_traffic.py +381 -0
- marmalade_ai-0.1.0/tests/test_untrusted.py +67 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alex Comeau
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: marmalade-ai
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Open source alternative to Profound, Peec AI and Jam: find out which brands AI recommends to your buyers.
|
|
5
|
+
Author: Alex Comeau
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/AlexjComeau/marmalade
|
|
8
|
+
Project-URL: Documentation, https://github.com/AlexjComeau/marmalade/tree/main/docs
|
|
9
|
+
Project-URL: Changelog, https://github.com/AlexjComeau/marmalade/blob/main/CHANGELOG.md
|
|
10
|
+
Project-URL: Issues, https://github.com/AlexjComeau/marmalade/issues
|
|
11
|
+
Keywords: aeo,geo,ai-visibility,ai-search,llm-seo,generative-engine-optimization,agent-skills,mcp,treg
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Environment :: Console
|
|
17
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
|
|
18
|
+
Requires-Python: >=3.12
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# Marmalade
|
|
24
|
+
|
|
25
|
+
Find out which brands AI recommends to your buyers.
|
|
26
|
+
|
|
27
|
+
Marmalade is an open source AI visibility tracker, an alternative to Profound, Peec AI and Jam. It asks ChatGPT,
|
|
28
|
+
Gemini, Perplexity, Google AI Mode, Google AI Overviews, Copilot and Claude the questions your buyers ask, and
|
|
29
|
+
records which brands each answer names and cites. Then it turns the answers into a ranked plan of pages to write
|
|
30
|
+
or fix, with a brief for each page and a check of your draft.
|
|
31
|
+
|
|
32
|
+
It runs on your machine and keeps every answer in one SQLite file. The engines are reached through
|
|
33
|
+
[Treg](https://treg.to), a service that gives you one key and one bill for all of them. You sign up and pay
|
|
34
|
+
there, per answer: about $4.80 a month for 50 questions on six engines once a week. There is no Marmalade
|
|
35
|
+
account and no telemetry.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pipx install marmalade-ai
|
|
39
|
+
marmalade audit yoursite.com # free: can AI bots read your site?
|
|
40
|
+
marmalade start yoursite.com # your key, your competitors and questions, then a first look; asks before it spends
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
- [Read the full README](https://github.com/AlexjComeau/marmalade#readme)
|
|
44
|
+
- [Your first ten minutes](https://github.com/AlexjComeau/marmalade/blob/main/docs/quickstart.md)
|
|
45
|
+
- [What leaves your machine](https://github.com/AlexjComeau/marmalade/blob/main/SECURITY.md)
|
|
46
|
+
- [What the paid trackers cost, compared](https://github.com/AlexjComeau/marmalade/blob/main/docs/compare.md)
|
|
47
|
+
- [Every command](https://github.com/AlexjComeau/marmalade/blob/main/docs/commands.md)
|
|
48
|
+
|
|
49
|
+
MIT licensed. Python 3.12 or newer, no other dependencies.
|
|
50
|
+
|
|
51
|
+
<!-- mcp-name: io.github.AlexjComeau/marmalade -->
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="brand/banner-dark.svg">
|
|
4
|
+
<img src="brand/banner-light.svg" width="720" alt="Marmalade: find out which brands AI recommends to your buyers.">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<p align="center">English · <a href="README.zh-CN.md">简体中文</a> · <a href="README.ja.md">日本語</a> · <a href="README.es.md">Español</a> · <a href="README.pt-BR.md">Português</a> · <a href="README.de.md">Deutsch</a> · <a href="README.fr.md">Français</a></p>
|
|
9
|
+
|
|
10
|
+
<p align="center">Built by <a href="https://github.com/AlexjComeau">Alex Comeau</a></p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://github.com/AlexjComeau/marmalade/actions/workflows/ci.yml"><img src="https://github.com/AlexjComeau/marmalade/actions/workflows/ci.yml/badge.svg" alt="Tests"></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-b85a00" alt="MIT license"></a>
|
|
15
|
+
<img src="https://img.shields.io/badge/python-3.12%2B-b85a00" alt="Python 3.12 or newer">
|
|
16
|
+
<img src="https://img.shields.io/badge/dependencies-none-b85a00" alt="No dependencies">
|
|
17
|
+
<a href="docs/judging.md"><img src="https://img.shields.io/badge/graded%20by-Jev%201.14-b85a00" alt="Answers graded by Jev 1.14"></a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="https://alexjcomeau.github.io/marmalade/">Demo report</a> ·
|
|
22
|
+
<a href="docs/README.md">Docs</a> ·
|
|
23
|
+
<a href="docs/compare.md">Compare</a> ·
|
|
24
|
+
<a href="CHANGELOG.md">Changelog</a> ·
|
|
25
|
+
<a href="https://github.com/AlexjComeau/marmalade/discussions">Discussions</a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
## Stop paying hundreds for AEO / GEO.
|
|
29
|
+
|
|
30
|
+
**Marmalade asks ChatGPT, Gemini, Perplexity and four other AI engines the questions your buyers ask, and
|
|
31
|
+
shows you which brands they recommend.** Then it gives you a ranked plan of pages to write or fix, so they
|
|
32
|
+
name you too.
|
|
33
|
+
|
|
34
|
+
How to set it up in Claude Code, start to finish (1:37):
|
|
35
|
+
|
|
36
|
+
https://github.com/user-attachments/assets/80189378-9026-47c6-b2e4-c12914fc2c3f
|
|
37
|
+
|
|
38
|
+
For AEO (answer engine optimization), it is an open source alternative to Profound, Peec AI and Jam. It
|
|
39
|
+
runs on your machine and keeps every answer. You pay only for the API calls: about **$4.80 a month** for 50
|
|
40
|
+
questions on six engines every week. Jam's entry plan lists the same tracking at $144 a month
|
|
41
|
+
([every plan compared](docs/compare.md)).
|
|
42
|
+
|
|
43
|
+
Every answer is graded by [Jev](docs/judging.md), a decision model made by TypeSafe, for about $0.0001 an
|
|
44
|
+
answer. Jev decides which brands an answer really means, so a common word, or another company with your
|
|
45
|
+
name, is not counted as yours. It also grades how the answer describes each brand, which one it
|
|
46
|
+
recommends, and whether it gets your facts right. Jev returns labels and probabilities, never text of its
|
|
47
|
+
own.
|
|
48
|
+
|
|
49
|
+
<p align="center">
|
|
50
|
+
<img src="docs/demo.gif" width="800" alt="One command builds a sample project, then the report opens: scores, a trend line and a leaderboard">
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
See it before you install: [the demo report](https://alexjcomeau.github.io/marmalade/), or
|
|
54
|
+
[a real report on PostHog](https://alexjcomeau.github.io/marmalade/posthog/) ([its files](examples/live-report/)),
|
|
55
|
+
which took 118 answers from five engines and cost 20 cents. There are also cards showing
|
|
56
|
+
[who AI names](examples/who-gets-named/) for product analytics, CRMs and email marketing.
|
|
57
|
+
|
|
58
|
+
## Get started
|
|
59
|
+
|
|
60
|
+
Setting up with an AI agent? Give it this repo's link. [AGENTS.md](AGENTS.md) has the steps it follows.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
pipx install git+https://github.com/AlexjComeau/marmalade # Python 3.12 or newer, no other dependencies
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
New to pipx? [Install it first](https://pipx.pypa.io). Upgrade later with `pipx upgrade marmalade-ai`, and
|
|
67
|
+
remove it with `pipx uninstall marmalade-ai`. Windows notes are in the [FAQ](docs/faq.md).
|
|
68
|
+
|
|
69
|
+
1. **Audit your site for free.** `marmalade audit yoursite.com` checks whether AI bots can read your site.
|
|
70
|
+
It needs no key and no project.
|
|
71
|
+
2. **Get a Treg key.** Marmalade reaches every engine through [Treg](https://treg.to), a service that gives
|
|
72
|
+
you one key and one bill for all of them. You sign up and pay there, per answer. There is no Marmalade
|
|
73
|
+
account. On 26 November 2026, a new verified Treg account came with $1.00 of free credit, enough for
|
|
74
|
+
about twenty first looks.
|
|
75
|
+
3. **Set up and take a first look.** `marmalade start yoursite.com` asks for your key with the typing
|
|
76
|
+
hidden and saves it in the project's `.env` file. After you say yes, it drafts your competitors and about
|
|
77
|
+
25 questions from your home page, for under a cent. Then it offers a first look: 10 questions on
|
|
78
|
+
ChatGPT, Google AI Overviews and Perplexity, for about 5 cents. It asks before each paid step, and it
|
|
79
|
+
opens your report at the end.
|
|
80
|
+
4. **Check the draft, then scan everything.** `start` makes a project folder, `marmalade-yoursite-com`. Read
|
|
81
|
+
its `marmalade.toml`, the file that lists your brand, competitors and questions. Fix any competitor it got
|
|
82
|
+
wrong, and cut the questions no buyer would ask. Then:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
cd marmalade-yoursite-com
|
|
86
|
+
marmalade run # every question on every engine, then the plan and the report
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`marmalade run` prints its price and asks before it spends. `marmalade schedule` puts it on a timer: a
|
|
90
|
+
cron line, a macOS launchd job, or a [GitHub Actions workflow](examples/scheduled-scan/marmalade.yml)
|
|
91
|
+
that runs while your computer is off. Add a Slack webhook to `.env` and every run posts the headline
|
|
92
|
+
numbers to Slack ([two minutes of setup](docs/slack.md)).
|
|
93
|
+
|
|
94
|
+
<p align="center">
|
|
95
|
+
<picture>
|
|
96
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/commands-dark.svg">
|
|
97
|
+
<img src="docs/commands-light.svg" width="1100" alt="The five steps and their commands: set up (init, doctor), scan, read (report, changes), fix (plan, why, verify), repeat (run, schedule, slack).">
|
|
98
|
+
</picture>
|
|
99
|
+
</p>
|
|
100
|
+
|
|
101
|
+
No key yet? `marmalade demo --open` builds a made-up project and opens its report. In a project, plain
|
|
102
|
+
`marmalade` tells you where things stand and what to run next. [Your first ten minutes](docs/quickstart.md)
|
|
103
|
+
walks through every step, including how to do each one by hand. The product's own words, such as first
|
|
104
|
+
look, the plan and brief, are defined in the [glossary](docs/glossary.md).
|
|
105
|
+
|
|
106
|
+
## How it works
|
|
107
|
+
|
|
108
|
+
<p align="center">
|
|
109
|
+
<picture>
|
|
110
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/how-it-works-dark.svg">
|
|
111
|
+
<img src="docs/how-it-works-light.svg" width="1100" alt="Your questions go through Treg to seven AI engines. Every answer is stored on your machine. From the answers you get the report, the plan and an MCP server for your agent.">
|
|
112
|
+
</picture>
|
|
113
|
+
</p>
|
|
114
|
+
|
|
115
|
+
Marmalade sends each question through Treg and stores the full answer on your machine. Everything else,
|
|
116
|
+
from the scores to the plan, is worked out from those stored answers. Each answer is graded once by Jev,
|
|
117
|
+
through the same Treg key, and the model's version is stored with the grade
|
|
118
|
+
([what Jev is asked, word for word](docs/judging.md)).
|
|
119
|
+
|
|
120
|
+
## What you get
|
|
121
|
+
|
|
122
|
+
<p align="center">
|
|
123
|
+
<picture>
|
|
124
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/report-dark.png">
|
|
125
|
+
<img src="docs/report-light.png" width="900" alt="The marmalade report on demo data: a one-sentence summary, the first three actions, visibility, citation share, average position, a trend line and a leaderboard">
|
|
126
|
+
</picture>
|
|
127
|
+
</p>
|
|
128
|
+
|
|
129
|
+
### Three numbers
|
|
130
|
+
|
|
131
|
+
| Number | What it means |
|
|
132
|
+
| - | - |
|
|
133
|
+
| Visibility | The share of answers that name you |
|
|
134
|
+
| Citation share | The share of answers that link to your site |
|
|
135
|
+
| Average position | Where you come among the brands you track, when you are named |
|
|
136
|
+
|
|
137
|
+
A visibility of 40% means 40 of every 100 counted answers named you. Answers vary from one scan to the
|
|
138
|
+
next, so each figure carries a noise band, and a move smaller than the band is marked "within noise".
|
|
139
|
+
Questions that already name you or a competitor are asked but left out of the scores, so the numbers come
|
|
140
|
+
from questions any brand could win. Each number is worked out from answers like this one
|
|
141
|
+
([how, in detail](docs/scoring.md)):
|
|
142
|
+
|
|
143
|
+
<p align="center">
|
|
144
|
+
<picture>
|
|
145
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/anatomy-dark.svg">
|
|
146
|
+
<img src="docs/anatomy-light.svg" width="900" alt="One made-up AI answer to 'best crm for a small agency' naming three brands with Lumen second, citing a link on Lumen's own site and graded for tone, and how it adds to Visibility, Citation share and Average position.">
|
|
147
|
+
</picture>
|
|
148
|
+
</p>
|
|
149
|
+
|
|
150
|
+
### Who gets named, and how
|
|
151
|
+
|
|
152
|
+
- **A leaderboard** against the competitors you pick, with each brand's share of voice, a trend line and
|
|
153
|
+
breakdowns by engine, topic, question, buyer stage, who is asking and audience.
|
|
154
|
+
- **A competitor map from the first report.** It shows who the answers name in each topic, including names
|
|
155
|
+
you do not track yet. `marmalade discover` lists those names, and `marmalade add-competitor` tracks one by
|
|
156
|
+
re-reading the answers you already have, so nothing is asked again.
|
|
157
|
+
- **How AI describes you.** The newest sentence each engine wrote about you, side by side, with the tone
|
|
158
|
+
of every mention. Answers that name you are checked against your `facts.md`, and a wrong price, a wrong
|
|
159
|
+
plan or a description of a different product is flagged.
|
|
160
|
+
- **Your niche and the rest.** Set `niche`, or let Marmalade spot it in your questions, and the report
|
|
161
|
+
splits your numbers between the questions that name it and the rest.
|
|
162
|
+
- **The answers themselves.** Open any question in the report to read what each engine said, with every
|
|
163
|
+
tracked brand marked, and the pages it cited, grouped by kind: your site, competitors' sites, review
|
|
164
|
+
sites, community and docs.
|
|
165
|
+
|
|
166
|
+
### What to fix
|
|
167
|
+
|
|
168
|
+
`marmalade analyse` turns the answers into the plan: ranked actions of five kinds.
|
|
169
|
+
|
|
170
|
+
| Kind | When it appears |
|
|
171
|
+
| - | - |
|
|
172
|
+
| Write a page | A question with three or more answers names you in 34% of them or fewer, whether competitors win it or none is named yet |
|
|
173
|
+
| Fix a page | Your page is cited but the answer does not name you; an answer gets a fact wrong; a page of yours the engines cite returns 404, says noindex or names another page as its canonical; or a review or GitHub page cited in answers about you should be checked against your facts |
|
|
174
|
+
| Site setup | robots.txt or your CDN turns AI bots away; or there is no llms.txt, no sitemap, no structured data, no text or prices without JavaScript, no Markdown docs for coding agents, or there are pages with almost no text of their own |
|
|
175
|
+
| Get listed | A third-party page carries your competitors into answers you are missing from |
|
|
176
|
+
| Join a thread | A thread the engines quote names your competitors and not you |
|
|
177
|
+
|
|
178
|
+
Each action says how many answers are behind it and comes with instructions you can hand to your own AI
|
|
179
|
+
agent. `marmalade next` says what is worth doing now. `marmalade brief ID` writes a page brief from the
|
|
180
|
+
answers and the pages the engines cite: who is named in your place, what those pages have that yours
|
|
181
|
+
lacks, an outline, and the facts you may use. Your agent or a writer drafts the page, and the draft check,
|
|
182
|
+
`marmalade check draft.md --for ID`, holds it against the brief and lists any figure that is not in your
|
|
183
|
+
facts file.
|
|
184
|
+
|
|
185
|
+
<p align="center">
|
|
186
|
+
<picture>
|
|
187
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/loop-dark.svg">
|
|
188
|
+
<img src="docs/loop-light.svg" width="1100" alt="The loop: scan, decide with marmalade next, get a brief, your agent writes the page, check the draft, verify on the next scan.">
|
|
189
|
+
</picture>
|
|
190
|
+
</p>
|
|
191
|
+
|
|
192
|
+
`marmalade why ID` reads the pages the engines cite for a question and lists how they differ from yours,
|
|
193
|
+
such as a comparison table, a FAQ, prices, a date or structured data. It shows what those pages have; it
|
|
194
|
+
cannot say why an engine chose them. When the page is live, mark it with
|
|
195
|
+
`marmalade action ID --status shipped --url https://...`, keep scanning, and `marmalade verify` tells you
|
|
196
|
+
whether the answers moved or the new page got cited. The whole loop, step by step:
|
|
197
|
+
[docs/next-steps.md](docs/next-steps.md).
|
|
198
|
+
|
|
199
|
+
### Alerts, data and extras
|
|
200
|
+
|
|
201
|
+
- **Alerts.** A question lost on three engines, a wrong fact or an engine that is down leads the report, the
|
|
202
|
+
digest and the Slack message. `marmalade changes` prints what moved since the last scan.
|
|
203
|
+
- **Demand.** `marmalade volume` estimates how often people ask AI tools about each topic and brand you
|
|
204
|
+
track, for about a cent. Busier topics move their actions up the plan.
|
|
205
|
+
- **AI bots on your site.** `marmalade traffic access.log` reads your own server logs: which AI bots read
|
|
206
|
+
which pages, where they hit errors, and how many people arrived from AI answers. It is free and sends
|
|
207
|
+
nothing anywhere ([how to get the logs](docs/traffic.md)).
|
|
208
|
+
- **A card to share.** `marmalade card` draws a "who AI names" image from your answers, with your brand in
|
|
209
|
+
orange. It is free.
|
|
210
|
+
- **Your data as files.** `marmalade export` writes the numbers, the plan and every stored answer as CSV, and
|
|
211
|
+
`marmalade report --md` writes a short Markdown version for a pull request or a wiki.
|
|
212
|
+
- **Your existing questions.** `marmalade add-prompt --from export.csv` imports a list from another tracker
|
|
213
|
+
or a spreadsheet. `marmalade suggest --from calls.txt` hands sales call notes or support tickets to your
|
|
214
|
+
agent, which pulls out the questions your buyers ask in their own words.
|
|
215
|
+
|
|
216
|
+
## Use it from your agent
|
|
217
|
+
|
|
218
|
+
`marmalade init` connects your AI agents as it sets up a project. It writes the MCP settings that Claude
|
|
219
|
+
Code, Cursor and VS Code read when they open the folder (MCP is the standard way an agent calls a tool),
|
|
220
|
+
and an `AGENTS.md` that tells any agent which commands cost money. `marmalade connect` does the same for an
|
|
221
|
+
existing project, and every command an agent needs prints JSON with `--json`. For another MCP client, add
|
|
222
|
+
the server yourself:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
claude mcp add marmalade -- marmalade -C /path/to/project mcp
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
The plugin adds the same tools plus four commands, `/marmalade:setup`, `/marmalade:report`,
|
|
229
|
+
`/marmalade:next-action` and `/marmalade:build-page`. Each one needs Marmalade installed first.
|
|
230
|
+
|
|
231
|
+
| Agent | Install |
|
|
232
|
+
| - | - |
|
|
233
|
+
| Claude Code | `/plugin marketplace add AlexjComeau/marmalade`, then `/plugin install marmalade@marmalade` |
|
|
234
|
+
| Codex | `codex plugin marketplace add AlexjComeau/marmalade`, then install Marmalade from `/plugins` |
|
|
235
|
+
| Cursor | Copy the [plugin](plugin/) folder to `~/.cursor/plugins/local/marmalade`, then run Developer: Reload Window. The button below adds the MCP server alone. |
|
|
236
|
+
| Other agents | `npx skills add AlexjComeau/marmalade` installs the four skills below (it needs Node.js 22 or newer) |
|
|
237
|
+
|
|
238
|
+
<a href="https://cursor.com/install-mcp?name=marmalade&config=eyJjb21tYW5kIjoibWFybWFsYWRlIiwiYXJncyI6WyJtY3AiXX0="><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add Marmalade's MCP server to Cursor" height="32"></a>
|
|
239
|
+
|
|
240
|
+
### Skills for your agent
|
|
241
|
+
|
|
242
|
+
| Skill | What your agent can do with it |
|
|
243
|
+
| - | - |
|
|
244
|
+
| [ai-visibility-tracking](plugin/skills/ai-visibility-tracking/SKILL.md) | Set up tracking, price a first scan, run it with your yes, read the report |
|
|
245
|
+
| [ai-crawler-check](plugin/skills/ai-crawler-check/SKILL.md) | Check whether AI bots can read your site, and fix what blocks them. Free |
|
|
246
|
+
| [ai-bot-traffic](plugin/skills/ai-bot-traffic/SKILL.md) | Read which AI bots visit and who arrives from AI answers, from your logs. Free |
|
|
247
|
+
| [ai-answer-to-page](plugin/skills/ai-answer-to-page/SKILL.md) | Turn a question you lose into a brief, a page and a checked draft |
|
|
248
|
+
|
|
249
|
+
No Node.js 22? Copy the folders in [plugin/skills](plugin/skills/) into your agent's skills folder, for
|
|
250
|
+
example `.claude/skills/` in your project for Claude Code.
|
|
251
|
+
|
|
252
|
+
The tools set up a project, read the stored answers, work the plan, write briefs and check drafts.
|
|
253
|
+
`/marmalade:build-page` writes the page, and puts it up as a pull request only when you say so. No MCP tool
|
|
254
|
+
spends money. A paid command reaches your agent marked as paid, and the agent runs it only after it tells
|
|
255
|
+
you the price and you say yes. Setup for other clients and the full list of tools:
|
|
256
|
+
[docs/agent.md](docs/agent.md).
|
|
257
|
+
|
|
258
|
+
## What it costs
|
|
259
|
+
|
|
260
|
+
You pay Treg for the calls and nothing else. These are the estimates per answer that the setup check
|
|
261
|
+
(`marmalade doctor`) and `--dry-run` use:
|
|
262
|
+
|
|
263
|
+
| Engine | Per answer |
|
|
264
|
+
| - | - |
|
|
265
|
+
| Google AI Mode, Google AI Overviews | $0.00015 |
|
|
266
|
+
| Gemini | $0.0024 |
|
|
267
|
+
| ChatGPT | $0.0028 |
|
|
268
|
+
| Perplexity | $0.002 |
|
|
269
|
+
| Copilot (Bing) | $0.015 |
|
|
270
|
+
| Claude | $0.065 |
|
|
271
|
+
|
|
272
|
+
Fifty questions on the first six engines make 300 answers, about $1.12 a scan. Weekly, that is about $4.80
|
|
273
|
+
a month; daily, about $34. Claude is off by default, because one Claude answer costs more than the other
|
|
274
|
+
six engines together. Treg reports the real cost of each call, and Marmalade stores it with each answer.
|
|
275
|
+
`max_cost` in `marmalade.toml` caps one scan: a call starts only if its estimate still fits under the cap.
|
|
276
|
+
The measured prices, from real calls on 26 November 2026, and each engine's Treg tool are in
|
|
277
|
+
[docs/engines.md](docs/engines.md).
|
|
278
|
+
|
|
279
|
+
Four commands spend money, and each one says what it costs before it calls anything:
|
|
280
|
+
|
|
281
|
+
<p align="center">
|
|
282
|
+
<picture>
|
|
283
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/costs-dark.svg">
|
|
284
|
+
<img src="docs/costs-light.svg" width="900" alt="scan, run, volume and init --site are paid through Treg and say what they cost first; every other command and every MCP tool is free, and max_cost caps every scan.">
|
|
285
|
+
</picture>
|
|
286
|
+
</p>
|
|
287
|
+
|
|
288
|
+
Claude is the engine the paid trackers charge most for. Jam sells it as an add-on. At every size its
|
|
289
|
+
calculator showed on 26 November 2026, Marmalade's bill for all seven engines came to less than that
|
|
290
|
+
add-on alone:
|
|
291
|
+
|
|
292
|
+
<p align="center">
|
|
293
|
+
<picture>
|
|
294
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/claude-cost-dark.svg">
|
|
295
|
+
<img src="docs/claude-cost-light.svg" width="1100" alt="Monthly cost of asking every question every other day on seven engines. 50 questions: Jam $282, Marmalade $66. 200 questions: Jam $591, Marmalade $262. 400 questions: Jam $1,003, Marmalade $525. In each case Marmalade's whole bill is less than Jam's Claude add-on alone.">
|
|
296
|
+
</picture>
|
|
297
|
+
</p>
|
|
298
|
+
|
|
299
|
+
## Next to the hosted trackers
|
|
300
|
+
|
|
301
|
+
This is what Jam, Peec AI, OtterlyAI and Profound list on their own sites, read on 26 November 2026, set
|
|
302
|
+
against Marmalade. Every plan and feature, with each product named, is in [docs/compare.md](docs/compare.md).
|
|
303
|
+
|
|
304
|
+
| | Marmalade | The hosted trackers |
|
|
305
|
+
| - | - | - |
|
|
306
|
+
| Price | The API calls: about $4.80 a month for 50 questions a week on six engines | A subscription: €29 to $974 a month on the plans they list, or by quote |
|
|
307
|
+
| Your data | Every answer, in full, in one SQLite file on your machine | In their cloud |
|
|
308
|
+
| Claude | At cost, about 6.5 cents an answer | An add-on, triple credits, or Enterprise only |
|
|
309
|
+
| AI bots on your site | From your own server logs, free | Included at Peec AI, OtterlyAI and Profound |
|
|
310
|
+
| Demand for a topic | AI search volume, about a cent a refresh | Included at Peec AI and Profound |
|
|
311
|
+
| Page work | A brief, a draft check, and your agent opens the pull request | Jam and Profound draft pages for you |
|
|
312
|
+
| Agents | MCP server, four agent skills, Claude Code, Codex and Cursor plugins, `--json` output, AGENTS.md | MCP at all four |
|
|
313
|
+
| Team logins, AI shopping | Not built | Logins at all four; shopping at Peec AI and Profound |
|
|
314
|
+
| Source | Open source, MIT | Closed |
|
|
315
|
+
|
|
316
|
+
## Why I built it
|
|
317
|
+
|
|
318
|
+
I'm a go-to-market engineer. Every week for months, I've asked all the major AI engines (ChatGPT, Claude,
|
|
319
|
+
Gemini, Perplexity, Copilot and Google's AI) the questions a buyer would ask, to see who they name, which
|
|
320
|
+
pages they cite and where AI search traffic comes from. Every round taught me something, and I kept
|
|
321
|
+
improving the method: better questions, a stricter test for what counts as a mention, and a clearer order
|
|
322
|
+
for what to fix first.
|
|
323
|
+
|
|
324
|
+
Over the same months, more companies started selling this as a service, and in my opinion most of them are
|
|
325
|
+
priced out of reach for a young company. Yet the work underneath is a set of API calls, and for a small
|
|
326
|
+
setup those cost a few dollars a month, as the table above shows. So I built Marmalade to cost exactly
|
|
327
|
+
that. It runs on your machine, keeps every answer in a file you can open, and turns the answers into a
|
|
328
|
+
short, ranked list of what to fix. I made it for teams that can't justify an expensive AEO service but
|
|
329
|
+
still want to do this work well. It is free and open source, and you pay only for the API calls.
|
|
330
|
+
|
|
331
|
+
If you build growth systems too, I'd like to hear what you track. You can find me on
|
|
332
|
+
[GitHub](https://github.com/AlexjComeau).
|
|
333
|
+
|
|
334
|
+
## What leaves your machine
|
|
335
|
+
|
|
336
|
+
Marmalade has no server of its own, no account and no telemetry. It makes nine kinds of call, all
|
|
337
|
+
through [Treg's catalog](https://treg.to/catalog) with one key: the seven engines, grading and AI search
|
|
338
|
+
volume.
|
|
339
|
+
|
|
340
|
+
- Your questions, country and language go to Treg, which passes them to each engine.
|
|
341
|
+
- Grading sends the question, the answer, the brand names and your facts file to Jev, through Treg.
|
|
342
|
+
- `init --site` reads your home page, `volume` sends your topics and brand names, and Slack gets a message
|
|
343
|
+
only if you set a webhook.
|
|
344
|
+
|
|
345
|
+
Everything else stays in the project folder. The full list is in [SECURITY.md](SECURITY.md).
|
|
346
|
+
|
|
347
|
+
<p align="center">
|
|
348
|
+
<picture>
|
|
349
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/data-flow-dark.svg">
|
|
350
|
+
<img src="docs/data-flow-light.svg" width="900" alt="Your questions reach seven AI answer engines only through Treg, and the answers come back into a local database. Grading, volume and init --site send a little more, Slack, public web pages and server logs are optional, and there is no Marmalade server, account or telemetry.">
|
|
351
|
+
</picture>
|
|
352
|
+
</p>
|
|
353
|
+
|
|
354
|
+
More about Treg:
|
|
355
|
+
|
|
356
|
+
- [treg.to/pricing](https://treg.to/pricing) - what each call costs
|
|
357
|
+
- [treg.to/docs](https://treg.to/docs) - how keys and calls work
|
|
358
|
+
- [treg.to/mcp/](https://treg.to/mcp/) - every Treg tool inside your agent, beyond these nine
|
|
359
|
+
- [treg.to/gtm-engineering.md](https://treg.to/gtm-engineering.md) - Treg's guide to go-to-market work with these tools
|
|
360
|
+
|
|
361
|
+
## FAQ
|
|
362
|
+
|
|
363
|
+
**Is there a free, open source alternative to the paid AI visibility trackers?** Yes. Marmalade is MIT
|
|
364
|
+
licensed and runs on your machine with no subscription. You pay only for the API calls.
|
|
365
|
+
|
|
366
|
+
**How does the cost compare at a larger scale?** The gap narrows as volume grows. At 1,000 questions a day,
|
|
367
|
+
the API bill is real money. Every plan, the method, and what the paid trackers' prices buy that Marmalade
|
|
368
|
+
does not do are in [docs/compare.md](docs/compare.md).
|
|
369
|
+
|
|
370
|
+
**Can I trust the numbers when AI answers change every time?** Read them with their noise band. Every
|
|
371
|
+
visibility figure carries one, and a move inside it is chance.
|
|
372
|
+
|
|
373
|
+
More questions, including Windows: [docs/faq.md](docs/faq.md). When something goes wrong:
|
|
374
|
+
[docs/troubleshooting.md](docs/troubleshooting.md).
|
|
375
|
+
|
|
376
|
+
## Documentation
|
|
377
|
+
|
|
378
|
+
| Start here | Run it for real | Reference |
|
|
379
|
+
| - | - | - |
|
|
380
|
+
| [Your first ten minutes](docs/quickstart.md) | [A report in Slack every day](docs/slack.md) | [Every command](docs/commands.md) |
|
|
381
|
+
| [From an answer to a page](docs/next-steps.md) | [Run it on a schedule](docs/schedule.md) | [Every config key](docs/configuration.md) |
|
|
382
|
+
| [FAQ](docs/faq.md) and the [glossary](docs/glossary.md) | [Use it from your agent](docs/agent.md) | [How the numbers are computed](docs/scoring.md) |
|
|
383
|
+
| [Troubleshooting](docs/troubleshooting.md) | [What the paid trackers cost](docs/compare.md) | [Engines and costs](docs/engines.md), [how it is built](docs/architecture.md) |
|
|
384
|
+
| [A real example report](examples/live-report/), [who AI names](examples/who-gets-named/) | [AI on your site](docs/traffic.md) | [Notes for AI agents](AGENTS.md) |
|
|
385
|
+
|
|
386
|
+
## Where Marmalade stops
|
|
387
|
+
|
|
388
|
+
Marmalade gives you the plan, the brief, the instructions for your agent and the draft check. You, a
|
|
389
|
+
writer or your agent writes the page, and your agent opens a pull request only when you say so. The report
|
|
390
|
+
is a file you open, and the schedule is cron, launchd or a GitHub Action.
|
|
391
|
+
|
|
392
|
+
## The files in a project
|
|
393
|
+
|
|
394
|
+
`marmalade.toml` lists your brand, competitors, engines and questions; each question is a `[[prompt]]`
|
|
395
|
+
entry. `facts.md` holds what is true about your product, so a wrong answer can be caught. `marmalade.db`
|
|
396
|
+
keeps everything asked and answered, and `marmalade export` writes it out as CSV. Your Treg key lives in
|
|
397
|
+
`.env`.
|
|
398
|
+
|
|
399
|
+
[Quick start](docs/quickstart.md) - [Troubleshooting](docs/troubleshooting.md) - [Changelog](CHANGELOG.md) - [Contributing](CONTRIBUTING.md) - [Security](SECURITY.md) - MIT licensed.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Marmalade
|
|
2
|
+
|
|
3
|
+
Find out which brands AI recommends to your buyers.
|
|
4
|
+
|
|
5
|
+
Marmalade is an open source AI visibility tracker, an alternative to Profound, Peec AI and Jam. It asks ChatGPT,
|
|
6
|
+
Gemini, Perplexity, Google AI Mode, Google AI Overviews, Copilot and Claude the questions your buyers ask, and
|
|
7
|
+
records which brands each answer names and cites. Then it turns the answers into a ranked plan of pages to write
|
|
8
|
+
or fix, with a brief for each page and a check of your draft.
|
|
9
|
+
|
|
10
|
+
It runs on your machine and keeps every answer in one SQLite file. The engines are reached through
|
|
11
|
+
[Treg](https://treg.to), a service that gives you one key and one bill for all of them. You sign up and pay
|
|
12
|
+
there, per answer: about $4.80 a month for 50 questions on six engines once a week. There is no Marmalade
|
|
13
|
+
account and no telemetry.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pipx install marmalade-ai
|
|
17
|
+
marmalade audit yoursite.com # free: can AI bots read your site?
|
|
18
|
+
marmalade start yoursite.com # your key, your competitors and questions, then a first look; asks before it spends
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
- [Read the full README](https://github.com/AlexjComeau/marmalade#readme)
|
|
22
|
+
- [Your first ten minutes](https://github.com/AlexjComeau/marmalade/blob/main/docs/quickstart.md)
|
|
23
|
+
- [What leaves your machine](https://github.com/AlexjComeau/marmalade/blob/main/SECURITY.md)
|
|
24
|
+
- [What the paid trackers cost, compared](https://github.com/AlexjComeau/marmalade/blob/main/docs/compare.md)
|
|
25
|
+
- [Every command](https://github.com/AlexjComeau/marmalade/blob/main/docs/commands.md)
|
|
26
|
+
|
|
27
|
+
MIT licensed. Python 3.12 or newer, no other dependencies.
|
|
28
|
+
|
|
29
|
+
<!-- mcp-name: io.github.AlexjComeau/marmalade -->
|