Training course · AI Agent Development · Rust

AI Agent Development for Rust Developers

Build AI agents professionally: architectures, tool use, agent SDKs, LangGraph, memory, evals, guardrails and deployment.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“AI Agent Development for Rust Developers” is a hands-on course for roles such as Rust developers working on systems and back-end projects, C and C++ developers moving to Rust or porting modules and Embedded and IoT developers using Rust. Rather than learning AI Agent Development in the abstract, you work on tasks from your daily routine – with examples, exercises and templates from Rust.

AI agents go beyond conventional chatbots: they break tasks down, call tools and APIs, evaluate the results and keep iterating until a goal is met. In this two-day course you learn to build such systems so that they work reliably, transparently and safely in day-to-day business. You compare architectural patterns ranging from simple workflows through the agent loop to multi-agent systems, and you implement them hands-on with the Claude Agent SDK, the OpenAI Agents SDK and LangGraph.

The focus is not on a quick demo but on the path to production. You design tool interfaces and context deliberately, connect tools via the Model Context Protocol, plan short-term and long-term memory and build evaluations that surface regressions early. On top of that come guardrails against prompt injection and harmful actions, human-in-the-loop approvals, tracing, cost control and deployment. By the end you can judge when an agent is worthwhile, when a deterministic workflow is enough and which framework fits your project.

Rust is gaining ground wherever memory safety and performance have to go hand in hand: in systems software, embedded projects, network services, WebAssembly and security-critical components. The learning curve is steep – ownership, lifetimes, traits and async runtimes challenge even experienced developers. AI coding assistants and agents prove to be patient sparring partners here: they explain borrow checker errors, suggest suitable ownership structures, write tests and property-based tests, port C or C++ modules incrementally and work through Clippy lints. Because the compiler gives very precise feedback, agents can iterate all the way to compiling, safe code. This course teaches you to exploit that feedback loop and to scrutinise unsafe code with particular care.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • Rust developers working on systems and back-end projects
  • C and C++ developers moving to Rust or porting modules
  • Embedded and IoT developers using Rust
  • Security and platform teams focused on memory safety

Typical challenges we address

  • Hard-to-understand borrow checker and lifetime errors
  • Complex trait hierarchies, generics and async code with Tokio
  • Laborious porting of existing C or C++ codebases across FFI boundaries
  • Handling unsafe blocks responsibly and justifying each one

What you will be able to do

  • You choose the right pattern for a task, from a fixed workflow to an autonomous agent.
  • You design tools and context so that agents work reliably and cost-effectively.
  • You implement agents with the Claude Agent SDK, the OpenAI Agents SDK or LangGraph.
  • You set up evaluations and tracing to measure quality and detect regressions.
  • Use AI agents as sparring partners for ownership, lifetimes, traits and async Rust.
  • Generate tests, ports and services and verify them with the compiler, Clippy and Miri.
  • Systematically assess generated unsafe and FFI code for memory safety.

Course outline

Day 1

Module 1 Agent architectures and design patterns
  • Workflows versus agents: prompt chaining, routing, parallelisation, orchestrator-worker
  • The agent loop: plan, act, observe, reflect
  • Multi-agent systems, subagents and handoffs between agents
  • Criteria for choosing model, framework and level of autonomy
Module 2 Tool use and context engineering
  • Function calling and structured outputs with JSON Schema
  • Designing good tools: granularity, naming, error messages, idempotency
  • Connecting and reusing tools via MCP servers
  • Managing the context window: summarisation, compaction, retrieval and prompt caching
Module 3 Frameworks in practice
  • Claude Agent SDK: agent loop, tools, subagents, permissions and hooks
  • OpenAI Agents SDK: agents, handoffs, guardrails and tracing
  • LangGraph: stateful graphs, checkpointing and human-in-the-loop
  • Side-by-side comparison on the same task and criteria for choosing a framework
Module 4 Memory, evals and observability
  • Short-term and long-term memory, storage strategies and forgetting
  • Evaluation datasets, LLM-as-a-judge and task-based success metrics
  • Tracing tool calls, token usage and latency
  • Regression testing when prompts, models or tools change

Day 2

Module 5 Guardrails, security and deployment
  • Protecting against prompt injection, data exfiltration and over-privileged tools
  • Input and output checks, approval steps and sandboxing
  • Deploying as a service, asynchronous execution, retries and cost limits
  • Governance, audit logging and requirements under GDPR and the EU AI Act
Module 6 Practice lab: Rust
  • Understanding and fixing compiler errors
  • Tests and property-based tests
  • Porting C and C++ modules
  • Async services with Tokio
  • Clippy and idiomatic code
  • Reviewing unsafe code
Module 7 Data protection, quality & transfer to daily work
  • Rust is often used in security-critical components for which the Cyber Resilience Act sets requirements on vulnerability handling and SBOMs. Check new crates for vulnerabilities and licences with cargo-audit or cargo-deny, and treat proprietary systems code as confidential when using cloud-hosted models.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Understanding and fixing compiler errors

The assistant explains borrow checker and lifetime errors in plain language, deliberately proposes alternative ownership structures such as references, Rc or cloning, and iterates with cargo check until the build is clean.

Tests and property-based tests

The AI writes unit and integration tests, doc tests and property-based tests with proptest that check invariants over many generated inputs, uncovering edge cases in parsers or algorithms.

Porting C and C++ modules

Existing code is moved to Rust module by module, FFI bindings are created with bindgen or cbindgen and behaviour is safeguarded by shared tests run against the old and new implementations.

Async services with Tokio

Specifications become HTTP or gRPC services built with Axum or Tonic, including structured error types, graceful shutdown, tracing and sensible handling of cancellation and timeouts.

Clippy and idiomatic code

Clippy lints are worked through systematically, error handling standardised with thiserror or anyhow, and iterators, pattern matching and traits used idiomatically. Existing tests safeguard every change.

Reviewing unsafe code

The agent inventories unsafe blocks, documents their safety invariants, proposes safe alternatives and runs Miri to detect undefined behaviour. Each justification is recorded as a SAFETY comment in the code.

Possible hands-on projects

Fast log parser

A Rust CLI that streams large log files, detects patterns with regular expressions and outputs statistics – with benchmarks comparing it against a scripting-language version.

Axum microservice

A small REST service using Axum, SQLx, structured tracing and integration tests, planned and implemented end to end by an AI agent.

WebAssembly module

A compute-heavy function, such as image processing or validation, packaged as a WebAssembly module with wasm-bindgen and embedded in a simple web page.

Prerequisites

Solid programming skills in Python or TypeScript, experience with REST APIs and some hands-on experience with LLM APIs or AI assistants. Basic Rust experience with Cargo, ownership and traits, plus experience in at least one other systems or back-end language.

Technical requirements

A laptop with Python or Node.js, Git and a code editor, plus API access to at least one LLM provider such as Anthropic or OpenAI. Credentials for the exercises can be provided if needed.

Data protection & compliance

Rust is often used in security-critical components for which the Cyber Resilience Act sets requirements on vulnerability handling and SBOMs. Check new crates for vulnerabilities and licences with cargo-audit or cargo-deny, and treat proprietary systems code as confidential when using cloud-hosted models.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Thu, 26 November 2026 – Fri, 27 November 2026 Online Request
  • Mon, 7 December 2026 – Tue, 8 December 2026 Stuttgart Request
  • Thu, 7 January 2027 – Fri, 8 January 2027 Hanover Request
  • Thu, 21 January 2027 – Fri, 22 January 2027 Online Request
  • Thu, 4 February 2027 – Fri, 5 February 2027 Berlin Request
  • Wed, 17 February 2027 – Thu, 18 February 2027 Online Request

Frequently asked questions

Which agent framework should we use?

It depends on your model strategy, the level of control you need and your team’s skills. Vendor SDKs offer a lean start with tightly integrated features, while LangGraph gives you finer control over state and flow. In the course you solve the same task with several frameworks and derive clear selection criteria for your own project.

How do you stop an agent from taking wrong or dangerous actions?

With several layers of protection: narrowly scoped tools with minimal permissions, input and output validation, approval steps for critical actions, sandboxing and continuous evaluation. Prompt injection via external content is treated as a realistic threat. You practise these measures directly on your own agent.

Does every automation need an agent?

No. Many tasks are handled more reliably, cheaply and transparently by a fixed workflow of a few LLM calls. Agents pay off when the solution path cannot be planned in advance and the system must react flexibly to intermediate results. We train exactly this trade-off using practical examples.

Can AI help me get started with Rust?

Very much so. AI assistants explain compiler errors patiently and in the context of your own code, show alternative approaches and explain why the borrow checker rejects a construct. The key is to understand the explanations rather than accept suggestions blindly, so the course relies on hands-on exercises in which you work out solutions together with the AI.

How reliable are AI ports from C++ to Rust?

They work well for clearly bounded modules when behaviour is protected by tests. The tricky parts are pointer arithmetic, shared mutable state or undefined behaviour in the original. On the course you learn to port incrementally, run differential tests against the old implementation and keep unsafe code to a deliberate minimum.

How much does “AI Agent Development for Rust Developers” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for Rust Developers

More AI Agent Development courses

All 30 AI Agent Development courses