Source Attribution
A transparent citation component for displaying claims with their supporting sources as clickable badges. Perfect for research findings, recommendations, fact-checking, and building trust through verifiable information sources.
Preview

Installation
Schema & Prompt Control
Conversation
Installation
Instructions
# Initialize HAX in your project agntcy-hax init # Add the component agntcy-hax add artifact source-attribution
Usage
The source attribution component integrates with AI agents through CopilotKit. Users interact with AI agents through natural language, and the agents automatically create proper citations with verifiable sources.
Component Setup
Setup
import { HAXSourceAttribution, useSourceAttributionAction } from "@/hax/artifacts/source-attribution";export function ResearchPage() {const [artifacts, setArtifacts] = useState([]);// Register source attribution actions for AI agentsuseSourceAttributionAction({addOrUpdateArtifact: (type, data) => {// Handle source attribution updates}});return (<HAXSourceAttributiontitle="Market Research Findings"claim="The global AI market is expected to reach $1.8 trillion by 2030"description="Key findings from recent market analysis reports"sources={researchSources}/>);}
Source Attribution
A transparent citation component for displaying claims with their supporting sources as clickable badges. Perfect for research findings, recommendations, fact-checking, and building trust through verifiable information sources.
Preview

Installation
Schema & Prompt Control
Conversation
Installation
Instructions
# Initialize HAX in your project agntcy-hax init # Add the component agntcy-hax add artifact source-attribution
Usage
The source attribution component integrates with AI agents through CopilotKit. Users interact with AI agents through natural language, and the agents automatically create proper citations with verifiable sources.
Component Setup
Setup
import { HAXSourceAttribution, useSourceAttributionAction } from "@/hax/artifacts/source-attribution";export function ResearchPage() {const [artifacts, setArtifacts] = useState([]);// Register source attribution actions for AI agentsuseSourceAttributionAction({addOrUpdateArtifact: (type, data) => {// Handle source attribution updates}});return (<HAXSourceAttributiontitle="Market Research Findings"claim="The global AI market is expected to reach $1.8 trillion by 2030"description="Key findings from recent market analysis reports"sources={researchSources}/>);}