Chapter 2. Instructions in AI agents
This chapter covers the definition and usage of instructions (system prompts, agent skills, instructions artifacts) as a foundation layer to shape the model behavior.
Examples
- System prompts (OpenAI): Python · Jupyter · JavaScript · Java
- System prompts (Anthropic): Python · Jupyter · JavaScript · Java
- System prompts (Google): Python · Jupyter · JavaScript · Java
- System prompts (Ollama): Python · Jupyter · JavaScript · Java
- Agent skills: project-notetaker
- Instruction artifacts: task-tracker