MCPcopy Create free account
hub / github.com/SethGammon/Citadel / loadAgent

Function loadAgent

core/agents/parse-agent.js:106–111  ·  view source on GitHub ↗
(agentPath)

Source from the content-addressed store, hash-verified

104 body,
105 };
106
107 return {
108 ...parsedAgent,
109 errors: validateParsedAgent(parsedAgent),
110 };
111}
112
113function loadAgent(agentPath) {
114 const resolvedPath = path.resolve(agentPath);

Callers 2

projectAgentToCodexFunction · 0.85
mainFunction · 0.85

Calls 1

parseAgentContentFunction · 0.85

Tested by

no test coverage detected