From 94704e9cfac78eefbe64d02975905f23e7a3994f Mon Sep 17 00:00:00 2001 From: mehfuz Date: Sun, 15 Nov 2026 22:47:52 -0800 Subject: [PATCH 01/36] Make smartloop.ai the company page; Studio moves to /studio Smartloop is the company and its products sit under it, the way 37signals sits over Basecamp and HEY. - / is a short company page: the story, the three products (Docent, Docent Studio, gpushed) and how we work - The Studio product page moves to /studio and is renamed Docent Studio - Header links Docent, Docent Studio and gpushed.dev - Smartloop Studio is Docent Studio across the docs and download page - Fix the CLI docs link to /#docent, which pointed at the old home page --- docs/coding.md | 2 +- docs/command-line-tool.md | 4 +- docs/customizing-theme.md | 2 +- docs/getting-started.md | 20 +- src/components/Header/index.tsx | 2 + src/components/StoreBadge/index.tsx | 8 +- src/pages/company.module.css | 207 ++++++++ src/pages/download.tsx | 4 +- src/pages/index.tsx | 730 +++++----------------------- src/pages/studio.tsx | 661 +++++++++++++++++++++++++ 10 files changed, 1008 insertions(+), 632 deletions(-) create mode 100644 src/pages/company.module.css create mode 100644 src/pages/studio.tsx diff --git a/docs/coding.md b/docs/coding.md index 1d1577f..54e7479 100644 --- a/docs/coding.md +++ b/docs/coding.md @@ -15,7 +15,7 @@ docent The work is split in two: -- **The framework** is the engine, the same one behind Smartloop Studio. It takes a prompt with its sources and returns the best answer it can. Its orchestrator picks the model that answers and decides on its own whether to search the web, for code as for anything else. See [Model orchestration](./model-orchestration.md). +- **The framework** is the engine, the same one behind Docent Studio. It takes a prompt with its sources and returns the best answer it can. Its orchestrator picks the model that answers and decides on its own whether to search the web, for code as for anything else. See [Model orchestration](./model-orchestration.md). - **Docent** is the harness around it. It builds the prompt from your folder, then takes the answer apart into files to write, checks to run and commands to run, and sends what happened back to the agent. So the models run on your machine, the same as for documents and chat, and only a web search query ever leaves it. See [Web search](./web-search.md). diff --git a/docs/command-line-tool.md b/docs/command-line-tool.md index 7707cfd..db8145f 100644 --- a/docs/command-line-tool.md +++ b/docs/command-line-tool.md @@ -2,9 +2,9 @@ import ThemedVideo from '@site/src/components/ThemedVideo'; # Docent - Command Line Interface -**Docent**, powered by Smartloop, is your private AI assistant in the terminal: think Claude Code for your personal documents, running 100% locally. Chat with your PDFs and Office files, search the web, connect MCP servers, and set up your own local AI infrastructure: the agent, its models, and your projects. It started as the command line companion to Smartloop Studio and still works alongside it. If no local agent is running, Docent downloads the framework and models it needs and starts one itself. +**Docent**, powered by Smartloop, is your private AI assistant in the terminal: think Claude Code for your personal documents, running 100% locally. Chat with your PDFs and Office files, search the web, connect MCP servers, and set up your own local AI infrastructure: the agent, its models, and your projects. It started as the command line companion to Docent Studio and still works alongside it. If no local agent is running, Docent downloads the framework and models it needs and starts one itself. -It installs as `docent`, and as `smartloop`, its old name, so existing commands and scripts keep working; the two are the same binary. For an overview, see [Docent](/#docent) on the home page. +It installs as `docent`, and as `smartloop`, its old name, so existing commands and scripts keep working; the two are the same binary. For an overview, see the [Docent](/docent) page.
  • Get started
  • Docent
  • +
  • Docent Studio
  • +
  • gpushed
  • Docs
  • diff --git a/src/components/StoreBadge/index.tsx b/src/components/StoreBadge/index.tsx index eaee4ea..f45fa34 100644 --- a/src/components/StoreBadge/index.tsx +++ b/src/components/StoreBadge/index.tsx @@ -267,7 +267,7 @@ export function DirectDownloadButton({ href={path} download className={variantClass(styles.directCta, variant)} - aria-label={`Download Smartloop Studio for ${name} (${format})`} + aria-label={`Download Docent Studio for ${name} (${format})`} > {/* Names the platform, as Cursor's and Claude's hero buttons do: the @@ -313,7 +313,7 @@ export function DirectDownloadBlock({ href={path} download className={variantClass(styles.directBlock, variant)} - aria-label={`Download Smartloop Studio for ${name}${arch ? ` ${ARCH_LABEL[arch]}` : ''} (${size ? `${format}, ${size}` : format})`} + aria-label={`Download Docent Studio for ${name}${arch ? ` ${ARCH_LABEL[arch]}` : ''} (${size ? `${format}, ${size}` : format})`} > @@ -339,7 +339,7 @@ export function SnapStoreButton({ variant = 'primary' }: { variant?: ButtonVaria target="_blank" rel="noopener noreferrer" className={variantClass(styles.directCta, variant)} - aria-label="Get Smartloop Studio for Linux from the Snap Store" + aria-label="Get Docent Studio for Linux from the Snap Store" > Download @@ -355,7 +355,7 @@ export function SnapStoreBlock({ variant = 'primary' }: { variant?: ButtonVarian target="_blank" rel="noopener noreferrer" className={variantClass(styles.directBlock, variant)} - aria-label="Get Smartloop Studio for Linux from the Snap Store" + aria-label="Get Docent Studio for Linux from the Snap Store" > diff --git a/src/pages/company.module.css b/src/pages/company.module.css new file mode 100644 index 0000000..b0b19e6 --- /dev/null +++ b/src/pages/company.module.css @@ -0,0 +1,207 @@ +/* The company page: text-led, one narrow column, like a letter. Colors come + from the site tokens in custom.css, so light and dark both follow. */ + +.page { + max-width: 760px; + margin: 0 auto; + padding: 96px 24px 120px; + font-family: var(--sl-display); + color: var(--sl-fg); +} + +.eyebrow { + margin: 0 0 20px; + font-family: var(--sl-mono); + font-size: 13px; + letter-spacing: 0.08em; + text-transform: uppercase; + color: var(--sl-accent-text); +} + +.title { + margin: 0 0 40px; + font-size: clamp(36px, 6vw, 60px); + line-height: 1.05; + letter-spacing: -0.02em; + font-weight: 600; + color: var(--sl-white); +} + +.accent { + color: var(--sl-accent-text); +} + +.prose p { + margin: 0 0 20px; + font-size: 19px; + line-height: 1.6; +} + +.section { + margin-top: 96px; + padding-top: 40px; + border-top: 1px solid var(--sl-line); +} + +.h2 { + margin: 0 0 32px; + font-family: var(--sl-mono); + font-size: 13px; + font-weight: 500; + letter-spacing: 0.08em; + text-transform: uppercase; + color: var(--sl-dim); +} + +.products { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + gap: 48px; +} + +.product { + display: flex; + gap: 24px; + align-items: flex-start; +} + +.mark { + flex-shrink: 0; + width: 48px; + height: 48px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 12px; + border: 1px solid var(--sl-line); + background: var(--sl-accent-wash); + font-size: 22px; + font-weight: 700; + color: var(--sl-accent-text); +} + +.productBody { + flex: 1; + min-width: 0; +} + +.productName { + margin: 0; + font-size: 26px; + font-weight: 600; + letter-spacing: -0.01em; + color: var(--sl-white); +} + +.tagline { + margin: 4px 0 12px; + font-size: 18px; + color: var(--sl-white); + opacity: 0.85; +} + +.productText { + margin: 0 0 14px; + font-size: 16px; + line-height: 1.6; +} + +.facts { + list-style: none; + margin: 0 0 16px; + padding: 0; + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.facts li { + font-family: var(--sl-mono); + font-size: 11px; + padding: 3px 8px; + border-radius: 4px; + border: 1px solid var(--sl-line); + color: var(--sl-dim); +} + +.cta { + font-size: 15px; + font-weight: 600; + color: var(--sl-accent-text); + text-decoration: none; +} + +.cta:hover { + text-decoration: underline; + color: var(--sl-accent-text); +} + +.principles { + margin: 0; + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 32px 40px; +} + +.principle dt { + margin: 0 0 6px; + font-size: 18px; + font-weight: 600; + color: var(--sl-white); +} + +.principle dd { + margin: 0; + font-size: 16px; + line-height: 1.55; +} + +.signoff { + margin-top: 96px; + padding-top: 40px; + border-top: 1px solid var(--sl-line); + font-size: 17px; + line-height: 1.6; +} + +.signoff p { + margin: 0; +} + +.inlineLink { + color: var(--sl-accent-text); + text-decoration: underline; + text-underline-offset: 3px; +} + +.inlineLink:hover { + color: var(--sl-accent-text); +} + +@media (max-width: 640px) { + .page { + padding: 64px 16px 88px; + } + + .section, + .signoff { + margin-top: 72px; + } + + .product { + gap: 16px; + } + + .mark { + width: 40px; + height: 40px; + font-size: 18px; + } + + .principles { + grid-template-columns: 1fr; + } +} diff --git a/src/pages/download.tsx b/src/pages/download.tsx index 53f1044..5592d3a 100644 --- a/src/pages/download.tsx +++ b/src/pages/download.tsx @@ -235,9 +235,9 @@ export default function Download(): ReactNode {
    Downloads | Smartloop - + - +
    diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a2854a8..0c5848a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,660 +1,166 @@ -import { useState, useEffect, type ReactNode } from 'react'; +import { type ReactNode } from 'react'; import Link from '@docusaurus/Link'; import Head from '@docusaurus/Head'; -import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import Header from '../components/Header'; import Footer from '../components/Footer'; -import useLatestRelease from '../hooks/useLatestRelease'; -import { - DirectDownloadButton, -} from '../components/StoreBadge'; -import DocentInstall from '../components/DocentInstall'; -import useVisitorPlatform from '../hooks/useVisitorPlatform'; -import styles from './home.module.css'; - -function Icon({ name }: { name: string }) { - const props = { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 1.7, strokeLinecap: 'round' as const, strokeLinejoin: 'round' as const }; - switch (name) { - case 'folder': return ; - case 'file': return ; - case 'scan': return ; - case 'spark': return ; - case 'plug': return ; - case 'globe': return ; - case 'code': return ; - case 'check': return ; - case 'download': return ; - case 'arrow': return ; - default: return null; - } -} - -// The open models the orchestrator routes between, and the machines it fits -// them to. Both drift past the hero and the engine panel. -const MODELS = ['Gemma 4', 'Qwen 3.5', 'Qwen2-VL', 'Ministral 3', 'sl-mini', 'Gemma 3', 'Qwen3', 'Phi']; -const HARDWARE = ['Apple Silicon', 'NVIDIA', 'AMD', 'Intel', 'Integrated graphics', 'Windows 11', 'Linux', 'macOS']; - -function Marquee({ items, reverse = false, slow = false }: { items: string[]; reverse?: boolean; slow?: boolean }) { - // Two copies of the row, translated by half: the seam is invisible. - const row = [...items, ...items]; - return ( -
    -
    - {row.map((item, i) => ( - {item} - ))} -
    -
    - ); -} - -type Work = { - key: string; - icon: string; - title: string; - desc: string; - window: string; - badge: string; - rows: { icon: string; label: string; meta: string }[]; +import styles from './company.module.css'; + +// smartloop.ai is the company, the way 37signals sits over Basecamp and HEY: +// the story first, then the products it makes. Each product keeps its own +// page (/docent, /studio) or its own site (gpushed.dev). + +type Product = { + name: string; + mark: string; + tagline: string; + body: string; + facts: string[]; + cta: string; to: string; + external?: boolean; }; -// Each tab drives the mock window beside it. The rows are what that feature -// looks like in Studio, drawn from the docs it links to. -const WORK: Work[] = [ +const PRODUCTS: Product[] = [ { - key: 'documents', - icon: 'folder', - title: 'Documents and projects', - desc: 'Drop PDFs, Office files and scans into a project. They are indexed on your machine and never uploaded; every answer shows the file it came from.', - window: 'Halbrook Wren LLP', - badge: 'indexed', - rows: [ - { icon: 'file', label: 'MSA-2024.pdf', meta: '24 p' }, - { icon: 'file', label: 'Amendment-1.pdf', meta: '6 p' }, - { icon: 'file', label: '2026-DRAFT.docx', meta: '19 p' }, - { icon: 'file', label: 'Mutual-NDA.pdf', meta: '4 p' }, - ], - to: '/docs/documents', + name: 'Docent', + mark: 'D', + tagline: 'The private coding agent for your terminal.', + body: 'Ask for a change and Docent writes it, checks it with your language servers and your build, and hands any errors back to the model until it passes. It chats with your PDFs and Office files too.', + facts: ['macOS · Linux · Windows', 'Open source (MIT)'], + cta: 'Meet Docent', + to: '/docent', }, { - key: 'ocr', - icon: 'scan', - title: 'Scans and OCR', - desc: 'Attach a scan, screenshot or photo and pull structured details out of it. A vision model does the reading, on-device.', - window: 'invoice-0412.jpg', - badge: 'qwen2-vl', - rows: [ - { icon: 'check', label: 'Vendor · Northwind Supply', meta: 'read' }, - { icon: 'check', label: 'Invoice date · 12 Apr 2026', meta: 'read' }, - { icon: 'check', label: 'Total · $4,180.00', meta: 'read' }, - { icon: 'check', label: 'Terms · net 30', meta: 'read' }, - ], - to: '/docs/documents', + name: 'Docent Studio', + mark: 'S', + tagline: 'A private desktop app for local AI.', + body: 'Chat with your documents, connect MCP servers and add skills, with the models picked and sized for your machine. Nothing to configure and no account needed.', + facts: ['macOS · Linux · Windows', 'Open source (Apache 2.0)'], + cta: 'Meet Docent Studio', + to: '/studio', }, { - key: 'skills', - icon: 'spark', - title: 'Skills', - desc: 'Pack the work you repeat into a skill — a markdown file the assistant runs. Type / in the prompt to start one.', - window: 'Skills', - badge: '/ to run', - rows: [ - { icon: 'spark', label: '/issues-list', meta: 'review' }, - { icon: 'spark', label: '/version-compare', meta: 'review' }, - { icon: 'spark', label: '/weekly-summary', meta: 'report' }, - { icon: 'spark', label: '/draft-notice', meta: 'draft' }, - ], - to: '/docs/skills', - }, - { - key: 'connections', - icon: 'plug', - title: 'Connections', - desc: 'Reach outside tools through MCP. Notion, Linear, Trello, monday.com and Canva connect in one click; any other server by URL.', - window: 'Connections', - badge: 'mcp', - rows: [ - { icon: 'plug', label: 'Notion', meta: 'connected' }, - { icon: 'plug', label: 'Linear', meta: 'connected' }, - { icon: 'plug', label: 'Trello', meta: 'one click' }, - { icon: 'plug', label: 'Custom server', meta: 'by url' }, - ], - to: '/docs/mcp-servers', - }, - { - key: 'search', - icon: 'globe', - title: 'Web search', - desc: 'Bring current sources into an answer. Only the query leaves your machine; local models read the pages and cite them.', - window: 'Sources', - badge: 'query only', - rows: [ - { icon: 'globe', label: 'Your documents', meta: '3 files' }, - { icon: 'globe', label: 'Web results', meta: '5 sites' }, - { icon: 'globe', label: 'Read and answered', meta: 'on-device' }, - { icon: 'globe', label: 'Sent off-device', meta: 'query' }, - ], - to: '/docs/web-search', - }, - { - key: 'api', - icon: 'code', - title: 'Local API', - desc: 'An OpenAI-compatible endpoint on localhost for creating projects, uploading documents and wiring Smartloop into your own apps.', - window: 'localhost', - badge: 'openai-compatible', - rows: [ - { icon: 'code', label: 'POST /v1/chat/completions', meta: '200' }, - { icon: 'code', label: 'POST /v1/projects', meta: '201' }, - { icon: 'code', label: 'POST /v1/documents', meta: '201' }, - { icon: 'code', label: 'GET /v1/models', meta: '200' }, - ], - to: '/docs/local-ai', + name: 'gpushed', + mark: 'G', + tagline: 'Your own NVIDIA GPU, from your Mac.', + body: 'Sign in, add credit and get a GPU box with CUDA, Python, Node.js and Rust ready in a few minutes. No cloud account or quota requests. Billed by the second; delete it when you’re done.', + facts: ['Apple silicon Macs', 'From $0.88 an hour'], + cta: 'Visit gpushed.dev', + to: 'https://gpushed.dev', + external: true, }, ]; -// Drawn from the legal starter's own documents (starters/gen_docs.py), so the -// panel shows what the download actually answers. -const legal = { - run: { - project: 'Halbrook Wren LLP', - prompt: 'compare the 2026 draft with the current MSA', - rows: [ - ['Termination', '60 days, no fee', '90 days + 50% fee', true], - ['Liability cap', '12 months of fees', '6 months of fees', true], - ['Change of control', '§4.3 exit right', 'deleted', true], - ['Non-renewal notice', '120 days', '120 days', false], - ] as [string, string, string, boolean][], - refs: ['MSA-2024.pdf', 'Amendment-1.pdf', '2026-DRAFT.docx'], - }, - points: [ - ['Five agreements.', 'A services agreement with its amendment and 2026 renewal draft, a mutual NDA, and a one-sided supply agreement.'], - ['Issues list.', 'A first-pass review against a checklist — term, termination, liability, assignment — quoting each clause by section.'], - ['Version compare.', 'What changed between the signed agreement and the draft, clause by clause.'], - ] as [string, string][], - models: [ - ['vision', 'qwen2-vl-2b'], - ['document processing', 'ministral3-3b'], - ['reasoning', 'qwen3.5-2b'], - ] as [string, string][], - starter: { href: '/starters/Halbrook-Wren-LLP.zip', size: '80 KB' }, -}; - -const steps = [ - ['Install', 'One installer for your platform, straight from us. On first launch it checks your memory and GPU and fits the models to them.'], - ['Bring your documents', 'Make a project and drop in your files. They are indexed on your machine. Nothing uploads.'], - ['Ask', 'The orchestrator splits the request and routes each step to the open model built for it. You never pick one.'], - ['Take it to the terminal', 'docent runs the same agent, models and projects from your shell, your scripts or over SSH.'], +const PRINCIPLES: { title: string; body: string }[] = [ + { title: 'Local first.', body: 'Your files and prompts stay on your machine unless you choose otherwise.' }, + { title: 'Opinionated.', body: 'We pick and tune the models so you don’t have to learn the difference.' }, + { title: 'Small and sharp.', body: 'Each product does one job, and does it well.' }, + { title: 'Open where it counts.', body: 'Docent and Docent Studio are open source. Read the code that runs on your computer.' }, ]; -const docs = [ - { to: '/docs/intro', title: 'Introduction', desc: 'Overview of Smartloop and what it can do for you.' }, - { to: '/docs/getting-started', title: 'Getting Started', desc: 'Install Smartloop and run your first local AI session.' }, - { to: '/docs/model-orchestration', title: 'Model Orchestration', desc: 'See how Smartloop routes each task to the right on-device model.' }, - { to: '/docs/skills', title: 'Skills', desc: 'Extend your project with agent skills.' }, - { to: '/docs/mcp-servers', title: 'Connections', desc: 'Connect external tools and services to your AI.' }, - { to: '/docs/local-ai', title: 'Local AI', desc: 'Create AI tools and integrations.' }, -]; - -const faqs = [ - { - q: 'What is Smartloop?', - a: 'Smartloop is a local AI assistant that runs entirely on your own machine. You install it and start asking; there are no models to choose, nothing to configure, and no account to create. It reads your documents, connects to your tools, and generates content without sending your data anywhere.', - }, - { - q: 'How does Smartloop work?', - a: 'Smartloop breaks each request into smaller tasks and routes them to the best on-device model. We curate the models it ships with — open small language models including Google’s Gemma family (such as Gemma 3) and Qwen2-VL for vision — and its orchestration model (sl-mini) picks the right one by capability and workload. You never see that choice; you just get the answer.', - }, - { - q: 'Do I need to pick a model or configure anything?', - a: 'No. That is the point. There are hundreds of open models, each with its own file formats, quantizations, and memory requirements, and most people have no reason to learn the difference. Smartloop is opinionated: we curate the models, size them to your machine on first launch, and swap in better ones as they land. There is nothing to choose or configure.', - }, - { - q: 'Is Smartloop free?', - a: 'Yes, Smartloop is free to use, with models that are regularly updated to handle most everyday tasks efficiently. No account or credit card is needed, and it stays free for organizations running it at scale. The one metered part is AI search, which runs through us: every account gets a monthly allowance of searches, and you can buy more from your dashboard. If you want a hand getting it running, you can contact us to set it up and get it working on your data — on-premise deployment, tuning for your use case, rollout across your team, and a dedicated point of contact. Reach us at support@smartloop.ai.', - }, - { - q: 'Is my data private and offline?', - a: 'Yes. Smartloop runs models on-device, so your documents and conversations stay on your machine, and it works offline for most everyday tasks. AI search is the exception: it sends only a search query to find current web information, never your documents or conversation, and you can turn it off per project. Smartloop sizes the models it runs to the memory your machine has. The minimum is an Apple Silicon Mac (M3 or newer) with 16 GB of unified memory, or a Windows 11 / Linux machine with 16 GB of RAM and a Vulkan-capable GPU — integrated Intel, AMD, or NVIDIA graphics all qualify, and the Vulkan runtime ships with the app. More memory is better.', - }, -]; +const DESCRIPTION = 'Smartloop makes private software that runs on the computer you already own: Docent, Docent Studio and gpushed.'; export default function Home(): ReactNode { - const { siteConfig } = useDocusaurusContext(); - const studioPlatform = useVisitorPlatform(); - const [work, setWork] = useState(0); - const { release } = useLatestRelease(); - // Latest Docent CLI version, baked in at build time (docusaurus.config.ts). - const docentVersion = siteConfig.customFields?.docentVersion as string | null | undefined; - - // One path on every platform: our own installer, routed through the tracked - // redirect on the API, which ships as soon as a release is published. No - // store links — the redirect resolves the latest build itself, so the button - // needs nothing from the release fetch. - const heroCta: ReactNode = studioPlatform && studioPlatform !== 'unknown' ? : null; - - useEffect(() => { - if (typeof window === 'undefined') return; - const params = new URLSearchParams(window.location.search); - const utmKeys = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']; - utmKeys.forEach((key) => { - const value = params.get(key); - if (value) { - sessionStorage.setItem(key, value); - } - }); - }, []); - - const jsonLd = { + const orgJsonLd = { '@context': 'https://schema.org', - '@type': 'SoftwareApplication', - name: 'Smartloop', - applicationCategory: 'DeveloperApplication', - operatingSystem: 'macOS, Linux, Windows', - description: 'A local AI assistant that runs on the machine you already own. Curated open models chosen and tuned for you — nothing to pick, nothing to configure. Read documents and scans, connect MCP tools, and create skills while your models and data stay on-device.', + '@type': 'Organization', + name: 'Smartloop Inc.', url: 'https://smartloop.ai', - offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' }, - author: { '@type': 'Organization', name: 'Smartloop Inc.', url: 'https://smartloop.ai' }, - }; - - const faqJsonLd = { - '@context': 'https://schema.org', - '@type': 'FAQPage', - mainEntity: faqs.map((item) => ({ - '@type': 'Question', - name: item.q, - acceptedAnswer: { '@type': 'Answer', text: item.a }, - })), + logo: 'https://smartloop.ai/img/logo-dark.svg', + description: DESCRIPTION, + brand: PRODUCTS.map((p) => ({ '@type': 'Brand', name: p.name })), }; - const active = WORK[work]; - return (
    - Smartloop | Frontier quality. Local first. - - - + Smartloop | Private software for the computer you already own + + + - - +
    - {/* ── Hero ───────────────────────────────────────── */} -
    -