diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotPage.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotPage.tsx
index 8b62099a64..5133afc64f 100644
--- a/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotPage.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotPage.tsx
@@ -10,6 +10,8 @@ import dynamic from "next/dynamic";
import { useCallback, useEffect, useRef, useState } from "react";
import { ChatContainer } from "./components/ChatContainer/ChatContainer";
import { DeleteChatDialog } from "./components/DeleteChatDialog/DeleteChatDialog";
+import { MobileDrawer } from "./components/MobileDrawer/MobileDrawer";
+import { MobileHeader } from "./components/MobileHeader/MobileHeader";
import { NotificationBanner } from "./components/NotificationBanner/NotificationBanner";
import { NotificationDialog } from "./components/NotificationDialog/NotificationDialog";
import { RateLimitResetDialog } from "./components/RateLimitResetDialog/RateLimitResetDialog";
@@ -88,8 +90,16 @@ export function CopilotPage() {
hasMoreMessages,
isLoadingMore,
loadMore,
- // Mobile
+ // Mobile drawer
isMobile,
+ isDrawerOpen,
+ sessions,
+ isLoadingSessions,
+ handleOpenDrawer,
+ handleCloseDrawer,
+ handleDrawerOpenChange,
+ handleSelectSession,
+ handleNewChat,
// Delete functionality
sessionToDelete,
isDeleting,
@@ -119,6 +129,7 @@ export function CopilotPage() {
const isBillingEnabled = useGetFlag(Flag.ENABLE_PLATFORM_PAYMENT);
const isArtifactsEnabled = useGetFlag(Flag.ARTIFACTS);
+ const isNewSidebar = useGetFlag(Flag.NEW_SIDEBAR);
const { credits, fetchCredits } = useCredits({ fetchInitialCredits: true });
const hasInsufficientCredits =
credits !== null && resetCost != null && credits < resetCost;
@@ -155,6 +166,9 @@ export function CopilotPage() {
onDragLeave={handleDragLeave}
onDrop={handleDrop}
>
+ {isMobile && !isNewSidebar && (
+