mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
01f5dbd1ee
Northstar AI CRM — a full-featured agentic sales CRM for an enterprise hardware seller, built with CopilotKit, the AG-UI protocol, and a TypeScript Strands agent (@strands-agents/sdk + @ag-ui/aws-strands). The first TypeScript Strands example under examples/. Highlights: - Agentic canvas: tool calls render on the workspace — quote approval opens a quote page; analyze_team and generate_weekly_report open dedicated report pages; frontend tools navigate the workspace. - Generative UI cards, human-in-the-loop follow-up approval, and a live STATE_SNAPSHOT that syncs a SQLite CRM store with the board, dashboard, and report pages. - Dashboard, pipeline (Kanban), products, team, and reports surfaces. Self-contained under examples/showcases/strands-crm with an agent/ + frontend/ split and a concurrently dev script; listed in examples/README.md.
18 lines
477 B
TypeScript
18 lines
477 B
TypeScript
"use client";
|
|
import { CopilotSidebar } from "@copilotkit/react-core/v2";
|
|
|
|
export function AssistantPanel() {
|
|
return (
|
|
<CopilotSidebar
|
|
defaultOpen
|
|
width={420}
|
|
labels={{
|
|
modalHeaderTitle: "Northstar Assistant",
|
|
welcomeMessageText:
|
|
"Hi — I can help you work your pipeline. Ask about deals, research an account, or draft a follow-up.",
|
|
chatInputPlaceholder: "Ask anything about your pipeline…",
|
|
}}
|
|
/>
|
|
);
|
|
}
|