As AIArtificial intelligence (AI)A field that builds programs doing tasks that used to need a human mind, such as understanding language, recognising images and making decisions. Large language models are one small part of it, not all of it. continues to evolve at an unprecedented pace, so too will the art and science of prompting. This final chapter explores emerging trends, the shifting landscape of human-AI collaboration, and how to stay ahead as the field transforms.
The Evolving Landscape
From Prompts to Conversations
Early prompting was transactional—a single input yielding a single output. Modern AI interaction is increasingly conversational and collaborative:
- Multi-turn refinement - Building understanding across exchanges
- Persistent context - Systems that remember and learn from interactions
- Agentic workflowsWorkflowPredefined steps a task goes through, with calls to a model at fixed points. It differs from an agent in that code, not the model, decides the next step, so it is easier to predict and test. - AI that can plan, execute, and iterate autonomously
- Tool useTool useA model asking to run a function the app describes to it, such as a search or reading a file, with structured arguments. The app runs it and returns the result; the model runs nothing itself. - Models that can search, compute, and interact with external systems
Only the prompt in the box is sent to that site, nothing from your projects.
The Rise of Context Engineering
As covered in Chapter 14, prompting is expanding beyond single instructions to encompass context engineeringContext engineeringChoosing and arranging what enters the context window: instructions, files, search results and task memory. The aim is for the model to find exactly what it needs, not everything that could be said.—the strategic management of what information an AI can access:
- RAGRetrieval-augmented generation (RAG)First searching your documents for the passages related to a question, then putting them in the prompt so the model answers from them. It gives the model knowledge it was not trained on, without retraining it. (RetrievalRetrievalThe step that finds the passages related to a question among your documents, by keywords, by meaning or both. If retrieval brings the wrong passages, the model answers wrongly and confidently.-Augmented Generation) - Dynamic knowledge retrieval
- Function calling - Structured tool integration
- MCPModel Context Protocol (MCP)An open standard that connects AI tools to data sources and tools through "servers" with one interface. Your project's MCP server in Talqeen gives Claude Code the phases, tasks and their status. (Model Context Protocol) - Standardized context sharing
- Memory systems - Persistent knowledge across sessions
The future promptPromptThe text you give a model to work on, from a short question to long instructions with a role, context, examples and a required format. The quality of the output follows the clarity of the prompt more than its length. engineer thinks not just about what to say but what context to provide.
Multimodal by Default
Text-only interaction is becoming the exception. Future AI systems will seamlessly handle:
- Images and video - Understanding and generating visual content
- Audio and voice - Natural speech interaction
- Documents and files - Direct processing of complex materials
- Real-world interaction - Robotics and physical systems
Prompting skillsSkillA folder with a SKILL.md file saying when and how the skill is used, possibly with supporting files. The model loads it only when it needs it, so it does not take up context all the time. will extend to guiding AI perception and physical action.
The Agentic Future
The most significant shift in AI is the rise of agentsAgentA model working in a loop: it decides the next step, calls a tool, reads the result, and decides again until the task is done. Its power and its risk come from the tools and permissions you give it.—AI systems that don't just respond to prompts but actively pursue goals, make decisions, and take actions in the world.
What Are AI Agents?
An AI agent is a system that:
- Perceives its environmentEnvironmentA place the app runs with its own settings: development on your machine, preview for trying things, production for users. Each has its own variables and database, so do not experiment on production. through inputs (text, images, data, APIsApplication programming interface (API)The agreed way one program asks another for something: what it sends, what comes back, and which errors are possible. When you call a model from your code, you are using its provider's API.)
- Reasons about what to do using an LLMLarge language model (LLM)A program trained on a huge amount of text until it predicts the next word of any text. Answers, translations and code come out of that repeated prediction. It does not search the web or remember past conversations unless it is given that explicitly. as its "brain"
- Acts by calling tools, writing code, or interacting with systems
- Learns from feedback and adjusts its approach
The Role of Prompts in Agents
In an agentic world, prompts become even more critical—but they serve different purposes:
System Prompts
Define the agent's identity, capabilities, constraints, and behavioral guidelines. These are the agent's "constitution."
Planning Prompts
Guide how agents break down complex goals into actionable steps. Critical for multi-step reasoning.
Tool-Use Prompts
Describe available tools and when/how to use them. Agents must understand their capabilities.
Reflection Prompts
Enable agents to evaluate their own outputs, catch errors, and improve iteratively.
Agent Architecture Patterns
Modern agents follow recognizable patterns. Understanding these helps you design effective agent systems:
ReActReactA JavaScript library for building interfaces from small components that each redraw themselves when their data changes. It is the base of Next.js, and most of the interface code models write uses it. (Reasoning + Acting)
The agent alternates between reasoning about what to do and taking actions:
Think
→ Act
→ Observe
→ (repeat)
Plan-and-Execute
The agent creates a complete plan first, then executes steps:
Create Plan
Break goal into steps
↓ Step 1
→ Step 2
→ Step 3
→ ...
↓ Revise if Needed
Adapt plan based on results
Prompting for Agents
When designing prompts for agent systems, consider:
Only the prompt in the box is sent to that site, nothing from your projects.
Multi-Agent Systems
The future involves teams of specialized agents working together:
Coordinator
Manages workflow
⟷ ↕ Researcher
Writer
Critic
Coder
Each agent has its own system promptSystem promptFixed instructions given to a model before the user's messages, setting its role, limits and style for the whole conversation. The app's author writes it, not the user. defining its role, and they communicate through structured messages. The prompt engineer's job becomes designing the team—defining roles, communication protocols, and coordination strategies.
Some of this future has already arrived. The chapter on always-on bots looks at teams of bots more closely in its section on roles and handoffs: why explicit, labelled handoffs are easier to review and trust than a self-organizing swarm, and how to decide what each member passes to the next.
Emerging Patterns
Prompt Orchestration
Single prompts are giving way to orchestrated systems:
User Request
↓ Planner Agent
Breaks down task
↓ Researcher Agent
Gathers information
↓ Writer Agent
Creates content
↓ Reviewer Agent
Quality checks
↓ Final Output
Future practitioners will design prompt systems rather than individual prompts.
Self-Improving Prompts
AI systems are beginning to:
- Optimize their own prompts - Meta-learning for better instructions
- Learn from feedback - Adapting based on outcomes
- Generate trainingTrainingThe stage where a model learns from huge amounts of data, ending at a certain date. What happened after that, the model knows only if it is given in the context. data - Creating examples for fine-tuningFine-tuningExtra training of an existing model on examples from your field so it masters a style or task. More costly and slower than improving the prompt or RAG, so try those first.
- Evaluate themselves - Building in quality assessment
Only the prompt in the box is sent to that site, nothing from your projects.
Natural Language Programming
The line between prompting and programming is blurring:
- Prompts as code - Version-controlled, tested, deployed
- LLMs as interpreters - Natural language as executable instructions
- Hybrid systems - Combining traditional code with AI reasoning
- AI-assisted development - Models that write and debugDebuggingFinding the cause of a bug and fixing it: reproduce it, read the whole message, narrow down where it is, then fix the cause, not the symptom. Give the model the error message and the steps as they are, not your summary of them. code
Understanding prompting increasingly means understanding software development.
Skills for the Future
What Will Remain Valuable
Certain skills will remain essential regardless of how AI evolves:
- Clear thinking - Knowing what you actually want
- DomainDomain nameThe address people type to reach your site, such as example.com, which you rent yearly from a domain registrar. Point it at your hosting with DNS records, and turn on HTTPS for it. expertise - Understanding the problem space
- Critical evaluation - Assessing AI output quality
- Ethical judgment - Knowing what should be done
- Iterative refinement - Continuous improvement mindset
What Will Change
Other aspects will shift significantly:
| Today | Tomorrow |
|---|---|
| Writing detailed prompts | Designing agent systems |
| Manual prompt optimization | Automated prompt tuning |
| Single-model expertise | Multi-model orchestrationOrchestratorAn agent or program that splits a big task, hands its parts to subagents, then gathers and checks their results. Its own context stays clean, since the details stay with whoever did the work. |
| Text-focused interaction | MultimodalMultimodalA model that understands or produces more than one kind: text, images, audio or video. It reads a screenshot and describes the error in it, or turns a description into an image. fluency |
| Individual productivity | Team-AI collaboration |
Staying Current
To keep your skills relevant:
- Experiment continuously - Try new models and features as they release
- Follow research - Stay aware of academic developments
- Join communities - Learn from other practitioners
- Build projects - Apply skills to real problems
- Teach others - Solidify understanding by explaining
The Human Element
AI as Amplifier
At its best, AI amplifies human capability rather than replacing it:
- Experts become more expert - AI handles routine work, humans focus on insight
- Creativity expands - More ideas explored, more possibilities tested
- Access democratizes - Capabilities once requiring specialists become available to all
- Collaboration deepens - Human-AI teams exceed either alone
The Irreplaceable Human
Certain qualities remain distinctly human:
- Original experience - Living in the world, having emotions and relationships
- Values and ethics - Deciding what matters and what's right
- Accountability - Taking responsibility for outcomes
- Meaning-making - Understanding why something matters
- Genuine creativity - True novelty born from unique perspective
Final Reflections
What We've Learned
Throughout this book, we've explored:
- Foundations - How AI models work and what makes prompts effective
- Techniques - Role-based prompting, chain-of-thought, few-shot learningFew-shot promptingPutting two to five examples of an input and its output in the prompt, so the model follows the same pattern. Varied, correct examples teach more than long instructions., and more
- Advanced strategies - System prompts, prompt chainingPrompt chainingSplitting a large task into steps, each with its own prompt, the output of one feeding the next. Easier to check and fix than one prompt that does everything., multimodal interaction
- Best practices - Avoiding pitfalls, ethical considerations, optimization
- Applications - Writing, programming, education, business, creativity, research
These techniques share common threads:
- Be clear and specific - Know what you want and communicate it precisely
- Provide context - Give AI the information it needs
- Structure your requests - Organization improves outputs
- Iterate and refine - First attempts are starting points, not endpoints
- Evaluate critically - AI output requires human judgment
The Art and Science
Prompting is both art and science:
- Science: Testable hypotheses, measurable outcomes, reproducible techniques
- Art: Intuition, creativity, knowing when to break the rules
The best practitioners combine rigorous methodology with creative experimentation. They test systematically but also trust their instincts. They follow best practices but know when to deviate.
A Call to Create
This book has given you tools. What you build with them is up to you.
- Solve problems that matter to you and others
- Create things that didn't exist before
- Help people do things they couldn't do alone
- Push boundaries of what's possible
- Stay curious as the field evolves
The age of AI is just beginning. The most important applications haven't been invented yet. The most powerful techniques haven't been discovered. The future is being written now—by people like you, one prompt at a time.
Looking Ahead
Only the prompt in the box is sent to that site, nothing from your projects.
Summary
Thank you for reading The Interactive Book of Prompting. Now go create something amazing.