🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { TaskIdentifier } from '@lobechat/builtin-tool-task';
import { DEFAULT_PROVIDER } from '@lobechat/business-const';
import { DEFAULT_INBOX_AVATAR, DEFAULT_MODEL } from '@lobechat/const';
import type { BuiltinAgentDefinition } from '../../types';
import { BUILTIN_AGENT_SLUGS } from '../../types';
import { systemRoleTemplate } from './systemRole';
export const TASK_AGENT: BuiltinAgentDefinition = {
avatar: DEFAULT_INBOX_AVATAR,
persist: {
model: DEFAULT_MODEL,
provider: DEFAULT_PROVIDER,
},
runtime: (ctx) => ({
plugins: [TaskIdentifier, ...(ctx.plugins || [])],
systemRole: systemRoleTemplate,
}),
slug: BUILTIN_AGENT_SLUGS.taskAgent,
};