Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
feat: add a founder call link and refresh the auth screen (#1654)
Aman Agarwal88ff0b54ab12
diff --git a/src/client/src/app/layout.tsx b/src/client/src/app/layout.tsxindex 00cf5eb9..1177a539 100644--- a/src/client/src/app/layout.tsx+++ b/src/client/src/app/layout.tsx@@ -13,9 +13,9 @@ const inter = localFont({});export const metadata: Metadata = {- title: "OpenLIT | Open Source Observability for LLMs",+ title: "OpenLIT | Open source Agent Harness Engineering",description:- "Open-source tool for tracking and analyzing usage patterns of Large Language Models (LLMs).",+ "Open-source Agent Harness Engineering platform for LLM tracing, evaluations, prompt management, and cost tracking.",};export default function RootLayout({diff --git a/src/client/src/components/(auth)/auth-details-carousel.tsx b/src/client/src/components/(auth)/auth-details-carousel.tsxindex 129ac5de..4c121562 100644--- a/src/client/src/components/(auth)/auth-details-carousel.tsx+++ b/src/client/src/components/(auth)/auth-details-carousel.tsx@@ -1,82 +1,82 @@import Image from "next/image";import getMessage from "@/constants/messages";import {- BarChart3,- BrainCircuit,- FlaskConical,- GitCompare,- Lock,+ Activity,+ Bot,+ CircleDollarSign,+ KeyRound,MessageSquareText,- Search,- Shield,- Sparkles,- Zap,+ MonitorCog,} from "lucide-react";-const featureIcons = [Search, BarChart3, Shield, BrainCircuit, GitCompare, MessageSquareText, FlaskConical, Lock, Zap, Sparkles];+const featureIcons = [+ Activity,+ MonitorCog,+ MessageSquareText,+ Bot,+ KeyRound,+ CircleDollarSign,+];-const featureKeys: Array<{ title: keyof ReturnType<typeof getMessage>; desc: keyof ReturnType<typeof getMessage> }> = [+const featureKeys = [{ title: "AUTH_FEATURE_TRACING", desc: "AUTH_FEATURE_TRACING_DESC" },- { title: "AUTH_FEATURE_ANALYTICS", desc: "AUTH_FEATURE_ANALYTICS_DESC" },{ title: "AUTH_FEATURE_EVALS", desc: "AUTH_FEATURE_EVALS_DESC" },- { title: "AUTH_FEATURE_JUDGE", desc: "AUTH_FEATURE_JUDGE_DESC" },- { title: "AUTH_FEATURE_OPENGROUND", desc: "AUTH_FEATURE_OPENGROUND_DESC" },{ title: "AUTH_FEATURE_PROMPT_HUB", desc: "AUTH_FEATURE_PROMPT_HUB_DESC" },- { title: "AUTH_FEATURE_RULE_ENGINE", desc: "AUTH_FEATURE_RULE_ENGINE_DESC" },- { title: "AUTH_FEATURE_VAULT", desc: "AUTH_FEATURE_VAULT_DESC" },{ title: "AUTH_FEATURE_AGENTS", desc: "AUTH_FEATURE_AGENTS_DESC" },- { title: "AUTH_FEATURE_OTEL", desc: "AUTH_FEATURE_OTEL_DESC" },-];+ { title: "AUTH_FEATURE_VAULT", desc: "AUTH_FEATURE_VAULT_DESC" },+ { title: "AUTH_FEATURE_ANALYTICS", desc: "AUTH_FEATURE_ANALYTICS_DESC" },+] as const;export default function AuthDetailsCarousel() {const messages = getMessage();return (- <div className="relative hidden lg:flex flex-col justify-between bg-primary/[0.05] dark:bg-stone-950 p-10">- {/* Logo */}- <div className="flex items-center gap-3">+ <div className="relative hidden min-h-screen flex-col justify-between overflow-hidden bg-stone-950 p-10 text-stone-100 lg:flex xl:p-14">+ <div+ aria-hidden+ className="pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_top_left,rgba(243,108,6,0.22),transparent_58%)]"+ />+ <div className="relative flex items-center gap-3"><Imagesrc="/images/logo.png"- alt="OpenLIT"- width="40"- height="40"+ alt=""+ width="32"+ height="32"className="object-cover"/>- <span className="text-lg font-bold text-stone-900 dark:text-stone-100">- OpenLIT- </span>+ <span className="text-base font-semibold tracking-tight">OpenLIT</span></div>- {/* Feature Grid */}- <div className="flex-1 flex items-center justify-center">- <div className="grid grid-cols-2 gap-4 max-w-lg w-full">- {featureKeys.map((feature, i) => {- const Icon = featureIcons[i];+ <div className="relative max-w-full">+ <p className="text-xs font-medium uppercase tracking-[0.18em] text-primary">+ {messages.AUTH_PANEL_EYEBROW}+ </p>+ <h2 className="mt-4 text-3xl font-semibold tracking-tight text-white xl:text-4xl">+ {messages.AUTH_PANEL_TITLE}+ </h2>+ <p className="mt-4 text-sm leading-6 text-stone-400">+ {messages.AUTH_PANEL_BODY}+ </p>+ <ul className="mt-10 space-y-5">+ {featureKeys.map((feature, index) => {+ const Icon = featureIcons[index];return (- <div- key={feature.title}- className="flex items-start gap-3 p-3 rounded-lg bg-white/60 dark:bg-stone-900/50 border border-stone-200/50 dark:border-stone-800/50"- >- <div className="shrink-0 mt-0.5 p-1.5 rounded-md bg-primary/10 dark:bg-primary/20">- <Icon className="h-4 w-4 text-primary" />- </div>+ <li key={feature.title} className="flex items-start gap-3">+ <Icon className="mt-0.5 size-4 shrink-0 text-primary" /><div className="min-w-0">- <p className="text-sm font-medium text-stone-900 dark:text-stone-100 leading-tight">- {messages[feature.title] as string}+ <p className="text-sm font-medium text-stone-100">+ {messages[feature.title]}</p>- <p className="text-xs text-stone-500 dark:text-stone-400 mt-0.5 leading-snug">- {messages[feature.desc] as string}+ <p className="mt-0.5 text-sm leading-5 text-stone-400">+ {messages[feature.desc]}</p></div>- </div>+ </li>);})}- </div>+ </ul></div>- {/* Footer */}- <p className="text-xs text-stone-500 dark:text-stone-400 text-center">- {messages.AUTH_FOOTER}- </p>+ <p className="relative text-xs text-stone-500">{messages.AUTH_FOOTER}</p></div>);}diff --git a/src/client/src/components/(auth)/auth-form-container.tsx b/src/client/src/components/(auth)/auth-form-container.tsxindex 00609e2c..cabecd08 100644--- a/src/client/src/components/(auth)/auth-form-container.tsx+++ b/src/client/src/components/(auth)/auth-form-container.tsx@@ -1,10 +1,47 @@"use client";-import { MoveRightIcon } from "lucide-react";-import { GithubIcon } from "lucide-react";-import { Button } from "../ui/button";-import Link from "next/link";-import Confetti from "../common/confetti";+import type { ReactNode } from "react";+import { BookOpen, GithubIcon, Phone } from "lucide-react";+import Image from "next/image";import getMessage from "@/constants/messages";+import { FOUNDER_SCHEDULE_URL } from "@/constants/external-links";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";++const authActionClassName =+ "inline-flex h-10 w-full items-center justify-center rounded-md border border-stone-200 bg-stone-50 text-stone-700 transition-colors hover:bg-stone-100 hover:text-stone-950 dark:border-stone-700 dark:bg-stone-900 dark:text-stone-200 dark:hover:bg-stone-800";++function AuthIconLink({+ href,+ label,+ children,+}: {+ href: string;+ label: string;+ children: ReactNode;+}) {+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <a+ href={href}+ target="_blank"+ rel="noopener noreferrer"+ aria-label={label}+ className={authActionClassName}+ >+ {children}+ </a>+ </TooltipTrigger>+ <TooltipContent side="bottom" className="text-xs">+ <p>{label}</p>+ </TooltipContent>+ </Tooltip>+ );+}export default function AuthFormContainer({children,@@ -13,41 +50,52 @@ export default function AuthFormContainer({}) {const m = getMessage();return (- <div className="flex flex-col justify-center p-8 lg:p-16 bg-stone-50 dark:bg-stone-900 relative">- <Confetti />- <div className="flex flex-col w-full max-w-sm mx-auto gap-12 z-10">- <div className="text-center">- <h1 className="text-4xl font-bold tracking-tight text-primary">+ <div className="relative flex min-h-screen flex-col justify-center overflow-hidden bg-stone-100 px-6 py-12 dark:bg-stone-900 sm:px-10">+ <div+ aria-hidden+ className="pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,rgba(243,108,6,0.12),transparent_52%)]"+ />+ <div className="relative mx-auto flex w-full max-w-lg flex-col rounded-xl border border-stone-200 bg-white p-8 shadow-sm dark:border-stone-800 dark:bg-stone-950">+ <div className="mb-8 flex items-center gap-2.5 lg:hidden">+ <Image+ src="/images/logo.png"+ alt=""+ width="28"+ height="28"+ className="object-cover"+ />+ <span className="text-sm font-semibold text-stone-900 dark:text-stone-100">+ OpenLIT+ </span>+ </div>+ <div>+ <h1 className="text-2xl font-semibold tracking-tight text-stone-950 dark:text-stone-50">{m.AUTH_WELCOME}</h1>- <p className="text-stone-600 dark:text-stone-400">+ <p className="mt-2 text-sm leading-6 text-stone-500 dark:text-stone-400">{m.AUTH_SUBTITLE}</p></div>- {children}- <div className="grid grid-cols-2 text-center text-sm">- <Link- href={"https://github.com/openlit/openlit"}- target="_blank"- className="w-full"- >- <Button- className={`w-full rounded-full gap-2 font-bold bg-stone-900 text-stone-50 hover:bg-stone-900/90 dark:bg-stone-300 dark:text-stone-700 dark:hover:bg-stone-300/90`}+ <div className="mt-8">{children}</div>+ <TooltipProvider>+ <div className="mt-8 grid grid-cols-3 gap-2 border-t border-stone-200 pt-6 dark:border-stone-800">+ <AuthIconLink href={FOUNDER_SCHEDULE_URL} label={m.TALK_TO_FOUNDER}>+ <Phone className="size-4" />+ </AuthIconLink>+ <AuthIconLink+ href="https://github.com/openlit/openlit"+ label={m.AUTH_GITHUB}>- {m.AUTH_GITHUB}- <GithubIcon className="ml-2 w-4" />- </Button>- </Link>- <Link- href="https://docs.openlit.io/latest/overview"- target="_blank"- >- <Button variant={"ghost"} className="hover:bg-stone-100 hover:text-stone-900 dark:hover:bg-stone-800 dark:hover:text-stone-100 dark:text-stone-300">- <b>{m.AUTH_DOCUMENTATION}</b>- <MoveRightIcon className="ml-2 h-5 w-5" />- </Button>- </Link>- </div>+ <GithubIcon className="size-4" />+ </AuthIconLink>+ <AuthIconLink+ href="https://docs.openlit.io/latest/overview"+ label={m.AUTH_DOCUMENTATION}+ >+ <BookOpen className="size-4" />+ </AuthIconLink>+ </div>+ </TooltipProvider></div></div>);diff --git a/src/client/src/components/(auth)/auth-form.tsx b/src/client/src/components/(auth)/auth-form.tsxindex b6858abb..23f57c3c 100644--- a/src/client/src/components/(auth)/auth-form.tsx+++ b/src/client/src/components/(auth)/auth-form.tsx@@ -146,9 +146,7 @@ export function AuthForm({ type }: { type: "login" | "register" }) {}return (- <div className="mx-auto grid gap-6 w-[350px] text-stone-900 dark:text-stone-100">- <div className="grid gap-2 text-center">- </div>+ <div className="grid w-full gap-6 text-stone-900 dark:text-stone-100">{error && <SignInError error={error} />}{/* Google Sign-in Button */}@@ -158,7 +156,7 @@ export function AuthForm({ type }: { type: "login" | "register" }) {variant="outline"onClick={handleGoogleSignIn}disabled={isGoogleLoading}- className="w-full bg-white dark:bg-stone-900 text-stone-900 dark:text-stone-100 border-stone-200 dark:border-stone-700 hover:bg-stone-50 dark:hover:bg-stone-800 rounded-full hover:text-stone-900 dark:hover:text-stone-100"+ className="w-full bg-white dark:bg-stone-900 text-stone-900 dark:text-stone-100 border-stone-200 dark:border-stone-700 hover:bg-stone-50 dark:hover:bg-stone-800 rounded-md hover:text-stone-900 dark:hover:text-stone-100">{isGoogleLoading ? (m.AUTH_SIGNING_IN@@ -186,7 +184,7 @@ export function AuthForm({ type }: { type: "login" | "register" }) {variant="outline"onClick={handleGithubSignIn}disabled={isGithubLoading}- className="w-full bg-white dark:bg-stone-900 text-stone-900 dark:text-stone-100 border-stone-200 dark:border-stone-700 hover:bg-stone-50 dark:hover:bg-stone-800 rounded-full hover:text-stone-900 dark:hover:text-stone-100"+ className="w-full bg-white dark:bg-stone-900 text-stone-900 dark:text-stone-100 border-stone-200 dark:border-stone-700 hover:bg-stone-50 dark:hover:bg-stone-800 rounded-md hover:text-stone-900 dark:hover:text-stone-100">{isGithubLoading ? (m.AUTH_SIGNING_IN@@ -216,7 +214,7 @@ export function AuthForm({ type }: { type: "login" | "register" }) {<span className="w-full border-t border-stone-300 dark:border-stone-700" /></div><div className="relative flex justify-center text-xs uppercase">- <span className="bg-stone-50 dark:bg-stone-900 px-2 text-stone-500 dark:text-stone-400">{m.AUTH_OR}</span>+ <span className="bg-white dark:bg-stone-950 px-2 text-stone-500 dark:text-stone-400">{m.AUTH_OR}</span></div></div>)@@ -255,13 +253,13 @@ export function AuthForm({ type }: { type: "login" | "register" }) {</div><Buttontype="submit"- className="w-full bg-primary dark:bg-primary text-white dark:text-white hover:bg-primary/90 dark:hover:bg-primary/90 rounded-full"+ className="w-full rounded-md bg-primary text-white hover:bg-primary/90 dark:bg-primary dark:text-white dark:hover:bg-primary/90">{type === "login" ? m.AUTH_SIGN_IN : m.AUTH_SIGN_UP}</Button></div></form>- <div className="text-center text-sm">+ <div className="text-sm text-stone-600 dark:text-stone-400">{type === "login"? `${m.AUTH_NO_ACCOUNT} `: m.AUTH_HAVE_ACCOUNT}{" "}diff --git a/src/client/src/components/(playground)/header.tsx b/src/client/src/components/(playground)/header.tsxindex db26742f..f15bf270 100644--- a/src/client/src/components/(playground)/header.tsx+++ b/src/client/src/components/(playground)/header.tsx@@ -9,6 +9,7 @@ import HeaderPageTrail from "./header-page-trail";import { HeaderScopeSeparator } from "./header-scope-pill";import { playgroundTopBarClassName } from "./sidebar-layout-context";import { ChatHeaderButton } from "./chat/chat-floating-button";+import TalkToFounderLink from "@/components/common/talk-to-founder-link";export function HeaderContextRow() {const { setHeaderRef } = usePortal();@@ -33,7 +34,11 @@ export function HeaderContextRow() {<DatabaseConfigSwitch contentAlign="start" contentSide="bottom" /><HeaderAppTrail /><HeaderPageTrail />- <div className="ml-auto flex items-center gap-2"><ChatHeaderButton /><div ref={containerRef} className="flex items-center" /></div>+ <div className="ml-auto flex items-center gap-2">+ <TalkToFounderLink />+ <ChatHeaderButton />+ <div ref={containerRef} className="flex items-center" />+ </div></div>);}diff --git a/src/client/src/components/common/talk-to-founder-link.tsx b/src/client/src/components/common/talk-to-founder-link.tsxnew file mode 100644index 00000000..e8feff4f--- /dev/null+++ b/src/client/src/components/common/talk-to-founder-link.tsx@@ -0,0 +1,37 @@+"use client";++import { Phone } from "lucide-react";+import getMessage from "@/constants/messages";+import { FOUNDER_SCHEDULE_URL } from "@/constants/external-links";+import {+ Tooltip,+ TooltipContent,+ TooltipTrigger,+} from "@/components/ui/tooltip";++const headerClassName =+ "inline-flex size-8 shrink-0 items-center justify-center rounded-md border border-stone-200 bg-white text-stone-700 shadow-sm transition-colors hover:bg-stone-50 dark:border-stone-700 dark:bg-stone-900 dark:text-stone-200 dark:hover:bg-stone-800";++export default function TalkToFounderLink() {+ const messages = getMessage();+ const link = (+ <a+ href={FOUNDER_SCHEDULE_URL}+ target="_blank"+ rel="noopener noreferrer"+ aria-label={messages.TALK_TO_FOUNDER}+ className={headerClassName}+ >+ <Phone className="size-3.5" />+ </a>+ );++ return (+ <Tooltip>+ <TooltipTrigger asChild>{link}</TooltipTrigger>+ <TooltipContent side="bottom" className="text-xs">+ <p>{messages.TALK_TO_FOUNDER}</p>+ </TooltipContent>+ </Tooltip>+ );+}diff --git a/src/client/src/constants/external-links.ts b/src/client/src/constants/external-links.tsnew file mode 100644index 00000000..cb92a66c--- /dev/null+++ b/src/client/src/constants/external-links.ts@@ -0,0 +1 @@+export const FOUNDER_SCHEDULE_URL = "https://cal.com/aman.openlit/30min";diff --git a/src/client/src/constants/messages/en.ts b/src/client/src/constants/messages/en.tsindex a186234d..4473dbb0 100644--- a/src/client/src/constants/messages/en.ts+++ b/src/client/src/constants/messages/en.ts@@ -1685,7 +1685,13 @@ export const PERSONAL_ORGANISATION = "Personal";// Authexport const AUTH_WELCOME = "Welcome to OpenLIT";-export const AUTH_SUBTITLE = "Open Source Platform for AI Engineering";+export const AUTH_SUBTITLE = "Open source Agent Harness Engineering platform";+export const AUTH_PANEL_EYEBROW = "Agent Harness Engineering";+export const AUTH_PANEL_TITLE = "Trace, evaluate, and operate AI agents";+export const AUTH_PANEL_BODY =+ "LLM tracing, evaluations, prompt management, and cost tracking in one open-source platform.";+export const TALK_TO_FOUNDER = "Talk to founder";+export const TALK_TO_FOUNDER_HINT = "Schedule a 30-minute call";export const AUTH_SIGNING_IN = "Signing in...";export const AUTH_CONTINUE_WITH_GOOGLE = "Continue with Google";export const AUTH_CONTINUE_WITH_GITHUB = "Continue with Github";@@ -1700,7 +1706,7 @@ export const AUTH_NO_ACCOUNT = "Don't have an account?";export const AUTH_HAVE_ACCOUNT = "Already have an account?";export const AUTH_GITHUB = "Github";export const AUTH_DOCUMENTATION = "Documentation";-export const AUTH_FOOTER = "Open Source AI Observability Platform";+export const AUTH_FOOTER = "Open source, built on OpenTelemetry";export const AUTH_ERROR_ACCESS_DENIED = "Access denied for this account.";export const AUTH_ERROR_TRY_DIFFERENT = "Try signing with a different account.";export const AUTH_ERROR_CONFIRM_IDENTITY = "To confirm your identity, sign in with the same account you used originally.";@@ -1712,24 +1718,24 @@ export const AUTH_ERROR_GOOGLE = "Failed to sign in with Google";export const AUTH_ERROR_GITHUB = "Failed to sign in with Github";// Auth feature highlights-export const AUTH_FEATURE_TRACING = "End-to-End Tracing";-export const AUTH_FEATURE_TRACING_DESC = "Full request tracing across LLM providers";-export const AUTH_FEATURE_ANALYTICS = "Cost & Token Analytics";-export const AUTH_FEATURE_ANALYTICS_DESC = "Real-time cost tracking and token usage";-export const AUTH_FEATURE_EVALS = "11 Evaluation Types";-export const AUTH_FEATURE_EVALS_DESC = "Hallucination, bias, toxicity, safety & more";+export const AUTH_FEATURE_TRACING = "LLM tracing";+export const AUTH_FEATURE_TRACING_DESC = "OpenTelemetry traces for every call, tool, and retrieval";+export const AUTH_FEATURE_ANALYTICS = "Cost and latency";+export const AUTH_FEATURE_ANALYTICS_DESC = "Track spend, tokens, and speed for every AI workload";+export const AUTH_FEATURE_EVALS = "Evaluations";+export const AUTH_FEATURE_EVALS_DESC = "LLM-as-a-judge, heuristics, and human review";export const AUTH_FEATURE_JUDGE = "LLM-as-a-Judge";export const AUTH_FEATURE_JUDGE_DESC = "Automated quality scoring with any LLM";export const AUTH_FEATURE_OPENGROUND = "OpenGround";export const AUTH_FEATURE_OPENGROUND_DESC = "Compare LLMs side-by-side on cost & quality";export const AUTH_FEATURE_PROMPT_HUB = "Prompt Hub";-export const AUTH_FEATURE_PROMPT_HUB_DESC = "Version, manage, and deploy prompts";+export const AUTH_FEATURE_PROMPT_HUB_DESC = "Version and deploy prompts without shipping app code";export const AUTH_FEATURE_RULE_ENGINE = "Rule Engine";export const AUTH_FEATURE_RULE_ENGINE_DESC = "Conditional context and prompt retrieval";export const AUTH_FEATURE_VAULT = "Vault";-export const AUTH_FEATURE_VAULT_DESC = "Secure secrets and API key management";-export const AUTH_FEATURE_AGENTS = "Agents";-export const AUTH_FEATURE_AGENTS_DESC = "Manage and operate AI agents from a single hub";+export const AUTH_FEATURE_VAULT_DESC = "Store and rotate LLM API keys outside application code";+export const AUTH_FEATURE_AGENTS = "Agent monitoring";+export const AUTH_FEATURE_AGENTS_DESC = "See tools, cost, and outcomes for coding agents";export const AUTH_FEATURE_OTEL = "OpenTelemetry Native";export const AUTH_FEATURE_OTEL_DESC = "Built on open standards, no vendor lock-in";