aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
87 lines • 2.01 kB
TypeScript
/**
* Agent Generator
*
* Generates agents following the 10 Golden Rules from the Agent Design Bible.
*
* @architecture @.aiwg/architecture/software-architecture-doc.md
*/
import type { AgentOptions, GeneratedAgent, AgentTemplate, TemplateConfig } from './types.js';
/**
* Agent Generator
*/
export declare class AgentGenerator {
private packager;
constructor();
/**
* Generate agent following 10 Golden Rules
*/
generateAgent(options: AgentOptions): Promise<GeneratedAgent>;
/**
* Deploy generated agent
*/
deployAgent(agent: GeneratedAgent): Promise<void>;
/**
* Validate agent options
*/
private validateOptions;
/**
* Select tools based on template and overrides
*/
private selectTools;
/**
* Build agent structure from options
*/
private buildAgentStructure;
/**
* Extract expertise from guidance
*/
private extractExpertise;
/**
* Extract responsibilities from guidance
*/
private extractResponsibilities;
/**
* Generate workflow steps
*/
private generateWorkflow;
/**
* Generate output format
*/
private generateOutputFormat;
/**
* Generate constraints
*/
private generateConstraints;
/**
* Generate examples from guidance
*/
private generateExamples;
/**
* Generate full agent content
*/
private generateContent;
/**
* Transform content for platform
*/
private transformForPlatform;
/**
* Get deployment path for platform
*/
private getDeploymentPath;
/**
* Convert kebab-case to Title Case
*/
private toTitleCase;
/**
* Get template configuration
*/
getTemplateConfig(template: AgentTemplate): TemplateConfig;
/**
* List all available templates
*/
listTemplates(): Array<{
name: AgentTemplate;
config: TemplateConfig;
}>;
}
//# sourceMappingURL=generator.d.ts.map