nexus-agents - v2.80.0
    Preparing search index...

    Class CodeExpert

    CodeExpert - Expert agent for code-related tasks.

    Specialized in:

    • Code generation from specifications
    • Code refactoring and cleanup
    • Performance optimization
    • Bug detection and debugging

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: string

    Unique agent identifier

    role: AgentRole

    Agent role

    capabilities: readonly AgentCapability[]

    Agent capabilities

    stateMachine: AgentStateMachine
    budgetTracker: ITokenBudgetTracker
    adapter: IModelAdapter | undefined
    logger: ILogger
    config: AgentConfig | undefined
    sharedState: Record<string, unknown> = {}
    history: Message[] = []
    systemPrompt: string | undefined
    temperature: number
    maxTokens: number
    eventBus: IEventBus
    emitMessageEvents: boolean

    Accessors

    Methods

    • Parameters

      • content: string
      • Optionalpriority: 20 | 60 | 80 | 100 | 40
      • Optionalcategory: "system" | "task" | "active"

      Returns Promise<void>