Skip to content

Tutorials

Each tutorial is a small, complete project that runs. Start at the top: every one adds one idea to the ones before it. All the code is in examples/, in TypeScript, Python and C#.

#TutorialYou’ll learn
1Hello, agentagents, interactions, deploying, running
2Prompts and inputsprompt files, inputs, optional text
3Typed answersJSON answers that match a schema
4Runsstarting a run without waiting, its status, listing and cancelling runs
5Watch it thinkstreaming the reply as it’s written
6Routed agentsa router that hands each question to the right specialist
7A chatconversations with a person
8Your first toolletting an agent call an API
9Call your codetools on your own server, secrets
10Approvalsa person approving a tool call before it happens
11Know when it’s donewebhooks
12Live eventsfollowing your runs live over one WebSocket
13Your documentsknowledge bases (RAG)
14Search the webbuilt-in web search and fetch
15Files for agentsvirtual file systems
16Appsapps that orchestrate agents
17On a scheduleautomations
18Sub-interactionsagents that start other agents, in parallel
19Managed teamsa manager that hands out work, and which team pattern to use
20Memoryagents that remember people
21Sandboxesrunning code in a capsule
22Code pipelinesAI coding agents on your git repo
23Support deskall of it together in a support console you can deploy
24Your customers’ keyscredentials and credential stacks: each customer on its own key

Finish Get started first. You need:

  • an API key, in the MAITENTO_API_KEY environment variable;
  • a namespace for the tutorials, in MAITENTO_NAMESPACE. We use tutorials;
  • a DeepSeek model key, because the tutorial agents use DeepSeek’s deepseek-v4-flash. To use another provider, change model in each agent file to a model you have a key for.

Each tutorial’s code deploys its own project, so you can run them in any order once you’ve done the first. Two build on the one before: tutorial 10 uses tutorial 9’s orders API and secret, and tutorial 17 schedules tutorial 16’s app.

# Node.js 22.18 or later runs TypeScript directly.
cd examples/01-hello-agent/typescript
npm install
node hello.ts