Create a Roleplay Agent from a File or Resource
Learn how to create and fine-tune AI roleplay agents using uploaded files and documents to ensure agent behavior aligns with your specific source material and training guidelines.
You can create AI roleplay agents using uploaded training files and documents during agent creation. Fine-tuning workflows can also use file attachments so behavior stays aligned with specific source material, not only a free-form prompt.
Create a roleplay agent using a file
- Open Roleplay → Agents (or Manage Agents).
- Start Create agent and fill in roleplay type, scenario, and other required fields.
- Find Resources, Attachments, Training files, or a similar section in the creation flow.
- Add files: upload new documents or choose existing items from the Resources library.
- Complete the agent description or prompt so it is clear how the attachments should be used (for example, "Follow the attached pricing guardrails.").
- Generate or save the agent, then run a test roleplay to validate behavior.
Fine-tune an agent with file attachments
- Open the existing agent you want to refine.
- Open the fine-tune, variations, refine, or edit section, whichever your workspace provides.
- Attach or update files the same way as in creation. Prefer library resources for consistency across agents.
- Save your changes and test with representative scenarios.