Support Copilot TemplatePro
An agent-assist console: ticket queue, KB-cited draft replies your agents edit before sending, and refunds the model can only propose — a human approves.
Pick a ticket from the queue.
A scripted replay of one ticket — the refund card is real and clickable, but it also resolves on its own so the loop continues; there is no model and no route behind this page. In the template, nothing is refunded or sent except on your click.
Every file in it
The full file list, with line counts — nothing is hidden about what you are getting, only the contents are.
44 files, 3,232 lines
Every file below is real and readable once you have Pro — downloaded as a zip, installed with one shadcn command, or read here in the browser. $49 once, for this and every other Pro item.
Built on these components
All free, all documented on their own pages. The template is what wires them together.
A citation marker that shows the passage it came from — fixed positioning that survives a scrolling answer, touch and keyboard, and an honest state for a number the model invented.
Approval RequestThe human-in-the-loop confirmation — what the agent wants to do, the exact details, and allow or deny before it acts.
Error & RetryWhat to show when a generation fails — a plain-English reason, a retry button, and a countdown for rate limits.
Thinking IndicatorThe loading state before the first token — bouncing dots, a blinking caret, or a labeled status line while the model thinks.
Running it
- Download the zip and unpack it, or install it with the shadcn command above — either way the app lands in its own directory. Then
npm install. - Add an
AI_GATEWAY_API_KEYto.env.local— one key reaches every model the template uses. npm run dev. To use a provider directly instead, install its package and change one line in the chat route.