ChatBotKit Node SDK
    Preparing search index...
    • Loads an agent definition from a markdown file. The file may contain an optional YAML front matter block with backstory, model, name, and description fields. The markdown body is appended to backstory (if any) to form the final backstory string.

      Parameters

      • filePath: string

        Path to the agent markdown file (absolute or relative to cwd)

      Returns Promise<AgentDefinition>