+
+
{headerText}
+
+
+
+
+
+
+ {agents.length === 0 ? (
+
+ No agents yet. Click “Add Agent” to create one.
+
+ ) : (
+ agents.map((agent, index) => (
+
updateAgent(agent.id, updated)}
+ onRemove={() => removeAgent(agent.id)}
+ />
+ ))
+ )}
+
+ );
+}
diff --git a/LocalMind-Frontend/src/features/Dashboard/V1/Component/types.ts b/LocalMind-Frontend/src/features/Dashboard/V1/Component/types.ts
new file mode 100644
index 0000000..f13bd5d
--- /dev/null
+++ b/LocalMind-Frontend/src/features/Dashboard/V1/Component/types.ts
@@ -0,0 +1,12 @@
+export type AgentType = "" | "planner" | "executor";
+
+export type Agent = {
+ id: string;
+ name: string;
+ type: AgentType;
+ systemPrompt: string;
+ task: string;
+ priority: number;
+ active: boolean;
+ tools: string[];
+};