Sessions, Context and Conversational Agents

3 days left! Get $70+ in savings and build skills with Coursera Plus. Save 40% for 3 months.

GitHub

Sessions, Context and Conversational Agents

GitHub

Instructor: GitHub

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Design session lifecycles for multi-turn conversational agents.

  • Implement context persistence strategies across agent interactions.

  • Implement real-time streaming with event handling to progressively render responses.

  • Develop custom agents with scoped prompts, tools, and behavioral constraints.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

9 assignments¹

AI Graded see disclaimer
Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your Software Development expertise

This course is part of the Building Agentic AI Apps with GitHub Copilot SDK Professional Certificate
When you enroll in this course, you'll also be enrolled in this Professional Certificate.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate from GitHub

There are 5 modules in this course

Design and implement complete session lifecycles for conversational agent applications using the Copilot Software Development Kit (SDK). Learn to create, configure, persist, and gracefully tear down sessions, the foundational state management pattern that every multi-turn agent depends on.

What's included

6 videos5 readings2 assignments

Implement context management strategies that keep agents coherent across long, multi-turn sessions. This course addresses two distinct challenges: managing conversation history within the model's context window as sessions grow long, and maintaining structured application state that persists meaningful information beyond what conversation history alone can capture. You'll learn the boundary between what the Software Development Kit (SDK) handles automatically (message history within a session) and what your application must manage (summarization, structured state, and cross-session persistence).

What's included

4 videos5 readings2 assignments

Implement real-time streaming to progressively render agent responses and tool execution events in a user interface. Agent responses that arrive as a single block after a multi-second wait feel unresponsive; the same response streamed token by token, with tool execution status surfaced as it happens, feels immediate and trustworthy. Learn to subscribe to Software Development Kit (SDK) event streams and handle different event types: text chunks, tool invocations, execution status, and errors. Build rendering logic that keeps users informed during long agent operations, including graceful handling of mid-stream failures and user cancellation.

What's included

5 videos5 readings2 assignments

Define custom agents with specialized system prompts, restricted tool access, and behavioral constraints that the Copilot runtime can delegate to during task execution. Learn to design agents as modular, reusable components, each with a scoped identity and capability set.

What's included

5 videos5 readings2 assignments

Build a multi-turn conversational agent that combines session lifecycle management, context persistence, streaming responses, and custom agent delegation into a cohesive application. This project integrates the session, context, streaming, and custom-agent skills developed across this long course into a portfolio-ready deliverable.

What's included

3 readings1 assignment

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

GitHub
GitHub
6 Courses5 learners

Offered by

GitHub

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.