<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guides &amp; Tutorials on The Mandrel Project</title><link>https://mandrel-web-363efb.gitlab.io/docs/guides/</link><description>Recent content in Guides &amp; Tutorials on The Mandrel Project</description><generator>Hugo</generator><language>en-us</language><copyright>2026 Barefoot Coders LLC</copyright><atom:link href="https://mandrel-web-363efb.gitlab.io/docs/guides/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started</title><link>https://mandrel-web-363efb.gitlab.io/docs/guides/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mandrel-web-363efb.gitlab.io/docs/guides/getting-started/</guid><description>&lt;p&gt;Governing an agent with Mandrel takes four steps: author a Mandrel Spec, validate it with the CLI, run the agent behind a Collet sidecar locally, then deploy the same spec to Kubernetes. This guide works through all four.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mandrel-web-363efb.gitlab.io/docs/reference/cli/"&gt;Mandrel CLI&lt;/a&gt; installed:
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;go install gitlab.com/the-mandrel-project/mandrel-cli/cmd/mandrel-cli@latest
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Container engine: Podman (recommended) or Docker, with Compose support.&lt;/li&gt;
&lt;li&gt;A Kubernetes cluster (optional, for Tier 2+ deployment).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="1-create-a-mandrel-spec"&gt;1. Create a Mandrel Spec&lt;/h2&gt;
&lt;p&gt;Every agent in the Mandrel mesh requires a declarative contract. Create a file named &lt;code&gt;agent-spec.yaml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Deployment Variants</title><link>https://mandrel-web-363efb.gitlab.io/docs/guides/deployment-variants/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mandrel-web-363efb.gitlab.io/docs/guides/deployment-variants/</guid><description>&lt;p&gt;The Mandrel Project is designed as a &lt;strong&gt;Universal Governance Overlay&lt;/strong&gt;. While Kubernetes with the Gantry Operator is the reference &amp;ldquo;Gold Standard&amp;rdquo; for assurance, Mandrel&amp;rsquo;s enforcement logic is portable across any compute environment or agentic framework.&lt;/p&gt;
&lt;h2 id="architectural-patterns"&gt;Architectural Patterns&lt;/h2&gt;
&lt;p&gt;Mandrel adapts its &amp;ldquo;Clamping&amp;rdquo; mechanism to match the native capabilities of the target platform.&lt;/p&gt;
&lt;h3 id="1-the-sidecar-kubernetes--serverless"&gt;1. The Sidecar (Kubernetes &amp;amp; Serverless)&lt;/h3&gt;
&lt;p&gt;The reference pattern where the &lt;a href="https://mandrel-web-363efb.gitlab.io/docs/reference/collet/"&gt;Collet&lt;/a&gt; sidecar and the Agent share a network namespace.&lt;/p&gt;</description></item><item><title>Egress Governance Architecture</title><link>https://mandrel-web-363efb.gitlab.io/docs/guides/egress-governance/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mandrel-web-363efb.gitlab.io/docs/guides/egress-governance/</guid><description>&lt;p&gt;In an agentic mesh, outbound tool calls (MCP resources/tools) and downstream agent delegations are structurally equivalent from a governance perspective. Both represent an agent exercising authority outside its immediate boundary.&lt;/p&gt;
&lt;p&gt;Mandrel governs egress traffic through a decoupled policy-and-proxy model, adapting to Kubernetes and non-Kubernetes environments alike.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-decoupled-proxy-architecture"&gt;The Decoupled Proxy Architecture&lt;/h2&gt;
&lt;p&gt;Mandrel separates policy definition from network-level traffic interception:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Mandrel Collet&lt;/strong&gt;: Evaluates business logic, identity (Compound Identity / SPIFFE), cost budgets (Chips), and governance matrices.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Envoy Proxy / Mesh Data Plane&lt;/strong&gt;: Handles transparent &lt;code&gt;iptables&lt;/code&gt;-based L3/L4 network interception, mTLS transport encryption, and connection pooling.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="mermaid"&gt;graph LR
 subgraph Pod / Container Group
 AGENT[Specialist Agent] --&amp;gt;|Outbound Call| ENV[Envoy Interceptor]
 ENV --&amp;gt;|Policy Check| COL[Collet Sidecar]
 COL --&amp;gt;|Permitted| GW[Egress Gateway / External System]
 end&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id="deployment-modes"&gt;Deployment Modes&lt;/h2&gt;
&lt;h3 id="1-kubernetes-with-gantry-operator-gold-standard"&gt;1. Kubernetes with Gantry Operator (Gold Standard)&lt;/h3&gt;
&lt;p&gt;In Kubernetes environments managed by the Gantry Operator:&lt;/p&gt;</description></item><item><title>Kong Gateway &amp; Mesh Integration</title><link>https://mandrel-web-363efb.gitlab.io/docs/guides/kong-integration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mandrel-web-363efb.gitlab.io/docs/guides/kong-integration/</guid><description>&lt;p&gt;The &lt;strong&gt;Kong Gateway &amp;amp; Mesh Integration&lt;/strong&gt; allows Mandrel to act as the declarative contract layer (&amp;ldquo;The Brain&amp;rdquo;) while delegating high-performance edge traffic control and routing enforcement to the Kong AI Connectivity platform (&amp;ldquo;The Muscle&amp;rdquo;).&lt;/p&gt;
&lt;p&gt;By compiling a &lt;strong&gt;Realized Spec&lt;/strong&gt; into native Kong Custom Resource Definitions (CRDs), platform teams can secure agent networks, restrict tool usage, and prevent runaway LLM loops without changing a single line of agent code.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-translation-plugin-mandrel-generator-kong"&gt;The Translation Plugin (&lt;code&gt;mandrel-generator-kong&lt;/code&gt;)&lt;/h2&gt;
&lt;p&gt;Mandrel features a subprocess-based &lt;code&gt;mandrel-cli&lt;/code&gt; plugin discovered automatically on &lt;code&gt;$PATH&lt;/code&gt; as &lt;code&gt;mandrel-generator-kong&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>