---
title: "Discussion on \"Harness or Runtime? I Ran the Same AI Agent Both Ways\" | Hashnode"
description: "Discussion on \"Harness or Runtime? I Ran the Same AI Agent Both Ways\". I ran the same AI agent two ways on AWS, once as a Harness and once as my own code on Runtime. Both gave the right answer, and the times were close: 1.8 seconds and 2.2 seconds. The real difference is"
url: "https://hashnode.com/posts/harness-or-runtime-i-ran-the-same-ai-agent-both-ways/6aecb078129499b548275023"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Harness or Runtime? I Ran the Same AI Agent Both Ways](https://blog.lalitbagga.com/harness-or-runtime-i-ran-the-same-ai-agent-both-ways?utm_source=hashnode&utm_medium=feed)

I ran the same AI agent two ways on AWS, once as a Harness and once as my own code on Runtime. Both gave the right answer, and the times were close: 1.8 seconds and 2.2 seconds. The real difference is

Nov 5 · 4 min read · blog.lalitbagga.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#bedrock-agentcore](https://hashnode.com/tag/bedrock-agentcore)
-   [#agentcore](https://hashnode.com/tag/agentcore)
-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-agent](https://hashnode.com/tag/ai-agent)

## Written by

[Lalit Bagga](https://hashnode.com/@lbagga)

@lbagga

  
[View profile](https://hashnode.com/@lbagga)

Software Engineer at Bayer transitioning into Cloud and DevOps engineering, with 8+ years of software development experience across mobile and web. Currently working hands-on with AWS infrastructure, Terraform, and Kubernetes in a production environment. ⚙️ Technical Foundation AWS Certified Solutions Architect Associate and Cloud Practitioner, currently pursuing HashiCorp Terraform Associate, with hands-on focus on: - Infrastructure as Code (Terraform, Helm) - CI/CD pipelines (GitHub Actions, OIDC-based AWS authentication) - Container orchestration (AWS EKS, Kubernetes) - Serverless architecture (Lambda, S3, SNS, SQS, API Gateway) At Bayer I work alongside senior infrastructure engineers on production AWS EKS deployments, writing Terraform for real infrastructure, and building automated pipelines. Open to connecting with cloud professionals and exploring Cloud Engineer, DevOps Engineer, and Platform Engineer opportunities in Ottawa and remote. 🤝

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
