<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr" -->

---
title: Easiest Way to Run Agent Harnesses Using Local Models
description: A newsletter covers two tools: Dynatrace's open-source reference application showing how to trace an LLM pipeline (retrieval, embeddings, generation, agent...
canonical: https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Easiest Way to Run Agent Harnesses Using Local Models | daily.dev
og:description: A newsletter covers two tools: Dynatrace's open-source reference application showing how to trace an LLM pipeline (retrieval, embeddings, generation, agent...
og:url: https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr
og:image: https://api.daily.dev/og/posts/GCw6Y1dJr.png
og:image:alt: Easiest Way to Run Agent Harnesses Using Local Models
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Easiest Way to Run Agent Harnesses Using Local Models

**[Daily Dose of Data Science \| Avi Chawla \| Substack](https://daily.dev/sources/dailydoseofds)** · 3 min read · 1 upvotes · 0 comments

## Summary

A newsletter covers two tools: Dynatrace's open-source reference application showing how to trace an LLM pipeline (retrieval, embeddings, generation, agent tool calls) end-to-end using OpenTelemetry, Traceloop, and Amazon Bedrock, exported to Dynatrace via OTLP. It also highlights Magnitude, an open-source CLI that profiles a machine's hardware and benchmarks it to recommend which local LLMs are practically runnable for agent workloads, then connects the chosen model to coding harnesses like Claude Code, Codex, OpenCode, or Pi in two commands.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.dailydoseofds.com/p/easiest-way-to-run-agent-harnesses>

## Questions this post answers

### How can I figure out which local LLM my laptop can actually run for a coding agent?

Magnitude, an open-source CLI, profiles your machine and benchmarks the hardware to estimate which models are practically fast enough rather than merely loadable in memory. It accounts for context length affecting KV-cache usage, quantization affecting memory and throughput, and the repeated long inference workloads typical of agent loops, then recommends candidate models before connecting one to a harness like Claude Code, Codex, OpenCode, or Pi via two CLI commands (npm i -g @magnitudedev/cli, magnitude setup).

_daily.dev surfaces tools like this for developers weighing local versus hosted models for coding agents._

### How do I trace what's happening inside a RAG or agentic LLM pipeline instead of just measuring total request latency?

Dynatrace published an open-source reference application demonstrating this: a Python travel advisor with basic, RAG, and agentic execution paths using Amazon Bedrock for generation and embeddings. OpenTelemetry and Traceloop instrument the workflow and export traces via OTLP to Dynatrace, letting you see the completion request as a distributed trace across embedding, retrieval, generation, and tool-call steps rather than one opaque HTTP call.

_developers instrumenting LLM apps before production debugging can find similar deep dives on daily.dev._

## Similar posts on daily.dev

- [Using Local Coding Agents](https://daily.dev/posts/using-local-coding-agents-oxctgltkz) · Sebastian Raschka · 2 upvotes · 0 comments
- [OpenLLMetry: Instrumentation For Your Agent Workflows](https://daily.dev/posts/openllmetry-instrumentation-for-your-agent-workflows-vzofdpmrr) · Cloud Native Now · 1 upvotes · 0 comments
- [Stop Guessing Which Local Model To Run](https://daily.dev/posts/stop-guessing-which-local-model-to-run-li3wod384) · Daily Dose of Data Science \| Avi Chawla \| Substack · 1 upvotes · 0 comments
- [Debug and evaluate your AI app from your coding agent with Datadog Agent Observability](https://daily.dev/posts/debug-and-evaluate-your-ai-app-from-your-coding-agent-with-datadog-agent-observability-uwbwi17jy) · Datadog · 0 upvotes · 0 comments
- [From Black Box to Observability: Tracing OpenClaw with MLflow](https://daily.dev/posts/from-black-box-to-observability-tracing-openclaw-with-mlflow-4aomzss9g) · mlflow · 1 upvotes · 1 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#opentelemetry](https://daily.dev/tags/opentelemetry), [#local-ai](https://daily.dev/tags/local-ai), [#llm-observability](https://daily.dev/tags/llm-observability)

[View this post on daily.dev](https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Easiest Way to Run Agent Harnesses Using Local Models","url":"https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr"},"datePublished":"2026-09-15T22:03:19.189Z","dateModified":"2026-09-15T22:03:45.279Z","description":"A newsletter covers two tools: Dynatrace's open-source reference application showing how to trace an LLM pipeline (retrieval, embeddings, generation, agent...","image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","thumbnailUrl":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","isAccessibleForFree":true,"articleSection":"Daily Dose of Data Science | Avi Chawla | Substack","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Daily Dose of Data Science | Avi Chawla | Substack","logo":"https://media.daily.dev/image/upload/s--4IHQgTOw--/f_auto/v1710503712/logos/dailydoseofds","url":"https://daily.dev/sources/dailydoseofds"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,opentelemetry,local-ai,llm-observability","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Daily Dose of Data Science | Avi Chawla | Substack","item":"https://daily.dev/sources/dailydoseofds"},{"@type":"ListItem","position":3,"name":"Easiest Way to Run Agent Harnesses Using Local Models"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/easiest-way-to-run-agent-harnesses-using-local-models-gcw6y1djr#faq","mainEntity":[{"@type":"Question","name":"How can I figure out which local LLM my laptop can actually run for a coding agent?","acceptedAnswer":{"@type":"Answer","text":"Magnitude, an open-source CLI, profiles your machine and benchmarks the hardware to estimate which models are practically fast enough rather than merely loadable in memory. It accounts for context length affecting KV-cache usage, quantization affecting memory and throughput, and the repeated long inference workloads typical of agent loops, then recommends candidate models before connecting one to a harness like Claude Code, Codex, OpenCode, or Pi via two CLI commands (npm i -g @magnitudedev/cli, magnitude setup). daily.dev surfaces tools like this for developers weighing local versus hosted models for coding agents."}},{"@type":"Question","name":"How do I trace what's happening inside a RAG or agentic LLM pipeline instead of just measuring total request latency?","acceptedAnswer":{"@type":"Answer","text":"Dynatrace published an open-source reference application demonstrating this: a Python travel advisor with basic, RAG, and agentic execution paths using Amazon Bedrock for generation and embeddings. OpenTelemetry and Traceloop instrument the workflow and export traces via OTLP to Dynatrace, letting you see the completion request as a distributed trace across embedding, retrieval, generation, and tool-call steps rather than one opaque HTTP call. developers instrumenting LLM apps before production debugging can find similar deep dives on daily.dev."}}]}
```

