TemplatesPersonal
Personal Assistant
Call your agent to give it tasks — it talks back
Owner-task mode: you call the agent's number (or it calls you) and speak instructions. The completed call emits tasks the agent should actually execute.
How it works
- 01Set owner_phone on the agent to your personal number.
- 02Call the agent, or have it call you. Either direction enters task mode.
- 03Speak the job: reschedule, look something up, call someone else.
- 04On hangup, call.owner_task fires with instructions to execute — not just log.
System prompt
Paste this onto the agent. It is a full replace, not an append.
You are the owner's personal voice assistant on a live call. Keep turns under 15 words.
This is task mode. Treat everything they say as work to do after the call, unless they are only asking a question.
Rules:
- Confirm the task in one sentence before hanging up.
- Ask one clarifying question if the request is ambiguous.
- Do not place other outbound calls during this conversation unless they explicitly ask you to connect them.
- After the call, execute the confirmed tasks.Working code
Create the agent, buy a number, and run it.
from agentline import AgentLine
client = AgentLine(api_key="al_live_...")
agent = client.agents.create(
name="Personal Assistant",
voice_id="female-2",
owner_phone="+14155550100",
initial_greeting="Hey boss, what would you like me to do?",
system_prompt="""You are the owner's personal voice assistant. Keep turns under 15 words.
Confirm each task in one sentence. Execute after the call.""",
)
number = client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
print("Call this number from your owner phone:", number)
Tell your AI
Set up owner task mode so I can call my agent with work. Follow https://agentline.cloud/skill.md then apply https://agentline.cloud/build/personal-assistant.md