Agents
Discover and create custom versions of DocsGPT that combine
instructions, extra knowledge, and any combination of skills
{/* Premade agents section */}
{/*
Premade by DocsGPT
{Array.from({ length: 5 }, (_, index) => (
))}
*/}
{
dispatch(setAgents(updatedAgents));
}}
loading={loadingUserAgents}
section="user"
/>
{
dispatch(setSharedAgents(updatedAgents));
}}
loading={loadingSharedAgents}
section="shared"
/>
);
}
function AgentSection({
agents,
updateAgents,
loading,
section,
}: {
agents: Agent[];
updateAgents?: (agents: Agent[]) => void;
loading: boolean;
section: keyof typeof sectionConfig;
}) {
const navigate = useNavigate();
return (