MCPcopy Create free account
hub / github.com/agenticsorg/edge-agents / constructor

Method constructor

scripts/sparc2/src/agent/agent.ts:74–79  ·  view source on GitHub ↗

* Create a new SPARC 2.0 Agent * @param options Agent options

(options: AgentOptions = {})

Source from the content-addressed store, hash-verified

72 * @param options Agent options
73 */
74 constructor(options: AgentOptions = {}) {
75 this.model = options.model || "gpt-4o";
76 this.mode = options.mode || "automatic";
77 this.diffMode = options.diffMode || "file";
78 this.processing = options.processing || "sequential";
79 }
80
81 /**
82 * Initialize the agent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected