API Reference
Complete API documentation for SpecAlign modules.
This reference is auto-generated from source code docstrings.
Quick Links
Core Components:
specalign.core.RedTeamOrchestrator- Main orchestratorspecalign.core.ContextPool- Context managementspecalign.core.Planner- Attack planningspecalign.core.SafetyJudge- Safety evaluationspecalign.core.QualityJudge- Quality evaluation
Agents:
specalign.agents.Attacker- Attacker agentspecalign.agents.Defender- Defender agentspecalign.core.DualRoleAgent- Dual-role agent
Specification Generation:
specalign.specgen.SpecSampler- Specification samplingspecalign.specgen.InstructionGeneratorV2C- Instruction generationspecalign.core.SeedGenerator- Seed generation
Configuration:
specalign.config.schema- Configuration schemasspecalign.config.load_config()- Configuration loading