Tutorials
These tutorials walk you through OctoMesh from the first login to your own application. They build on each other, but each one can be read on its own.
Building with your own AI agent?
Quick start: your own AI agent shows in one short page how to build an OctoMesh app with your own AI agent through the MCP server, knowledge pages first. The tutorials below go into each part.
| # | Tutorial | You will learn |
|---|---|---|
| 1 | Getting started with OctoMesh | The core concepts (tenant, Construction Kit, runtime entity, blueprint, pipeline, stream data), a tour of the Refinery Studio and how to log in with octo-cli |
| 2 | Accessing data | How to get an access token and query runtime entities, associations and time series through GraphQL, with curl and Python |
| 3 | Understanding energy data | A use case end to end: the data model of an energy community, metering registers (OBIS codes), data quality, the daily allocation and the key figures derived from it |
| 4 | Building solutions with AI via the MCP server | How to connect an AI assistant to OctoMesh, explore data in natural language and let the assistant generate an evaluation or a small app |
| 5 | Bringing your own data via pipeline endpoints | How HTTP endpoints on the Mesh Adapter work and how to call them from your own devices or services |
| 6 | Data model: reuse or design | When to reuse a public Construction Kit and when to design your own, and how to compile, publish and import a small own model on a local tenant |
| 7 | Data model with an AI assistant | How an AI assistant drafts a Construction Kit model through the MCP server by reusing the public kits, how typical errors show up in the compiler, and how to review the draft with a checklist before the import |
| 8 | Connecting external systems | How to choose between HTTP push, adapter, file and scheduled pull, with a complete example from a public weather API to entities and a time series, and where to start when you need your own adapter |
| 9 | Building your own application with your AI agent | How your AI agent creates an Angular app from the template repository over the MCP server: it registers the login client, scaffolds a page, generates the GraphQL client from the schema of your tenant, and you see your entities in the browser |
What you need
- An OctoMesh tenant and a user account in it. The examples use the
placeholders
<tenant>for the tenant id and<your-domain>for the domain of your OctoMesh installation, so the asset repository is reachable athttps://assets.<your-domain>and the identity service athttps://connect.<your-domain>. Your administrator tells you the actual values. - A web browser for the Refinery Studio.
- For the command-line parts: octo-cli,
curl, and Python 3.10 or newer with therequestspackage. - For tutorial 4: an MCP-capable AI client such as Claude Code or Claude Desktop.
Read-only first
Tutorials 1 to 4 only read data. You can follow them in a productive tenant without changing anything. Tutorial 5 writes data, so use a test tenant for it.
Where to go next
The tutorials link to the reference documentation wherever a topic goes deeper:
- Technology Guide → Data Access for every query option of the GraphQL API
- Technology Guide → Construction Kits for data modelling
- Technology Guide → Communication for adapters and pipelines
- Glossary for the terms used throughout the documentation