Skip to content

TIA Portal AI

TIA Portal AI: the agent inside your project

An AI agent and assistant for PLC programming in Siemens TIA Portal V15-V21: it reads your project, writes and tests SCL and imports only after your confirmation. With the LLM of your choice, no vendor lock-in.

TIA Portal V15-V21 · Claude, GPT, Gemini or local · from CHF 10/month

TIA Portal AI with your provider and model

  • Free model choice

    Claude, GPT, Gemini, xAI and 20+ cloud providers with your own key or sign-in, plus Azure OpenAI, Vertex AI and AWS Bedrock.

  • Local if you want

    Ollama, LM Studio, vLLM or SGLang on your own hardware: inference never leaves the machine.

  • Project context over Openness

    The assistant reads blocks, tags and data types of your TIA project and works with the full tool-set.

  • Confirmation before import

    Every change arrives as a diff. Nothing reaches the project until you approve it.

TIA Portal AI in action: an agent writes SCL

An agent creates an SCL block in Siemens TIA Portal, from description to compiled block.

The click loads the video from youtube-nocookie.com. No request goes to Google before that.

More on YouTube
Contents

TIA AI in AnyAutomation Studio, meaning AI for Siemens TIA Portal, is an AI agent and assistant that works inside your TIA project instead of in a chat window next to it: generate SCL blocks, explain and refactor code, write unit tests and work in the TIA project through built-in tools, with external tools attached as an MCP client (more in MCP in AnyAutomation Studio). Studio is multi-provider: you choose the LLM instead of being tied to one vendor. The connection runs over the official Siemens Openness API and works with TIA Portal V15 through V21, which includes legacy projects too old for Siemens' own AI tooling. What AI delivers in PLC programming in general is in the guide to AI for PLC programming; all tools side by side in the comparison of AI tools for PLC programming.

Every change arrives as a diff: you review it before anything enters the project.

First: connect. Studio opens your TIA project over Openness. The assistant sees blocks, tags and references without you copying anything.

Second: assign. You describe the task in the chat ("explain FB_Conveyor", "generate an FB for the pallet turner with interlocking", "write unit tests for FB_Dosing"). The assistant uses its tools: read blocks, produce code, generate SCL, create tests.

Third: review and adopt. Every change arrives as a diff preview. You read, adjust and confirm, and only then does Studio import over Openness into the project. Afterwards, unit tests guard the result against PLCSIM Advanced or the real controller.

Your provider, your model

Instead of one hard-wired vendor, Studio connects the model of your choice: login providers like Anthropic (Claude), OpenAI (GPT), Google (Gemini) and xAI (Grok), cloud providers by API key (OpenRouter, Mistral, Groq, DeepSeek and more), enterprise clouds (Azure OpenAI, Google Vertex AI, AWS Bedrock) and local servers (Ollama, LM Studio, vLLM, SGLang). You bring your own key, and we don't route requests through our server.

Local, private, no lock-in

For maximum confidentiality, inference runs fully local via Ollama & co. Your TIA projects never leave the machine. That is the difference from a single-vendor copilot tied to one provider: no lock-in, free model choice, a local option. More in AI integration and AI chat. Verify generated code straight away with unit tests and bring it into the project over Openness.

An AI agent, not a chat window

The assistant is not just a chat window: as an agent it drives the whole project through the full tool-set (read, generate, export, import and edit blocks, plus EPLAN, live PLC connections and Forge) and can delegate sub-tasks to specialised sub-agents. Via the MCP client you connect your own tools, such as internal systems or check scripts. And you work on several things at once: run the same prompt in parallel across several isolated sessions, also with different models, compare the results and adopt the best. Because the agent lives inside a complete engineering IDE, the results interlock: generated code gets versioned in Git, tested and documented instead of ending up in a chat history. A vendor-bound agent offers neither parallel sessions with different models nor a free choice of model.

On the running PLC: live values over OPC UA

Writing the code is half the job; the other half happens on the running controller. On a PLC you are authorised to access, the agent operates the built-in OPC UA client of Studio: it builds a watch table with the signals of a sequence, observes the values, records several machine cycles as a trace or with the CSV Data Logger and reads the trace samples to point to the cycle where a fault starts. Reading and observing run directly; writes run after you confirm. The full workflow is on the page OPC UA client with AI.

What AI can do in TIA Portal today

Concretely, without marketing fog. First, understand and document: the assistant reads blocks from the project (SCL, STL or graphical sources), explains unfamiliar program logic and produces documentation, the most common entry point on legacy plants. Second, generate: a description ("FB for a conveyor with start/stop and an overload interlock") becomes an SCL block using your project's real tag names and data types, because the AI has project context. The full workflow with prompts lives at generate SCL with AI. Third, refactor and convert: rework existing code, migrate STL legacy to SCL, enforce naming conventions. Fourth, verify: the AI writes SCL unit tests for the generated block and runs them against PLCSIM Advanced or a real S7 PLC.

Generated code lands as SCL in the editor: read it, adjust it, then import.

The workflow never changes: the AI proposes, you see the diff, and only after your confirmation does anything enter the project over Openness. No silent overwrites.

Which model for which task

Multi-provider also means the right model per task. Complex blocks and refactorings deserve a strong reasoning model (Claude, GPT, Gemini in their large variants). Inline completion while typing (grey ghost-text suggestions you accept with Tab) is about latency, so a fast coder model fits there. And confidential plants run a local model via Ollama, LM Studio, vLLM or SGLang, with no cloud at all. A detailed guide with concrete recommendations is on the blog: Which LLM for TIA Portal?

Honest limits

An LLM does not replace a PLC programmer, and generated code does not belong on a plant unreviewed. Language models occasionally invent block names or hardware details, especially without project context, and safety functions (F-technology) remain manual work with formal acceptance. That is exactly why the Studio workflow is built the way it is: project context instead of blind flight, confirmation before every import, diff preview and unit tests as the safety net. Using AI in TIA Portal seriously means treating it like a fast junior: plenty of output, always reviewed.

Siemens AI compared: Eigen and Studio

Siemens has presented its AI for TIA Portal under three names: the chat-based Industrial Copilot (2024), Engineering Copilot TIA (beta 2025) and, since April 2026, the agentic Eigen Engineering Agent. The core differences to Studio are model choice, data flow and version coverage (as of November 2026):

  • Model choice

    AnyAutomation Studio
    Free: Claude, GPT, Gemini, 20+ providers
    Industrial Copilot / Engineering Copilot TIA
    Fixed
    Eigen Engineering Agent
    Fixed
  • Local inference

    AnyAutomation Studio
    Yes, via Ollama & co.
    Industrial Copilot / Engineering Copilot TIA
    Cloud, Azure OpenAI Service (2024)
    Eigen Engineering Agent
    Cloud only, internet required
  • TIA versions

    AnyAutomation Studio
    V15-V21
    Industrial Copilot / Engineering Copilot TIA
    Not named (2024); Engineering Copilot TIA beta: V19 and V20
    Eigen Engineering Agent
    V19 Update 5+, V20 Update 4+, V21
  • Pricing model

    AnyAutomation Studio
    From CHF 10/month, your own API key or local
    Industrial Copilot / Engineering Copilot TIA
    Engineering Copilot TIA Essential on the Siemens Xcelerator Marketplace (2024)
    Eigen Engineering Agent
    Subscription via Siemens DEX

The full comparison across all criteria, including price and the head-to-head with ChatGPT and Claude, is on the Eigen Engineering Agent alternative page.

Frequently asked questions

What is TIA AI?

The short form stands for AI in Siemens TIA Portal: a language model that helps you program SIMATIC controllers, from explaining existing blocks to generating SCL. As a TIA Portal AI assistant it is connected to the TIA project over the Openness API: it reads blocks and tags, generates and refactors SCL, writes unit tests and imports changes into the project after confirmation. In AnyAutomation Studio it works as an agent with the model of your choice.

Which AI providers are supported for TIA Portal?

AnyAutomation Studio is multi-provider: Anthropic (Claude), OpenAI (GPT), Google Gemini, xAI (Grok), cloud providers like OpenRouter, Mistral, Groq and DeepSeek, enterprise clouds (Azure OpenAI, Vertex AI, AWS Bedrock) and local servers (Ollama, LM Studio, vLLM, SGLang). Claude, GPT and Gemini work via login or your own API key, and you choose the model per task in the chat's model picker.

Does the assistant change my project without asking?

No. Every change arrives as a diff preview and only enters the project over Openness after your confirmation.

Does the AI run locally or offline?

Yes. Via Ollama, LM Studio, vLLM or SGLang, inference runs entirely on your own hardware, without any cloud.

Are my TIA projects uploaded to the cloud?

No. Studio works locally; with cloud providers you bring your own API key and requests don't go through our server. For fully local inference, use a local server.

Do I need my own API key?

For cloud providers you bring your own key or login. Local models need no key at all. The AI chat is included from the Basic plan.

What is the best TIA Portal AI?

It depends on your requirements. Siemens Industrial Copilot and the Eigen Engineering Agent are tied to the Siemens cloud and newer TIA versions. AnyAutomation Studio is the multi-provider alternative: free model choice (Claude, GPT, Gemini or local models via Ollama), project-wide context and a local option where projects never leave the machine. A direct comparison lives at Eigen Engineering Agent alternative.

Does TIA Portal have built-in AI?

Siemens offers AI for TIA Portal as products of their own that are obtained separately, as of November 2026 the Eigen Engineering Agent for TIA Portal V19 Update 5 and later, V20 Update 4 and later, and V21. The names Siemens AI has carried so far are sorted out in the overview of Industrial Copilot and Eigen, and what V21 and V21.1 bring is in the post AI in TIA Portal V21 and V21.1. AnyAutomation Studio adds an AI agent with free model choice and a local option to TIA Portal, for V15 through V21.

Which TIA Portal versions does the AI work with?

TIA Portal V15 through V21, over the official Siemens Openness API. That covers legacy projects too old for Siemens' own AI tooling (V19 and later).

Can the AI handle STL or graphical blocks?

The assistant reads block sources from the project, including STL and graphical languages, and generates and converts SCL and STL. A typical case: have STL legacy code explained, then migrate it to SCL step by step.

Can the assistant write unit tests?

Yes. It produces SCL unit-test suites for the block and runs them against PLCSIM Advanced or a real S7 PLC. Unit tests are included from the Pro+ plan. Details at SCL unit tests.

What does AI for TIA Portal cost?

The AI chat is included from the Basic plan (CHF 10 per month, CHF 110 per year). Add your own API key with the model provider, or run a local model with no key at all. Try it free for 30 days, no credit card.

Can ChatGPT or Claude write SCL for Siemens PLCs?

Yes, both write usable SCL, but in the browser they have no access to your project: block names, tags and data types are guessed, and you copy the code into TIA Portal by hand. So always review and test generated code before it goes onto a plant. In AnyAutomation Studio the same models work with the real project context and bring the code into the project over Openness, with a diff and only after your confirmation. More on the blog: ChatGPT for TIA Portal.

Can I use Claude or Claude Code with TIA Portal?

Yes. In the browser Claude writes good SCL but does not see your project. Inside AnyAutomation Studio Claude works with the real TIA project, behind approvals and a diff before every import: sign in with your Claude Pro or Max subscription (an existing Claude Code login can be reused) or use an Anthropic API key. If you want to use Claude Code or another MCP client directly with TIA Portal instead of the Studio IDE, use the AnyAutomation MCP server for TIA Portal.

Does it work with MCP?

Yes, as a client. The TIA tools are built into the AI chat, and you can add external MCP servers (local or remote) whose tools appear next to them. Studio itself is not an MCP server for other AI clients. How to connect your own servers is in the post MCP in AnyAutomation Studio.

Can an AI read and explain my existing TIA project?

Yes, that is the most common entry point. The assistant reads blocks, tags and data types straight from the project, including STL and graphical languages, explains the program logic, names states and interlocks, and writes documentation you can keep with the project. New colleagues ask their questions in the chat instead of reverse-reading a plant they have never seen.

How does an AI agent inside TIA Portal help automation engineers write PLC code faster?

It removes the copy work and the round trips. The agent reads blocks, tags and data types straight from the project, so generated SCL uses your real names; it writes the block, shows the diff, imports after your confirmation, compiles and runs unit tests on PLCSIM Advanced. Explaining legacy code, converting STL to SCL and writing test suites are where most of the time is saved. You still review every change.

Can an AI agent in TIA Portal configure drives, motors and network hardware?

Yes, on request and never without you. The agent plugs, moves and deletes modules, creates subnets and IO systems and sets addresses, and on SINAMICS drives it changes parameters, telegrams, motor and encoder data (from TIA Portal V18, some functions from V20, with the drive package installed). By default every change asks for your confirmation first, and anything that goes online to a drive, such as a download, runs through a Studio dialog that only you can confirm. Hardware and drive editing are included from Pro, the online functions from Pro+.

Can the AI agent see live values of my PLC?

Yes, over OPC UA, from Pro+. The agent connects to the controller, builds watch tables, records a sequence and works through the trace samples; writes run after your confirmation. Details on the page OPC UA client with AI.

Is this a Siemens product?

No. AnyAutomation Studio is independently developed and uses the official Siemens Openness API. Siemens' AI offering today is the Eigen Engineering Agent, before that Industrial Copilot; the comparison shows the differences.

Try it now

Use AI in TIA Portal with your model

Try AnyAutomation Studio free for 30 days, no credit card. For TIA Portal V15-V21 and CODESYS 3.5.

Free account required: sign in with your email address and a code, then the download starts.

Questions? support@anyautomation.ch