In this guided project, you'll build a ReAct (reasoning and acting) agent in TypeScript and Node.js using the OpenAI API. Your agent will reason through a task, call your own functions to get real-time data such as stock prices, and answer questions from files you provide.

Automated Reasoning with GPT Assistant API: ReAct Agents
Ends in 4 days! Get Coursera Plus for $239/year this Black Friday and explore skills that last.

Automated Reasoning with GPT Assistant API: ReAct Agents

Instructor: Manav Pandey
1,585 already enrolled
Included with Learn more
Recommended experience
What you'll learn
Connect to the OpenAI API with TypeScript and set up an LLM agent for your own use case
Build a ReAct agent that reasons through tasks, calls your functions, and uses real-time data and files
Apply LLM security and scaling practices, including prompt injection defenses, to business tasks
Skills you'll practice
Details to know

Add to your LinkedIn profile
Only available on desktop
See how employees at top companies are mastering in-demand skills

Learn, practice, and apply job-ready skills in less than 2 hours
- Receive training from industry experts
- Gain hands-on experience solving real-world job tasks
- Build confidence using the latest tools and technologies

About this Guided Project
Learn step-by-step
In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:
Set up your Node.js and TypeScript environment and API key
Connect to the OpenAI API using TypeScript
Create an agent with instructions for your business flow
Upload files and let the agent answer questions from them
Write functions the model can call to run logic and fetch real-time data
Test the agent and review the limits of retrieving information
Learn about prompt injection and LLM security methods
Discuss how to scale your agent for business needs
Recommended experience
Experience building software applications, object-oriented programming basics, and prompt engineering for large language models.
5 project images
Instructor

Offered by
How you'll learn
Skill-based, hands-on learning
Practice new skills by completing job-related tasks.
Expert guidance
Follow along with pre-recorded videos from experts using a unique side-by-side interface.
No downloads or installation required
Access the tools and resources you need in a pre-configured cloud workspace.
Available only on desktop
This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
You might also like

Vanderbilt University

Vanderbilt University






