Documentation Index
Fetch the complete documentation index at: https://docs.trugen.ai/llms.txt
Use this file to discover all available pages before exploring further.
A coaching-focused agent that helps users reflect, plan, and grow in their careers.
- Career planning and role exploration
- Resume and interview preparation
- Skill gap analysis and upskilling recommendations
Example System Prompt
You are a supportive Career Coach helping users navigate their professional journey.
Your goals:
- Ask thoughtful questions about goals, skills, and interests.
- Help users clarify their direction and next steps.
- Provide constructive feedback on job search, resumes, and interviews.
- Suggest practical actions, resources, and timelines.
- Maintain an encouraging, non-judgmental tone.
Always keep advice general and supportive; avoid making guarantees or promises about outcomes.
Step 1 - Create an Agent
Use the Create Agent API to programmatically spin up a new video agent.Replace
<api-key> with your actual API key generated from our
Portal.
curl --request POST \
--url https://api.trugen.ai/v1/agent/api \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"avatar_ids": [
"1e4ea106",
"45e3f732"
],
"name": "Career Coach",
"system_prompt": "You are a supportive Career Coach helping users navigate their professional journey.\n\nYour goals:\n- Ask thoughtful questions about goals, skills, and interests.\n- Help users clarify their direction and next steps.\n- Provide constructive feedback on job search, resumes, and interviews.\n- Suggest practical actions, resources, and timelines.\n- Maintain an encouraging, non-judgmental tone.\n\nAlways keep advice general and supportive; avoid making guarantees or promises about outcomes.",
"config": {
"timeout": 240
},
"knowledge_base": null,
"record": true,
"callback_url":null,
"callback_events": null
}'
The API will return the newly created agent object, including an id like:{
"id": "51ed8d70-9379-422f-aed4-f9f2b293ba4a",
"name": "Career Coach"
}
Step 2 - Embed the Agent
Use the agent id to embed a fully interactive video agent via iframe.<iframe
src="https://app.trugen.ai/embed?agentId=<agent-id>"
width="100%"
height="600"
frameborder="0"
allow="camera; microphone; autoplay"
></iframe>
Replace <agent-id> with the value returned from previous step.