Not run
Run this case to see feedback from your code.
October workshops are openBuild a Search AI Agent$99 early bird
Enroll nowLEARN · BUILD · EXPERIMENT
One idea at a time. Real code you can change.
missions checked
Preset case: 18 students
18 students · $70 budget · approval off
Run executes agent.js with this input. Its returned value and observed calls will appear here.
Run this case to see feedback from your code.
OPEN-SOURCE PATH · OPTIONAL
Use LangGraph, a real room tool, and a local Qwen model through Ollama. Start with the offline test; connect the model when you are ready.
Optional · Node.js 22+ · Your own computer · Ollama model download for live runs
Download the setup file into a new folder. Run the commands below, then open the generated README in your editor.
The setup file creates seven readable project files in a new folder. It never installs packages automatically or overwrites an existing project.
node setup-ai-lab.mjs cd stemtiq-local-agent-lab npm install npm run check npm test
These files run on your computer. The browser’s Run button executes agent.js in the classroom simulator. Install Ollama and download the local model only when you choose to follow the README.
One read-only tool · Up to 4 model turns / 3 tool calls · 30-second run abort · No booking or shell tools
Pinned packages, TypeScript, offline graph tests, and the missing-service message were checked. Live model output has not been verified.
THE NEXT STEP
Explore a separate example that uses a real agent SDK. Read the code here, then run it in your own environment with an API key. This browser lab never asks for one.
# Use Node.js 22 or later in a separate folder. # Real runs require an OpenAI API account/key and may incur API charges. npm init -y npm pkg set type=module npm install @openai/agents@0.18.0 zod@4 npm install --save-dev typescript tsx @types/node@22 # Save the downloaded example as real-agent.ts. # Set OPENAI_API_KEY privately in your terminal environment before running. # Optional: set OPENAI_MODEL to a compatible model available to your API project. npx tsx real-agent.ts