The Open Framework for Building Agents
docs(templates): add OpenInstinct as iMessage Agent as a Service (#4331)
Colton Paddenb4b88c1d53fd
diff --git a/apps/docs/app/[lang]/templates/[slug]/page.tsx b/apps/docs/app/[lang]/templates/[slug]/page.tsxindex 48ce1288c..0fceb5640 100644--- a/apps/docs/app/[lang]/templates/[slug]/page.tsx+++ b/apps/docs/app/[lang]/templates/[slug]/page.tsx@@ -69,6 +69,10 @@ const TemplateDetailPage = async ({ params }: { params: Promise<PageParams> }) =const highlightedFiles = await Promise.all(entry.files.map(highlightFile));const canonicalUrl = new URL(`/templates/${entry.slug}`, getSiteOrigin()).toString();const structuredData = createStructuredData(entry, canonicalUrl);+ const descriptionLink = entry.descriptionLink;+ const descriptionLinkIndex = descriptionLink+ ? entry.description.indexOf(descriptionLink.text)+ : -1;return (<>@@ -97,7 +101,19 @@ const TemplateDetailPage = async ({ params }: { params: Promise<PageParams> }) =</div></div><div className="min-w-0">- <p className="max-w-[520px] text-copy-16 text-gray-900">{entry.description}</p>+ <p className="max-w-[520px] text-copy-16 text-gray-900">+ {descriptionLink && descriptionLinkIndex >= 0 ? (+ <>+ {entry.description.slice(0, descriptionLinkIndex)}+ <a className="underline underline-offset-4" href={descriptionLink.href}>+ {descriptionLink.text}+ </a>+ {entry.description.slice(descriptionLinkIndex + descriptionLink.text.length)}+ </>+ ) : (+ entry.description+ )}+ </p><div className="mt-6"><TemplateActionsdemoHref={entry.demoHref}diff --git a/apps/docs/app/[lang]/templates/integration-icons.tsx b/apps/docs/app/[lang]/templates/integration-icons.tsxindex d524c41fb..010b820e8 100644--- a/apps/docs/app/[lang]/templates/integration-icons.tsx+++ b/apps/docs/app/[lang]/templates/integration-icons.tsx@@ -4,6 +4,8 @@ import {datadogLogo,githubLogo,linearLogo,+ linkLogo,+ linqLogo,muxLogo,notionLogo,resendLogo,@@ -23,12 +25,14 @@ export const integrationIcons: Record<TemplateIntegration, IconComponent> = {GitHub: githubLogo,"HTTP API": BracesIcon,Linear: linearLogo,+ Linq: linqLogo,Mux: muxLogo,Notion: notionLogo,Resend: resendLogo,Sanity: sanityLogo,Sentry: sentryLogo,Slack: slackLogo,+ "Stripe Link": linkLogo,Typefully: typefullyLogo,Vercel: vercelLogo,"Web chat": webLogo,diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsxindex 20c6cf00b..ea19d56ec 100644--- a/apps/docs/lib/integrations/logos.tsx+++ b/apps/docs/lib/integrations/logos.tsx@@ -320,7 +320,7 @@ const similarwebLogo = (props: LogoProps) => <SiSimilarweb {...props} />;const stripeLogo = (props: LogoProps) => <SiStripe color="default" {...props} />;-const linkLogo = (props: LogoProps) => (+export const linkLogo = (props: LogoProps) => (<svg fill="none" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M0 0h32v32H0z" fill="#00D66F" /><path@@ -504,7 +504,7 @@ const liveblocksLogo = (props: LogoProps) => (</svg>);-const linqLogo = (props: LogoProps) => (+export const linqLogo = (props: LogoProps) => (<svg fill="none" viewBox="0 0 629.586 757.741" xmlns="http://www.w3.org/2000/svg" {...props}><pathfill="currentColor"diff --git a/apps/docs/lib/templates/compose.ts b/apps/docs/lib/templates/compose.tsindex 929165ef1..4cad61323 100644--- a/apps/docs/lib/templates/compose.ts+++ b/apps/docs/lib/templates/compose.ts@@ -15,6 +15,7 @@ export interface TemplateEntry {category: TemplateCategory;demoHref?: string;description: string;+ descriptionLink?: TemplateManifestEntry["descriptionLink"];files: TemplateFile[];integrations: TemplateIntegration[];model: string;diff --git a/apps/docs/lib/templates/manifest.ts b/apps/docs/lib/templates/manifest.tsindex 9cd62b5c3..07964e9da 100644--- a/apps/docs/lib/templates/manifest.ts+++ b/apps/docs/lib/templates/manifest.ts@@ -8,12 +8,14 @@ export type TemplateIntegration =| "GitHub"| "HTTP API"| "Linear"+ | "Linq"| "Mux"| "Notion"| "Resend"| "Sanity"| "Sentry"| "Slack"+ | "Stripe Link"| "Typefully"| "Vercel"| "Web chat";@@ -33,6 +35,7 @@ export interface TemplateManifestEntry {slug: string;title: string;description: string;+ descriptionLink?: { text: string; href: string };demoHref?: string;category: TemplateCategory;integrations: TemplateIntegration[];@@ -130,6 +133,32 @@ export const templateManifest: TemplateManifestEntry[] = ["agent/tools/write_file.ts",],},+ {+ slug: "openinstinct-eve-template",+ title: "iMessage Agent as a Service",+ setupPrompt:+ "I want to build a multi-tenant iMessage agent service with eve, using OpenInstinct at https://github.com/Merit-Systems/OpenInstinct. Read its README and follow its deployment instructions. Preserve the existing project if my workspace is not empty. Explain the required Linq, Kernel, database, storage, and model provider setup, and distinguish optional account integrations from required services. Call out the repository's warning that the application is not intended for production use.",+ description:+ "OpenInstinct, a multi-tenant iMessage agent service built with eve and Linq, with user accounts, scoped memory, an encrypted vault, cloud browser automation, and Stripe Link wallet integration.",+ descriptionLink: { text: "Stripe Link", href: "https://stripe.com/payments/link" },+ sourceHref: "https://github.com/Merit-Systems/OpenInstinct/tree/main",+ category: "Example",+ model: "anthropic/claude-sonnet-5",+ integrations: ["Linq", "Stripe Link", "Vercel"],+ source: "Vercel Templates",+ github: { owner: "Merit-Systems", repo: "OpenInstinct", ref: "main" },+ files: [+ "agent/agent.ts",+ "agent/channels/eve.ts",+ "agent/channels/linq.ts",+ "agent/extensions/link.ts",+ "agent/instructions.md",+ "agent/lib/principal-scope.ts",+ "agent/memory/profile.ts",+ "agent/tools/run_browser.ts",+ "agent/subagents/browser-agent/agent.ts",+ ],+ },{slug: "eve-slack-agent",title: "Slack",