What you’ll learn:
- How to use a Metorial provider
- How to use the Metorial SDKs
- Complete the Introduction guide
- Complete the Deploying your first provider guide
- Complete the Testing your first provider guide
3. Fetch Your Provider Tools
Create a session that exposes your deployed provider tools. Steps 4–6 happen inside the session callback (TypeScript) or context manager (Python).
5. Loop & Handle Tool Calls
- Send
messagesto OpenAI, passingtools: session.tools(TS) ortools=session.tools(Py). - If the assistant response contains
tool_calls, invoke it:
- Append both the tool call requests and their results to
messages. - Repeat until the assistant’s response has no more
tool_calls.
What’s Next?
You are all set on having a production-ready provider to use in your AI apps. Next, you will learn about all the observability tooling available.Next Up: How to monitor your provider and tool calls
Learn how to use the observability & logging features.