Skip to content

Open-source, local-first social media research agent for Instagram, TikTok, and LinkedIn. Jev routes read-only steps; socai CLI captures cited browser evidence.

docs: add local Kev setup guide

Asklv88ed5bf9ac16
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 2781c7e..a951d66 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -33,8 +33,9 @@ jobs:
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
- name: Assemble the static site
run: |
- mkdir -p _site/assets/platforms
+ mkdir -p _site/assets/platforms _site/local-system-one
cp site/index.html site/styles.css site/favicon.svg site/robots.txt site/sitemap.xml site/llms.txt site/a7d8dcce78db561a70661682fc57f53cd04f3b50f3bddb6bf62627d5024afb57.txt _site/
+ cp site/local-system-one/index.html _site/local-system-one/
cp docs/banner.png docs/social-preview.jpg docs/jev-social.gif _site/assets/
cp docs/platforms/instagram.png docs/platforms/tiktok.png docs/platforms/linkedin.svg _site/assets/platforms/
touch _site/.nojekyll
diff --git a/README.md b/README.md
index f4f4af2..999dcbc 100644
--- a/README.md
+++ b/README.md
@@ -131,8 +131,9 @@ To run v0.1.8 through local [Kev](https://github.com/jaredpalmer/kev), start its
# Terminal 1
git clone https://github.com/jaredpalmer/kev.git
cd kev
+git checkout 2855ba2a55a80579176a459f78b95d03548cabb5
uv sync --extra serve
-uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b --port 8009
+uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b@139fdd94f1b6a6ad80cc15e08fcb99cac885a101 --port 8009
# Terminal 2
export JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 8503e59..d5f96fe 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -155,8 +155,9 @@ Kev exposes the TypeSafe-compatible endpoint Jev Social needs. Start it separate
```bash
git clone https://github.com/jaredpalmer/kev.git
cd kev
+git checkout 2855ba2a55a80579176a459f78b95d03548cabb5
uv sync --extra serve
-uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b --port 8009
+uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b@139fdd94f1b6a6ad80cc15e08fcb99cac885a101 --port 8009
```
```bash
diff --git a/site/index.html b/site/index.html
index ab3e786..1e11d6f 100644
--- a/site/index.html
+++ b/site/index.html
@@ -213,6 +213,7 @@
</div>
<div class="run-actions">
<a class="button button-pink" href="https://github.com/socai-io/jev-social" rel="noreferrer">Star Jev Social ★</a>
+ <a class="text-link" href="./local-system-one/">Run with local Kev ↗</a>
<a class="text-link" href="https://github.com/socai-io/jev-social#run-it" rel="noreferrer">Install the Agent Skill ↗</a>
<a class="text-link" href="https://github.com/socai-io/socai" rel="noreferrer">Explore the socai CLI ↗</a>
</div>
diff --git a/site/llms.txt b/site/llms.txt
index 338b3ea..fa264d6 100644
--- a/site/llms.txt
+++ b/site/llms.txt
@@ -5,6 +5,7 @@
Canonical site: https://socai-io.github.io/jev-social/
Source: https://github.com/socai-io/jev-social
License: MIT
+Local System One guide: https://socai-io.github.io/jev-social/local-system-one/
## What it does
@@ -53,6 +54,8 @@ npx github:socai-io/jev-social#v0.1.8 search "find emerging design creators on I
The tagged v0.1.8 release uses OpenRouter by default. Set `JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone` and `JEV_SOCIAL_SYSTEM_ONE_MODEL=kev-latest` to switch decisions to local Kev without an OpenRouter key. Only an exact loopback endpoint is accepted; OpenRouter credentials are not forwarded. Set `OPENROUTER_REPORT_MODEL=off` to keep report generation on the deterministic evidence path.
+Step-by-step local Kev guide: https://socai-io.github.io/jev-social/local-system-one/
+
## Install as an Agent Skill
GitHub CLI 2.101 or newer can install the immutable v0.1.8 skill for Codex:
diff --git a/site/local-system-one/index.html b/site/local-system-one/index.html
new file mode 100644
index 0000000..29e319a
--- /dev/null
+++ b/site/local-system-one/index.html
@@ -0,0 +1,200 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Run Jev Social with local Kev — no OpenRouter key</title>
+ <meta name="description" content="Use a loopback Kev System One endpoint for Jev Social decisions while socai gathers Instagram, TikTok, and LinkedIn evidence in your Chrome session.">
+ <meta name="theme-color" content="#ff4fc8">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="Jev Social">
+ <meta property="og:title" content="Run Jev Social with local Kev">
+ <meta property="og:description" content="Keep Jev Social decisions local and let socai continue the real browser work in Chrome.">
+ <meta property="og:url" content="https://socai-io.github.io/jev-social/local-system-one/">
+ <meta property="og:image" content="https://socai-io.github.io/jev-social/assets/social-preview.jpg">
+ <meta property="og:image:width" content="1280">
+ <meta property="og:image:height" content="640">
+ <meta property="og:image:alt" content="Jev Social — typed decisions, real social data">
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:title" content="Run Jev Social with local Kev">
+ <meta name="twitter:description" content="Local System One decisions, real socai browser evidence, no OpenRouter key required.">
+ <meta name="twitter:image" content="https://socai-io.github.io/jev-social/assets/social-preview.jpg">
+ <link rel="canonical" href="https://socai-io.github.io/jev-social/local-system-one/">
+ <link rel="icon" href="../favicon.svg" type="image/svg+xml">
+ <link rel="stylesheet" href="../styles.css">
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "TechArticle",
+ "headline": "Run Jev Social with local Kev",
+ "description": "Use a loopback Kev System One endpoint for Jev Social decisions while socai gathers social evidence in the user's Chrome session.",
+ "url": "https://socai-io.github.io/jev-social/local-system-one/",
+ "mainEntityOfPage": "https://socai-io.github.io/jev-social/local-system-one/",
+ "image": "https://socai-io.github.io/jev-social/assets/social-preview.jpg",
+ "dateModified": "2026-09-25",
+ "author": {
+ "@type": "Organization",
+ "name": "socai-io",
+ "url": "https://github.com/socai-io"
+ },
+ "isPartOf": {
+ "@type": "WebSite",
+ "name": "Jev Social",
+ "url": "https://socai-io.github.io/jev-social/"
+ }
+ }
+ </script>
+ </head>
+ <body>
+ <a class="skip-link" href="#main">Skip to content</a>
+
+ <header class="site-header">
+ <a class="wordmark" href="../" aria-label="Jev Social home">
+ <span class="mark" aria-hidden="true"></span>
+ <span>JEV <b>×</b> socai</span>
+ </a>
+ <nav aria-label="Primary navigation">
+ <a href="../">Overview</a>
+ <a class="star-link" href="https://github.com/socai-io/jev-social" rel="noreferrer">Star on GitHub ★</a>
+ </nav>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero">
+ <div class="hero-glow" aria-hidden="true"></div>
+ <div class="eyebrow">LOCAL SYSTEM ONE</div>
+ <h1>Keep the decisions<br><span>on your machine.</span></h1>
+ <p class="hero-copy">
+ Point Jev Social at a local Kev server. Kev chooses the next step; socai still opens the real posts in your Chrome; the report keeps the sources.
+ </p>
+ <div class="hero-actions">
+ <a class="button button-dark" href="#setup">Start with Kev ↓</a>
+ <a class="button button-light" href="https://github.com/socai-io/jev-social" rel="noreferrer">View source ↗</a>
+ </div>
+ <p class="trust-line">No OpenRouter key · loopback only · read-only browser work</p>
+ </section>
+
+ <section class="proof reveal" id="setup" aria-labelledby="setup-heading">
+ <div class="proof-copy">
+ <div class="section-label">01 · START KEV</div>
+ <h2 id="setup-heading">One local decision endpoint.</h2>
+ <p>Kev exposes the TypeSafe-compatible <code>/v1/systemone</code> route Jev Social expects. Start it first and leave it running.</p>
+ <ul>
+ <li>Kev's model and inference requirements still apply.</li>
+ <li>The first model load may take longer than later choices.</li>
+ <li>Jev Social accepts only an exact loopback HTTP endpoint.</li>
+ </ul>
+ </div>
+ <div class="code-block">
+ <div class="code-label">TERMINAL 1</div>
+ <pre><code><span>git clone https://github.com/jaredpalmer/kev.git</span>
+<span>cd kev</span>
+<span>git checkout 2855ba2a55a80579176a459f78b95d03548cabb5</span>
+<span>uv sync --extra serve</span>
+<span>uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b@139fdd94f1b6a6ad80cc15e08fcb99cac885a101 --port 8009</span></code></pre>
+ </div>
+ </section>
+
+ <section class="run reveal" aria-labelledby="run-local-heading">
+ <div class="run-copy">
+ <div class="section-label">02 · RUN JEV SOCIAL</div>
+ <h2 id="run-local-heading">Route locally. Research in Chrome.</h2>
+ <p>These settings move the Jev decisions to Kev and keep report generation deterministic. The social sites still load through your browser and normal network connection.</p>
+ </div>
+ <div class="code-block">
+ <div class="code-label">TERMINAL 2</div>
+ <pre><code><span>export JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone</span>
+<span>export JEV_SOCIAL_SYSTEM_ONE_MODEL=kev-latest</span>
+<span>export JEV_SOCIAL_SYSTEM_ONE_TIMEOUT_MS=120000</span>
+<span>export OPENROUTER_REPORT_MODEL=off</span>
+<span>npx github:socai-io/jev-social#v0.1.8</span></code></pre>
+ </div>
+ <div class="run-actions">
+ <a class="button button-pink" href="https://github.com/socai-io/jev-social#run-it" rel="noreferrer">Open full setup ↗</a>
+ <a class="text-link" href="https://github.com/socai-io/jev-social/blob/main/docs/troubleshooting.md" rel="noreferrer">Troubleshooting ↗</a>
+ </div>
+ </section>
+
+ <section class="flow reveal" aria-labelledby="boundary-heading">
+ <div class="section-label">THE BOUNDARY</div>
+ <div class="section-heading compact">
+ <h2 id="boundary-heading">Local does not mean imaginary.</h2>
+ <p>The decision model moves onto your machine. The evidence still comes from the live sites you asked socai to inspect.</p>
+ </div>
+ <ol class="flow-grid">
+ <li>
+ <span class="step">01</span>
+ <h3>Kev decides</h3>
+ <p>The local model selects from the operations Jev Social currently offers.</p>
+ </li>
+ <li>
+ <span class="step">02</span>
+ <h3>Code checks</h3>
+ <p>Unsupported, stale, malformed, and low-confidence choices do not execute.</p>
+ </li>
+ <li>
+ <span class="step">03</span>
+ <h3>socai reads</h3>
+ <p>The installed CLI uses your Chrome session to collect posts, comments, and requested media.</p>
+ </li>
+ <li>
+ <span class="step">04</span>
+ <h3>Sources stay</h3>
+ <p>Captured cards remain visible and the deterministic report links back to the evidence.</p>
+ </li>
+ </ol>
+ </section>
+
+ <section class="evidence reveal" aria-labelledby="limits-heading">
+ <div class="section-label">HONEST LIMITS</div>
+ <div class="section-heading">
+ <h2 id="limits-heading">No hosted key.<br>Not fully offline.</h2>
+ <p>Local decisions remove the OpenRouter dependency. They do not remove Chrome, socai, the social sites, or their access rules.</p>
+ </div>
+ <div class="evidence-grid">
+ <article class="evidence-card">
+ <span class="evidence-kicker">NETWORK</span>
+ <h3>Live sites stay live</h3>
+ <p>Instagram, TikTok, and LinkedIn still require normal network access and an usable browser session.</p>
+ </article>
+ <article class="evidence-card">
+ <span class="evidence-kicker">ACCESS</span>
+ <h3>No gate bypass</h3>
+ <p>Login prompts, challenges, rate limits, and unavailable pages remain visible stop conditions.</p>
+ </article>
+ <article class="evidence-card">
+ <span class="evidence-kicker">SAFETY</span>
+ <h3>Fail closed</h3>
+ <p>Jev Social refuses remote System One URLs, redirects, oversized responses, and invalid choices.</p>
+ </article>
+ </div>
+ </section>
+
+ <section class="share reveal" aria-labelledby="next-heading">
+ <div>
+ <div class="section-label">READY?</div>
+ <h2 id="next-heading">Ask one real research question.</h2>
+ </div>
+ <div class="share-panel">
+ <p>Start with four results. Watch the cards arrive, then inspect the links behind the report.</p>
+ <nav class="share-links" aria-label="Next steps">
+ <a href="https://github.com/socai-io/jev-social" rel="noreferrer">Star Jev Social ↗</a>
+ <a href="../">See the demo ↗</a>
+ <a href="https://github.com/socai-io/socai" rel="noreferrer">Get socai ↗</a>
+ <a href="https://github.com/jaredpalmer/kev" rel="noreferrer">Open Kev ↗</a>
+ </nav>
+ </div>
+ </section>
+ </main>
+
+ <footer>
+ <span>JEV × socai</span>
+ <p>Local decisions meet real social browser evidence.</p>
+ <div>
+ <a href="../">Home</a>
+ <a href="https://github.com/socai-io/jev-social" rel="noreferrer">GitHub</a>
+ <a href="../llms.txt">llms.txt</a>
+ </div>
+ </footer>
+ </body>
+</html>
diff --git a/site/sitemap.xml b/site/sitemap.xml
index 9ee6b8e..bba777d 100644
--- a/site/sitemap.xml
+++ b/site/sitemap.xml
@@ -6,4 +6,10 @@
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
+ <url>
+ <loc>https://socai-io.github.io/jev-social/local-system-one/</loc>
+ <lastmod>2026-09-25</lastmod>
+ <changefreq>monthly</changefreq>
+ <priority>0.8</priority>
+ </url>
</urlset>
diff --git a/site/styles.css b/site/styles.css
index 2686d2f..d4d272c 100644
--- a/site/styles.css
+++ b/site/styles.css
@@ -4,6 +4,7 @@
--paper: #f8f5ef;
--white: #fff;
--pink: #ff4fc8;
+ --pink-ink: #9b126f;
--pink-soft: #ffc5ec;
--blue: #dff5ff;
--blue-strong: #40b9e7;
@@ -146,6 +147,16 @@ a {
animation: drift 8s ease-in-out infinite alternate;
}
+.guide-hero {
+ min-height: 620px;
+}
+
+.guide-hero h1 {
+ max-width: 1120px;
+ font-size: clamp(54px, 8.2vw, 128px);
+ line-height: 0.88;
+}
+
@keyframes drift {
to { transform: translate(-80px, 70px) scale(1.08); }
}
@@ -373,7 +384,7 @@ h2 {
.step {
display: block;
margin-bottom: 80px;
- color: var(--pink);
+ color: var(--pink-ink);
font: 700 12px/1 var(--mono);
}
@@ -752,6 +763,10 @@ footer a {
padding-top: 74px;
}
+ .guide-hero {
+ min-height: 580px;
+ }
+
.section-heading {
gap: 22px;
}
diff --git a/test/distribution-docs.test.js b/test/distribution-docs.test.js
index 0a7cfbc..39c267f 100644
--- a/test/distribution-docs.test.js
+++ b/test/distribution-docs.test.js
@@ -9,13 +9,58 @@ const packageJson = JSON.parse(
const releaseTag = `v${packageJson.version}`;
const pinnedSource = `github:socai-io/jev-social#v${packageJson.version}`;
const pinnedSkillSource = `https://github.com/socai-io/jev-social/tree/v${packageJson.version}/skills/jev-social`;
+const kevRepoCommit = "2855ba2a55a80579176a459f78b95d03548cabb5";
+const kevModelRevision = "139fdd94f1b6a6ad80cc15e08fcb99cac885a101";
+const pinnedKevCommands = [
+ "git clone https://github.com/jaredpalmer/kev.git",
+ "cd kev",
+ `git checkout ${kevRepoCommit}`,
+ "uv sync --extra serve",
+ `uv run --extra serve python -m kev.serve --run jaredpalmer/kev-4b@${kevModelRevision} --port 8009`,
+];
const publicDocs = [
["README.md", new URL("../README.md", import.meta.url)],
["docs/troubleshooting.md", new URL("../docs/troubleshooting.md", import.meta.url)],
["site/index.html", new URL("../site/index.html", import.meta.url)],
+ ["site/local-system-one/index.html", new URL("../site/local-system-one/index.html", import.meta.url)],
["site/llms.txt", new URL("../site/llms.txt", import.meta.url)],
];
+function normalizedVisibleText(contents) {
+ const attributeValues = [...contents.matchAll(/\b(?:aria-label|content|title)="([^"]*)"/gi)]
+ .map((match) => match[1])
+ .join(" ");
+ return `${contents.replace(/<[^>]*>/g, " ")} ${attributeValues}`
+ .replace(/&(?:nbsp|ensp|emsp|thinsp|hyphen|ndash|mdash);/gi, " ")
+ .replace(/&#(?:x[a-f\d]+|\d+);/gi, " ")
+ .replace(/\s+/g, " ")
+ .trim();
+}
+
+function extractKevCommands(contents) {
+ const prefixes = [
+ "git clone https://github.com/jaredpalmer/kev.git",
+ "cd kev",
+ "git checkout ",
+ "uv sync --extra serve",
+ "uv run --extra serve python -m kev.serve ",
+ ];
+ return contents
+ .replace(/<[^>]*>/g, "")
+ .split(/\r?\n/)
+ .map((line) => line.trim())
+ .filter((line) => prefixes.some((prefix) => line.startsWith(prefix)));
+}
+
+function assertNoAffirmativeOfflineClaim(contents) {
+ const normalized = normalizedVisibleText(contents);
+ const withoutExplicitLimit = normalized.replace(
+ /\bnot\s+(?:fully|completely)[\s-]+offline\b/gi,
+ "",
+ );
+ assert.doesNotMatch(withoutExplicitLimit, /\b(?:fully|completely)[\s-]+offline\b/i);
+}
+
test("public no-clone commands require consent and pin the current release", async () => {
for (const [name, url] of publicDocs) {
const contents = await readFile(url, "utf8");
@@ -111,6 +156,69 @@ test("the Pages landing exposes current structured metadata and recorded evidenc
assert.match(landing, new RegExp(expected.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")));
}
assert.match(landing, /individual local observations, not a benchmark/i);
+ assert.match(landing, /\.\/local-system-one\//);
+});
+
+test("the local System One guide is shipped and keeps its local boundary honest", async () => {
+ const [readme, troubleshooting, guide, sitemap, workflow] = await Promise.all([
+ readFile(new URL("../README.md", import.meta.url), "utf8"),
+ readFile(new URL("../docs/troubleshooting.md", import.meta.url), "utf8"),
+ readFile(new URL("../site/local-system-one/index.html", import.meta.url), "utf8"),
+ readFile(new URL("../site/sitemap.xml", import.meta.url), "utf8"),
+ readFile(new URL("../.github/workflows/pages.yml", import.meta.url), "utf8"),
+ ]);
+ const structuredData = guide.match(
+ /<script type="application\/ld\+json">\s*([\s\S]*?)\s*<\/script>/,
+ );
+ assert.ok(structuredData, "the local guide must include JSON-LD");
+ const article = JSON.parse(structuredData[1]);
+ assert.equal(article["@type"], "TechArticle");
+ assert.equal(
+ article.url,
+ "https://socai-io.github.io/jev-social/local-system-one/",
+ );
+
+ assert.match(guide, /http:\/\/127\.0\.0\.1:8009\/v1\/systemone/);
+ assert.match(guide, /OPENROUTER_REPORT_MODEL=off/);
+ assert.match(guide, /No hosted key[\s\S]*Not fully offline/i);
+ assert.match(guide, /social sites still load through your browser/i);
+ for (const [name, contents] of [
+ ["README.md", readme],
+ ["docs/troubleshooting.md", troubleshooting],
+ ["site/local-system-one/index.html", guide],
+ ]) {
+ assert.deepEqual(
+ extractKevCommands(contents),
+ pinnedKevCommands,
+ `${name} must expose exactly one immutable Kev setup sequence`,
+ );
+ assert.doesNotMatch(
+ contents,
+ /--run\s+jaredpalmer\/kev-4b(?!@[0-9a-f]{40}\b)/,
+ `${name} must not expose a mutable Kev model reference`,
+ );
+ }
+ assertNoAffirmativeOfflineClaim(guide);
+ assert.match(sitemap, /https:\/\/socai-io\.github\.io\/jev-social\/local-system-one\//);
+ assert.match(workflow, /mkdir -p _site\/assets\/platforms _site\/local-system-one/);
+ assert.match(
+ workflow,
+ /cp site\/local-system-one\/index\.html _site\/local-system-one\//,
+ );
+});
+
+test("the offline-claim guard normalizes markup and encoded separators", () => {
+ for (const unsafeClaim of [
+ "works fully offline",
+ "works fully-offline",
+ "works fully&nbsp;offline",
+ "works fully&#45;offline",
+ "works fully <em>offline</em>",
+ '<meta name="description" content="works completely offline">',
+ ]) {
+ assert.throws(() => assertNoAffirmativeOfflineClaim(unsafeClaim));
+ }
+ assert.doesNotThrow(() => assertNoAffirmativeOfflineClaim("No hosted key. Not fully offline."));
});
test("public docs expose the reproducible benchmark workflow without claiming results", async () => {