MCPcopy Create free account
hub / github.com/MigoXLab/coderio / createInitialAgent

Function createInitialAgent

src/agents/initial-agent/index.ts:11–22  ·  view source on GitHub ↗
(modelConfig: ModelConfig)

Source from the content-addressed store, hash-verified

9 * @returns The initial agent.
10 */
11export function createInitialAgent(modelConfig: ModelConfig): Agent {
12 const systemTools = ['ThinkTool.execute', 'FileEditor.read', 'FileEditor.write'];
13
14 return new Agent({
15 name: 'InitialAgent',
16 profile: 'Expert Frontend Engineer specialized in project scaffolding with React, TypeScript, and Tailwind CSS V4.',
17 system: INITIAL_AGENT_SYSTEM_PROMPT,
18 tools: systemTools,
19 modelConfig,
20 verbose: true,
21 });
22}

Callers 1

initialProjectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected