fix(landing): sync first-run narrative

This commit is contained in:
ZacharyZhang-NY committed 2026-04-22 15:30:10 -04:00
1 parent f8ed2aa666
commit e3eb45b08d
8 files changed
+526 -79

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# AgentCompany Landing
Next.js landing page for the AgentCompany desktop release lane.
## Copy Sources
| Surface | Source |
|---|---|
| Download cards | `landing/components/release-links.generated.ts` |
| Platform FAQ | `landing/lib/platform-support.ts` |
| Hero, How It Works, software JSON-LD features | `landing/lib/product-narrative.ts` |
| Runtime download URLs | generated from `scripts/generate-landing-release-links.mjs` |
The public story mirrors the first-run desktop flow: Welcome, Requirements, Providers, Company, Team Models, Mode, Mission, Launch.
+16 -36
View File
@@ -1,6 +1,10 @@
import type { Metadata } from "next";
import "./globals.css";
import { ThemeProvider } from "../components/theme-provider";
import {
landingHowItWorksNarrative,
landingStructuredDataNarrative,
} from "../lib/product-narrative";
import { platformSupportSummary } from "../lib/platform-support";
const description =
@@ -8,7 +12,7 @@ const description =
export const metadata: Metadata = {
metadataBase: new URL("https://agent-company.dev"),
title: "AgentCompany — Launch an Autonomous AI Company in Minutes",
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
description,
keywords: [
"AI company",
@@ -32,7 +36,7 @@ export const metadata: Metadata = {
"AI company builder",
],
openGraph: {
title: "AgentCompany — Launch an Autonomous AI Company in Minutes",
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
description,
url: "https://agent-company.dev/",
siteName: "AgentCompany",
@@ -49,7 +53,7 @@ export const metadata: Metadata = {
},
twitter: {
card: "summary_large_image",
title: "AgentCompany — Launch an Autonomous AI Company in Minutes",
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
description,
images: ["/screenshots/Dashboard.jpeg"],
},
@@ -76,19 +80,9 @@ const softwareJsonLd = {
url: "https://agent-company.dev",
downloadUrl: "https://agent-company.dev/#download",
screenshot: "https://agent-company.dev/screenshots/Dashboard.jpeg",
datePublished: "2026-03-01",
softwareVersion: "1.0",
softwareVersion: landingStructuredDataNarrative.softwareVersion,
description,
featureList: [
"One-click AI company creation",
"Self-organizing AI agent teams",
"Autonomous task management",
"Real-time agent communication",
"Human-in-the-loop approvals",
"AI document generation",
"Multi-connector support (Claude, Codex, Gemini)",
"Cross-platform (macOS, Windows, Linux)",
],
featureList: landingStructuredDataNarrative.featureList,
author: { "@type": "Organization", name: "AgentCompany", url: "https://agent-company.dev" },
};
@@ -104,27 +98,13 @@ const howToJsonLd = {
"@context": "https://schema.org",
"@type": "HowTo",
name: "How to Launch an Autonomous AI Company with AgentCompany",
description: "Create a fully autonomous AI company in three steps using the AgentCompany desktop app.",
step: [
{
"@type": "HowToStep",
position: 1,
name: "Set Your Goal",
text: "Describe the company, its mission, and what you want delivered. Connect your preferred AI runtime.",
},
{
"@type": "HowToStep",
position: 2,
name: "Agents Self-Organize",
text: "A CEO agent analyzes your goal, hires specialists, creates departments, and delegates the work autonomously.",
},
{
"@type": "HowToStep",
position: 3,
name: "Collect Results",
text: "Review deliverables, approve critical decisions, and download finished work including code, content, and research.",
},
],
description: "Complete the AgentCompany desktop first-run flow and queue the first mission.",
step: landingHowItWorksNarrative.steps.map((step) => ({
"@type": "HowToStep",
position: step.number,
name: step.title,
text: step.description,
})),
};
const faqJsonLd = {
+6 -6
View File
@@ -2,6 +2,7 @@
import { motion } from "framer-motion";
import { AsciiBackground } from "./ascii-background";
import { landingHeroNarrative } from "../lib/product-narrative";
const sharedEase: [number, number, number, number] = [0.16, 1, 0.3, 1];
@@ -54,7 +55,7 @@ export function Hero() {
<div className="flex flex-col items-center text-center">
<motion.div {...heroMotion(0.05)}>
<span className="inline-flex items-center px-4 py-1.5 rounded-full text-xs font-semibold tracking-wide bg-[var(--accent-soft)] text-[var(--accent)] dark:text-[var(--muted-strong)] border border-[var(--border)]">
Agent Company
{landingHeroNarrative.eyebrow}
</span>
</motion.div>
@@ -62,16 +63,15 @@ export function Hero() {
{...heroMotion(0.15)}
className="mt-8 font-serif text-[clamp(2.75rem,2rem+3.8vw,5rem)] font-normal leading-[1.0] tracking-[-0.03em] text-[var(--text)]"
>
Launch an AI Company <br className="hidden sm:block" />
<span className="text-[var(--accent)]">in Minutes</span>
{landingHeroNarrative.titleLine1} <br className="hidden sm:block" />
<span className="text-[var(--accent)]">{landingHeroNarrative.titleLine2}</span>
</motion.h1>
<motion.p
{...heroMotion(0.25)}
className="mt-7 max-w-2xl text-lg sm:text-xl leading-relaxed text-[var(--muted)]"
>
Describe your company&apos;s mission. A CEO agent recruits the team, delegates work, and delivers real
results — code, content, research, and more. You&apos;re the founder.
{landingHeroNarrative.description}
</motion.p>
<motion.div {...heroMotion(0.35)} className="mt-12">
@@ -104,7 +104,7 @@ export function Hero() {
<WindowsIcon />
<LinuxIcon />
</div>
<span>Available on macOS, Windows & Linux</span>
<span>{landingHeroNarrative.availability}</span>
</motion.div>
</div>
+11 -34
View File
@@ -2,32 +2,19 @@
import { motion, useInView } from "framer-motion";
import { useEffect, useRef, useState } from "react";
import { landingHowItWorksNarrative } from "../lib/product-narrative";
const demoMessages = [
{ agent: "You", role: "system", text: "Build a SaaS landing page with pricing, blog, and auth.", delay: 0 },
{ agent: "CEO", role: "ceo", text: "Analyzing goal... Creating departments: Engineering, Design, Content.", delay: 800 },
{ agent: "CEO", role: "ceo", text: "Hiring 4 specialists for this mission.", delay: 1600 },
{ agent: "Lead Engineer", role: "engineer", text: "Picked up task: Set up Next.js project with auth routes.", delay: 2400 },
{ agent: "UI Designer", role: "designer", text: "Picked up task: Design landing page and pricing components.", delay: 3000 },
{ agent: "Researcher", role: "researcher", text: "Picked up task: Competitive analysis of SaaS pricing models.", delay: 3600 },
{ agent: "Lead Engineer", role: "engineer", text: "Completed: Auth scaffolding with JWT + session middleware.", delay: 4400 },
{ agent: "UI Designer", role: "designer", text: "Completed: Responsive landing page with 3-tier pricing grid.", delay: 5200 },
{ agent: "CEO", role: "ceo", text: "All tasks delivered. 3 documents ready for review.", delay: 6000 },
];
const demoMessages = landingHowItWorksNarrative.demoMessages;
const logTone: Record<(typeof demoMessages)[number]["role"], string> = {
system: "text-[var(--muted-strong)]",
ceo: "text-[#ca8a04]",
engineer: "text-[var(--accent)]",
designer: "text-[#8b5cf6]",
researcher: "text-[#059669]",
};
const steps = [
{ number: 1, title: "Set Your Goal", description: "Describe the company, its mission, and what you want delivered." },
{ number: 2, title: "Agents Self-Organize", description: "A CEO analyzes your goal, hires specialists, and delegates the work." },
{ number: 3, title: "Collect Results", description: "Review deliverables, approve decisions, and download finished work." },
];
const dotTone: Record<(typeof demoMessages)[number]["role"], string> = {
system: "bg-[var(--muted-strong)]",
};
const steps = landingHowItWorksNarrative.steps;
function DemoPanel() {
const anchorRef = useRef<HTMLDivElement | null>(null);
@@ -72,17 +59,7 @@ function DemoPanel() {
>
<span className={`shrink-0 font-semibold inline-flex items-center gap-1.5 ${logTone[message.role]}`}>
<span
className={`w-1.5 h-1.5 rounded-full ${
message.role === "system"
? "bg-[var(--muted-strong)]"
: message.role === "ceo"
? "bg-[#ca8a04]"
: message.role === "engineer"
? "bg-[var(--accent)]"
: message.role === "designer"
? "bg-[#8b5cf6]"
: "bg-[#059669]"
}`}
className={`w-1.5 h-1.5 rounded-full ${dotTone[message.role]}`}
aria-hidden="true"
/>
{message.agent}
@@ -106,7 +83,7 @@ function DemoPanel() {
<path d="m9 12 2 2 4-4" />
<circle cx="12" cy="12" r="10" />
</svg>
<span className="font-semibold">Company run complete. All deliverables ready.</span>
<span className="font-semibold">{landingHowItWorksNarrative.completionText}</span>
</motion.div>
)}
@@ -126,7 +103,7 @@ export function HowItWorks() {
How It Works
</p>
<h2 className="font-serif text-[clamp(2rem,1.5rem+2.5vw,3.25rem)] tracking-[-0.01em] text-[var(--text)]">
Watch a Company Come to Life
{landingHowItWorksNarrative.heading}
</h2>
</div>
@@ -134,7 +111,7 @@ export function HowItWorks() {
<div className="lg:col-span-2 relative">
<div className="absolute left-[15px] top-10 bottom-4 w-px bg-[var(--border)] hidden lg:block" aria-hidden="true" />
<div className="space-y-10">
<div className="space-y-7">
{steps.map((step, index) => (
<motion.div
key={step.number}
+80
View File
@@ -0,0 +1,80 @@
import { releaseVersion } from "../components/release-links.generated";
export const landingHeroNarrative = {
eyebrow: "AgentCompany Desktop",
titleLine1: "Launch an Autonomous AI Company",
titleLine2: "from Your Desktop",
description:
"Run AI CEO by default, switch to AI Co-Founder for human-reviewed decisions, and launch the first mission from a local desktop setup.",
availability: "Available on macOS, Windows, and Linux",
} as const;
export const onboardingFlowNarrative = {
prelude: "Welcome",
sections: [
{
number: 1,
title: "Requirements",
description: "Check Node.js because CLI runtimes call the local API through node -e.",
},
{
number: 2,
title: "Providers",
description: "Connect at least one runtime before company creation continues.",
},
{
number: 3,
title: "Company",
description: "Enter company name, description, and workspace.",
},
{
number: 4,
title: "Team Models",
description: "Enable the models available to the CEO and workers.",
},
{
number: 5,
title: "Mode",
description: "Use AI CEO by default, or choose AI Co-Founder for human-reviewed decisions.",
},
{
number: 6,
title: "Mission",
description: "Capture the first goal and acceptance description.",
},
{
number: 7,
title: "Launch",
description: "Create the company, CEO agent, workspace, kickoff task, and initial run handoff.",
},
],
} as const;
export const landingHowItWorksNarrative = {
heading: "Follow the Desktop First-Run Flow",
steps: onboardingFlowNarrative.sections,
completionText: "Initial run queued. Open Control Center.",
demoMessages: [
{ agent: "Requirements", role: "system", text: "Node.js ready. CLI runtimes can call the local API.", delay: 0 },
{ agent: "Providers", role: "system", text: "Runtime connected.", delay: 700 },
{ agent: "Company", role: "system", text: "Company profile and workspace saved.", delay: 1400 },
{ agent: "Team Models", role: "system", text: "Model pool enabled for CEO and workers.", delay: 2100 },
{ agent: "Mode", role: "system", text: "AI CEO mode selected.", delay: 2800 },
{ agent: "Mission", role: "system", text: "First goal and acceptance description captured.", delay: 3500 },
{ agent: "Launch", role: "system", text: "Company, CEO agent, kickoff task, and initial run created.", delay: 4400 },
],
} as const;
export const landingStructuredDataNarrative = {
softwareVersion: releaseVersion,
featureList: [
"Guided first-run setup",
"Node.js readiness check for CLI runtimes",
"Provider connection and model-pool selection",
"Multi-connector support (Claude Code, Codex CLI, Gemini CLI)",
"AI CEO autonomous operating mode",
"AI Co-Founder human-reviewed operating mode",
"Local-first SQLite storage",
"Cross-platform desktop releases for macOS, Windows, and Linux",
],
};