A basic personal assistant agent demonstrating the fundamental concepts of agent creation with the OpenAI Agents SDK.
Sign in to save downloads to your library and vote.
Preview
Personal Assistant Agent
A basic personal assistant agent demonstrating the fundamental concepts of agent creation with the OpenAI Agents SDK.
๐ฏ What This Demonstrates
- Basic Agent Definition: Creating a simple agent with name and instructions
- Model Configuration: Using the default GPT-4o model
- Simple Instructions: Basic conversational capabilities
๐ Quick Start
-
Install OpenAI Agents SDK:
pip install openai-agents -
Set up environment:
cp ../env.example .env # Edit .env and add your OpenAI API key -
Run the agent:
from agents import Runner from agent import root_agent result = Runner.run_sync(root_agent, "Hello, introduce yourself!") print(result.final_output)
๐ก Key Concepts
- Agent Definition: The
Agent()class with basic parameters - Instructions: Natural language instructions that guide agent behavior
- Model Selection: Default model usage (gpt-4o)
๐ Next Steps
This agent demonstrates the absolute basics. For more advanced features, see:
- Execution Demo Agent - Different execution methods
- Tutorial 2: Structured Output - Pydantic schema outputs
- Tutorial 3: Tool Using Agent - Adding tools and functions
Ingestion metadata
- Source catalog
- awesome-llm-apps
- Repository
- Shubhamsaboo/awesome-llm-apps ยท main
- File path
- ai_agent_framework_crash_course/openai_sdk_crash_course/1_starter_agent/1_personal_assistant_agent/README.md
- Last refreshed
- 7/23/2026, 10:39:09 PM (4h ago)
- Refresh schedule
- Daily ยท 03:00 UTC
- Dedupe status
- Unique ยท deduped by (source, url)