Agentic AI The Hard Way

Hands-on Kubernetes labs that take you from a human-in-the-loop assistant to sandboxed, gateway-secured, observable agentic workloads.

Stars
★ 76
Last updated
1mo ago
FARS reviewed
Oct 18, 2026
Primary language
HTML

At a glance

How it runs
Self-hosted serviceFramework
Works with
Universal · cross-platformOpenAI APIClaude API (Partial support)
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
Kubernetes clusterkagentagentgatewayMCP servervLLM or Ollama (local models)Terraform (optional, cluster creation)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
Platform engineers or SREs who want an agent to diagnose and fix a broken app in their cluster while keeping a human in the loop.
Not a fit if
  • Teams wanting finished docs — several lab links are still blank.
  • Readers without a Kubernetes cluster or a way to run local models.
  • Anyone expecting a hosted product or a one-command install.
Maintenance
Commits in the last 6 monthslast commit 2026-10-18

What does this agent do, and when should you use it?

Agentic AI The Hard Way is a free, work-in-progress lab repository (started 2026-01-04) that walks engineers through four agentic AI scenarios: a Platform Engineering Assistant, The Observer, an Autonomous k8s Engineer, and Isolated Agents. Each scenario is a sequence of step-by-step lab files that deploy real components onto Kubernetes: kagent as the declarative agent runtime, vLLM/llm-d or Ollama for local models, Model Context Protocol servers that expose tools such as listing pods, reading events and deploying workloads, agentgateway as the AI gateway for prompt guards, rate limiting and inference routing, and Agent Substrate for sandboxing. Observability, agent identity, an agent registry for shadow AI, agent evaluations and performance testing are treated as first-class lab steps rather than afterthoughts. Setup rests on a prerequisites document plus optional Terraform configurations for Azure, AWS or GCP clusters; the repository ships no packaged installer. Because several lab links are still empty, it reads best as a curriculum in progress rather than a finished product.

The repository breaks each scenario into ordered lab files. The Platform Engineering Assistant path deploys an intentionally broken app (the-broken-apps/pe-assistant-app), then deploys kagent, configures vLLM and llm-d, creates an Agent, installs agentgateway with a Gateway and ModelConfig, wires up an MCP Server tool, collects metrics and traces, adds agent identity and an agent registry, and finishes with a Researcher Agent plus Agent Evals for platform engineering tasks. The Observer path uses CrewAI with a local Ollama-served deepseek-r1:8b, then adds long-term memory, web search/RAG, Agent Skills, agentgateway and a registry that stores Skills and prompts. The Autonomous k8s Engineer path runs kagent against an OpenAI GPT model, deploys a demo app, scales pods down, then deploys a self-healing agent and self-healing checker and reviews logs. The Isolated Agents path combines kagent with Agent Substrate for software- and hardware-level isolation, covering sandbox installation, Kagent Substrate, a bring-your-own harness (Hermes) and egress through agentgateway; a separate standalone Substrate track covers components, installation, the first Actor, multi-tenant Actors, MicroVM isolation, parking and autoscaling, multiplexing, observability, worker packing, OpenFGA ReBAC permissions and cost comparison.

  1. Platform engineers or SREs who want an agent to diagnose and fix a broken app in their cluster while keeping a human in the loop.
  2. On-call engineers who want to hand the 2 a.m. log hunt to an observer agent with long-term memory, web search/RAG and Agent Skills.
  3. Teams already on Kubernetes that want to create and host agents declaratively instead of writing their own Python framework code.
  4. Security or platform teams that must sandbox agents and prove their egress only flows through a gateway.
  5. Architects evaluating prompt guards, rate limiting, inference routing, agent identity and a shadow-AI registry against real traffic.
  6. Teams preparing to put agent evaluations and performance testing into their delivery pipeline but lacking a reference lab.

How do you install or deploy this agent?

There is no packaged installer. The path is: prepare a cluster, then work through the lab files in order. The README points to three entry documents: the prerequisites file (prerequisites.md), an optional Kubernetes cluster creation guide (k8s-terraform/setup.md) with Terraform configurations for Azure, AWS and GCP, and a workstation setup directory (workstation-setup/) containing laptop.md, terminal.md, agent-runtime.md and a-few-key-features.md.

The actual kubectl, Helm or Terraform commands live inside those linked files; their bodies are not included in the source, so no copyable command can be reproduced here. To start, open:

- https://github.com/AdminTurnedDevOps/Agentic-AI-The-Hard-Way/blob/main/prerequisites.md
- https://github.com/AdminTurnedDevOps/Agentic-AI-The-Hard-Way/blob/main/k8s-terraform/setup.md

The prerequisites are not itemised in the README body, which is the biggest missing piece today. From the scenario descriptions you can confirm you need at least a working Kubernetes cluster, kagent, agentgateway, an MCP server, and either a local model runtime (vLLM/llm-d or Ollama) or credentials for a provider such as OpenAI.

How do you use this agent?

Work through the lab files in the order the README lists them; each file is one step. For the Platform Engineering Assistant the documented order is: deploy the intentionally broken app under the-broken-apps/pe-assistant-app, run deploy-kagent.md, configure vLLM and llm-d via vllm-llmd.md, create the Agent with create-agent.md, then complete the agentgateway deployment and the Gateway/ModelConfig update, wire the MCP Server tool (mcp-server-tool-setup.md), handle metrics and traces, agent identity and the shadow-AI registry, and finally run platform-assistant-agent-evals.md.

The other three follow the same pattern: The Observer starts at the-observer/create-agent with CrewAI and a local deepseek-r1:8b; the Autonomous k8s Engineer starts at openai-install.md and continues through demo-app.md, scale-down.md, self-healing-agent.md, logs.md and self-healing-checker.md; Isolated Agents starts with learn-substrate.md and proceeds through installation.md, kagent-substrate.md, byo-harness-hermes.md and inference-with-agw.md. Note that prompt guards, inference routing, rate limiting, MCP security, metrics and traces, agent identity, the registry, long-term memory, RAG and Agent Skills are still empty links awaiting the author.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Four scenarios span the full autonomy gradient — human-in-the-loop assistant, autonomous k8s engineer, fully isolated agents — so readers can compare autonomy levels before choosing one.
  • Treats AI gateway (agentgateway), MCP servers, agent identity, a registry and Agent Evals as lab steps rather than teaching only model calls.
  • Documents both local open-source models (Llama on vLLM/llm-d, deepseek-r1:8b on Ollama) and provider models (OpenAI GPT, Claude), so cost and data-boundary tradeoffs are visible.
  • Ships Terraform cluster configurations for Azure, AWS and GCP, lowering the cost of getting an environment up.
  • The isolation track goes deep: MicroVM isolation, Actor parking and autoscaling, multiplexing, OpenFGA ReBAC permissions and a cost comparison.
Limitations
  • Explicitly a WIP (started 2026-01-04); prompt guards, rate limiting, inference routing, MCP security, observability, agent identity and the registry are empty links.
  • No packaged installer or one-shot script — you must bring your own Kubernetes cluster and execute each lab file by hand, which is a high setup burden.
  • The local-model path pulls in vLLM, llm-d, Ollama and GPU capacity, and the hardware-decision link in the README is blank, so no sizing guidance is given.
  • License status is unknown, so adoption requires checking the terms yourself.
  • Content is mostly tutorial prose plus links, with no automated tests or CI evidence that the labs keep working over time.

How does this agent compare with similar options?

The stack section names two ways to build agents side by side: kagent and CrewAI. kagent is the declarative route — agents are created and run on Kubernetes as resources, which suits teams that already have a cluster and want to manage agents like any other workload. CrewAI is a Python framework for building agents and connecting them to LLMs; the repository uses it only for The Observer, paired with a local Ollama model. They are complementary rather than competing: pick kagent when you need in-cluster hosting and isolation, and CrewAI when you need flexible Python-side orchestration.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Agentic AI The Hard Way This agent 33 · Major gaps Self-hosted serviceFree + model costs ★ 76 1mo ago HTML OpenAI API
AURA SRE Agent Platform 72 · Some gaps CLIFree + model costs ★ 415 25d ago Rust OpenAI API
Archestra 57 · Major gaps Self-hosted serviceFreemium ★ 4.5k today TypeScript Codex · Claude Code · OpenAI API · Claude API
Preloop 81 · Good — ★ 96 today Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
33/ 100 5-point scale 1.7 / 5
Trust 10/29
Reliability 3/14
Adaptability 8/18
Convention 5/18
Effectiveness 4/13
Verifiability 3/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

README mentions Human-In-The-Loop, AI Gateway, MCP security, and agent sandboxing as teaching topics, but the repository is a tutorial/site, not an auditable agent runtime; there is no executable evidence of a permission model, confirmation flow, data-flow description, or rollback mechanism. least_privilege scores 1 only because sandboxing and HITL are mentioned conceptually; user_confirmation is conceptual only; data_flow_transparency and sensitive_data_handling are narrative only; dependency_security scores 2 because GitHub Actions are pinned to SHAs and npm ci uses a lockfile, but dependencies are not audited for vulnerabilities; external_effects scores 1 because the tutorial guides deployments to real clusters; rollback scores 0 with no rollback/recovery guidance; source_attribution scores 1 with external links but no systematic attribution.

Reliability3 / 14 · 1.1/5

README self-describes as WIP and many links are empty (e.g., prompt guards, inference routing, rate limiting, agent identity), creating self-consistency gaps, so self_consistency scores 1; dependency_availability lists Kubernetes, CrewAI, kagent, vLLM, Ollama, etc., but provides no version pinning or availability verification, scoring 1; failure_messages scores 0 with no error handling or failure guidance.

Adaptability8 / 18 · 2.2/5

Four scenarios cover platform engineering, observability, autonomous k8s, and isolated agents, with clear audience and scenario descriptions, so audience_and_scenarios scores 2; capability_boundaries only narratively distinguishes autonomy levels without explicit boundaries or limits, scoring 1; trigger_precision has no trigger conditions or invocation conventions, scoring 1; environment_fit mentions local/cloud and multiple LLMs but lacks environment adaptation details, scoring 1.

Convention5 / 18 · 1.4/5

README is well-structured and organized by scenario, so information_architecture scores 2; install_notes include prerequisites and Terraform cluster creation links, but many links are empty, scoring 1; naming_stability is mostly consistent but has empty links and unfinished sections, scoring 1; examples_and_faq has example scenarios but no FAQ, scoring 1; known_limitations is only a WIP notice, scoring 1; license metadata is unknown and no license file is present, scoring 0; versioning_changelog has no version or changelog, scoring 0; maintenance_responsibility has a WIP notice and author links but no explicit maintenance responsibility, scoring 1.

Effectiveness4 / 13 · 1.5/5

The tutorial provides ideas and lab paths, but many links are empty and content is unfinished, so output_usability scores 1; marginal_value lies in scenario-based teaching but lacks runnable artifacts, scoring 1; cost_benefit requires users to set up clusters and models at high cost with uncertain benefit, scoring 1.

Verifiability3 / 8 · 1.9/5

claim_traceability has some external links but no systematic sourcing, scoring 1; cross_source_corroboration has only README and site tests, lacking multi-source verification, scoring 1; fact_inference_separation mixes narrative and facts without clear separation, scoring 1.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Repository self-describes as WIP with many empty links and incomplete content; it cannot be assessed as a production-grade agent implementation.
  • No license file; terms for use and redistribution are unclear.
  • The tutorial guides deploying agents and MCP servers to real Kubernetes clusters, which may cause external side effects, and provides no rollback or cleanup guidance.
  • Dependency security is only evidenced by pinned GitHub Actions SHAs and an npm lockfile; dependencies are not audited for vulnerabilities.
  • Publisher identity is unverified; maintenance responsibility and update path are unclear.
Evidence confidence: Low Reviewed Oct 18, 2026 Reviewed revision 594acb62328b
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agentic-ai-the-hard-way.svg)](https://followagents.com/en/agents/agentic-ai-the-hard-way)
<a href="https://followagents.com/en/agents/agentic-ai-the-hard-way"><img src="https://followagents.com/badge/agentic-ai-the-hard-way.svg" alt="FARS review"></a>

FAQ

Do I have to bring my own Kubernetes cluster?
Yes. Every scenario runs agents on Kubernetes. If you have no cluster, the README points to k8s-terraform/setup.md, which provides Terraform configurations for Azure, AWS and GCP.
Which labs cost money for model access?
The Autonomous k8s Engineer uses an OpenAI GPT model (other kagent-supported providers are allowed), so it needs matching API credentials. The Platform Engineering Assistant uses local Llama and The Observer uses local deepseek-r1:8b, so those incur no API spend but need hardware capable of serving the model.
Will I hit dead ends following it today?
Possibly. The project is a WIP: prompt guards, inference routing, rate limiting, MCP security, metrics and traces, agent identity, the registry, long-term memory, RAG and Agent Skills are still empty links, so only the written labs can be completed.
How exactly is agent isolation implemented?
Through kagent plus Agent Substrate, which the README describes as providing both software- and hardware-level isolation. That track covers sandbox installation, Kagent Substrate, a bring-your-own harness (Hermes) and egress through agentgateway; the standalone Substrate labs go further into MicroVM isolation, Actor parking and autoscaling, multiplexing and OpenFGA permissions.
Can I learn the concepts without deploying anything?
Yes. The README points to a browser-readable version at agenticfieldguide.ai, useful for understanding the four scenarios and the autonomy gradient before committing to a cluster.
Is Agentic AI The Hard Way open source?
The source code is public on GitHub (AdminTurnedDevOps/Agentic-AI-The-Hard-Way), but the repository does not declare a recognised licence, so the rights to reuse or modify it are unclear. Ask the author or check the README before building on it.
Is Agentic AI The Hard Way safe to use?
FollowAgents' FARS review (Oct 18, 2026) scored Agentic AI The Hard Way 10/29 on trust and safety. The review did not find these safety controls in the source: rollback or recovery path. Before giving it real accounts or data: Back up first, or work on a git branch or snapshot, so its changes can be undone.
Is Agentic AI The Hard Way still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-18, within the last six months but not the last 30 days.
Who makes Agentic AI The Hard Way?
Agentic AI The Hard Way is published on GitHub by the account AdminTurnedDevOps. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts