<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ismael Azaran</title>
    <description>The latest articles on DEV Community by Ismael Azaran (@azaran).</description>
    <link>https://dev.to/azaran</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3724285%2F2551c6f7-d68e-4c34-bf91-b45599bc6eff.jpg</url>
      <title>DEV Community: Ismael Azaran</title>
      <link>https://dev.to/azaran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/azaran"/>
    <language>en</language>
    <item>
      <title>I turned my Claude Code + Codex routine into a repeatable pipeline (open source, local-first)</title>
      <dc:creator>Ismael Azaran</dc:creator>
      <pubDate>Thu, 22 Oct 2026 20:02:17 +0000</pubDate>
      <link>https://dev.to/azaran/i-turned-my-claude-code-codex-routine-into-a-repeatable-pipeline-open-source-local-first-392k</link>
      <guid>https://dev.to/azaran/i-turned-my-claude-code-codex-routine-into-a-repeatable-pipeline-open-source-local-first-392k</guid>
      <description>&lt;p&gt;AI coding agents got good. Claude Code and Codex can read a codebase, plan, implement and review. But in my daily work the agent was never the slow part. The slow part was the routine around it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read the ticket.&lt;/li&gt;
&lt;li&gt;Ask one agent for a plan, and read it.&lt;/li&gt;
&lt;li&gt;Tell it to implement.&lt;/li&gt;
&lt;li&gt;Run the tests.&lt;/li&gt;
&lt;li&gt;Paste the diff into a second agent for a review.&lt;/li&gt;
&lt;li&gt;Decide which findings matter and send them back.&lt;/li&gt;
&lt;li&gt;Run the tests again, then open a draft PR.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I was the glue between every step, I did it slightly differently each time, and when something went wrong I had no record of where. So I built the tool I wanted: &lt;strong&gt;&lt;a href="https://github.com/iazaran/orchevia" rel="noopener noreferrer"&gt;Orchevia&lt;/a&gt;&lt;/strong&gt;, a free, open-source (Apache-2.0) desktop app for Linux and macOS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faasbl989drvznv5nxll2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faasbl989drvznv5nxll2.webp" alt="A finished run on the Orchevia canvas: Jira ticket, Claude plan, human approval, implement, tests, parallel Claude and Codex reviews, a fix step and a draft PR" width="800" height="556"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Orchevia turns that routine into a &lt;strong&gt;workflow graph&lt;/strong&gt;. Each step is a node: AI agent, shell command, Git, GitHub, Jira ticket, MCP tool, condition, or human approval. The run above is the flow I use most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ticket:&lt;/strong&gt; load the Jira ticket (through your Jira MCP server).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan:&lt;/strong&gt; Claude writes a plan, and the run &lt;strong&gt;pauses for my approval&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implement:&lt;/strong&gt; Claude implements the approved plan, then my real test command runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review:&lt;/strong&gt; Claude and Codex review the diff &lt;strong&gt;in parallel&lt;/strong&gt;, independently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix:&lt;/strong&gt; a condition checks for P0/P1 findings; if there are any, a fix step runs, at most twice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Draft PR:&lt;/strong&gt; &lt;code&gt;gh&lt;/code&gt; opens a draft PR. Nothing merges; that stays a human decision.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Four design decisions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. It's not an AI provider
&lt;/h3&gt;

&lt;p&gt;There's no account, no API key field and no telemetry. Agent steps run the CLIs you already installed and signed in to, so they use your existing subscriptions and limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude: &lt;code&gt;claude -p --output-format stream-json …&lt;/code&gt;, prompt on stdin&lt;/li&gt;
&lt;li&gt;Codex: &lt;code&gt;codex exec --json … -&lt;/code&gt;, prompt on stdin&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prompts go through stdin, so prompt text never becomes command-line flags and never shows up in process listings. Git and GitHub steps use your own &lt;code&gt;git&lt;/code&gt; and &lt;code&gt;gh&lt;/code&gt;. Workflows and run history live in local SQLite.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Predictable, not autonomous
&lt;/h3&gt;

&lt;p&gt;I didn't want another agent deciding what to do next. A workflow is a fixed DAG:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Conditions:&lt;/strong&gt; constrained expressions, no scripting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loops:&lt;/strong&gt; bounded, with a maximum number of visits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Timeouts:&lt;/strong&gt; every step has one, and a timeout stops the whole process group, so child processes like MCP servers stop too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No surprises:&lt;/strong&gt; nothing runs until you press Run. Opening, importing or generating a workflow never executes anything.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every write (commit, push, PR, comment) is an explicit node you can see. A passing test never merges anything unless you added that step.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Two reviewers beat one
&lt;/h3&gt;

&lt;p&gt;Claude and Codex miss different things. Running both on the same diff catches more than either alone. Their findings are normalized to &lt;strong&gt;P0–P3&lt;/strong&gt;, so a condition on &lt;code&gt;node.claude-review.severity&lt;/code&gt; (P0 or P1?) decides whether to loop back to a fix step or move on, and the loop stays bounded.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. You stay in the loop
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Approvals:&lt;/strong&gt; Human Approval gates survive restarts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cancel:&lt;/strong&gt; runs can be cancelled at any time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Snapshots:&lt;/strong&gt; every run keeps a read-only snapshot of the exact graph it ran.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery:&lt;/strong&gt; a failed run can be recovered from its original inputs instead of starting over.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Generate a workflow from a goal
&lt;/h2&gt;

&lt;p&gt;You don't have to draw graphs. Write the goal like a short spec, and your own Claude Code or Codex drafts it. Point it at a repository and the draft uses your real paths and test commands:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Read Jira ticket {{input.ticket}} and plan it with Claude, then pause for my approval. Implement it on branch {{input.branch}}, run pnpm test, and have Claude and Codex review the diff in parallel. Fix P0/P1 findings (at most twice), then open a draft PR.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fecs10iuupj1dj1jsbpki.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fecs10iuupj1dj1jsbpki.webp" alt="The Generate dialog: a goal, a repository, and a preview listing steps, risk categories, setup items and compiler notes" width="800" height="1065"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The preview lists every step, the risk categories ("Modify local files", "Push / create or comment on PRs", and so on), anything you still need to set up, and every repair the compiler made. Nothing runs until you accept it and press Run. There are also nine built-in templates, from "implement a task" and "review a pull request" to "address review feedback" and "ticket to PR". A &lt;strong&gt;Dry run&lt;/strong&gt; mode runs the routing against fixtures without executing anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  See what happened, and what it used
&lt;/h2&gt;

&lt;p&gt;Every run has a timeline: parallel steps on one time axis, each step's live output, the findings, which conversation a step resumed, and what each CLI reported.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4rnompf6hwgkkil3kfx5.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4rnompf6hwgkkil3kfx5.webp" alt="The run timeline with parallel Claude and Codex reviews and the final review report" width="800" height="556"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A usage page breaks down agent attempts, tokens and tool calls by workflow, profile and model. Dollar figures a CLI reports are kept separate from what you actually pay on a subscription, and an optional guard can stop a run that crosses a reported-spend limit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Automation that stays on your machine
&lt;/h2&gt;

&lt;p&gt;Workflows can run on a schedule (interval, daily, weekly or cron), or from GitHub watchers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;when a review is requested from you;&lt;/li&gt;
&lt;li&gt;when a PR you watch gets a new commit;&lt;/li&gt;
&lt;li&gt;when new review feedback arrives.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Anything that writes needs an explicit trust opt-in per schedule. There's no cloud worker: Orchevia runs these while it's open, and background mode keeps it running when the window closes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things I learned building it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Headless agents can't ask for permission mid-run.&lt;/strong&gt; A headless Claude that is refused a tool quietly tries another. Orchevia reads Claude's &lt;code&gt;permission_denials&lt;/code&gt; and fails the step visibly, with the exact allow rule to add. You also decide once, app-wide, whether agents may work without asking or should follow each CLI's own settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explicit writes build trust.&lt;/strong&gt; Once pushes and PRs became visible nodes, letting automation run became much easier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local-first means honest limits.&lt;/strong&gt; If Orchevia isn't running, schedules don't run. A slot missed while it was closed follows a "skip" or "run once" policy, instead of a catch-up storm.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;App:&lt;/strong&gt; Tauri 2, with a React and TypeScript UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Core:&lt;/strong&gt; a Rust crate holding the workflow model, validation, the DAG engine (up to 4 steps at once), the scheduler and SQLite storage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shell:&lt;/strong&gt; the Tauri layer is a thin set of commands over that core. A browser mock backend keeps &lt;code&gt;pnpm dev&lt;/code&gt; usable without the desktop app.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download:&lt;/strong&gt; macOS (Apple Silicon and Intel), Linux AppImage and &lt;code&gt;.deb&lt;/code&gt; from the &lt;a href="https://github.com/iazaran/orchevia/releases/latest" rel="noopener noreferrer"&gt;latest release&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debian and Ubuntu:&lt;/strong&gt; use the signed apt repository, so &lt;code&gt;sudo apt upgrade&lt;/code&gt; keeps it current:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://iazaran.github.io/orchevia/apt/orchevia-archive-keyring.gpg | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /usr/share/keyrings/orchevia-archive-keyring.gpg &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"deb [arch=amd64 signed-by=/usr/share/keyrings/orchevia-archive-keyring.gpg] https://iazaran.github.io/orchevia/apt stable main"&lt;/span&gt; | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /etc/apt/sources.list.d/orchevia.list
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;orchevia
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;First run:&lt;/strong&gt; the setup wizard finds &lt;code&gt;git&lt;/code&gt;, &lt;code&gt;gh&lt;/code&gt;, &lt;code&gt;claude&lt;/code&gt; and &lt;code&gt;codex&lt;/code&gt; on your login shell's &lt;code&gt;PATH&lt;/code&gt; and creates recommended profiles. Then pick &lt;strong&gt;Samples… → Plan → Implement → Review&lt;/strong&gt; and press Run.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Honest caveats: the macOS builds aren't notarized yet, so macOS asks you to confirm the first launch, and Windows isn't supported yet.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/iazaran" rel="noopener noreferrer"&gt;
        iazaran
      &lt;/a&gt; / &lt;a href="https://github.com/iazaran/orchevia" rel="noopener noreferrer"&gt;
        orchevia
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Run Claude Code and Codex CLIs as reviewable, repeatable workflows on your own machine: visual editor, approvals, Git/GitHub/Jira steps, schedules and PR watchers. Local-first desktop app with no account, no API keys and no telemetry.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/iazaran/orchevia/./docs/favicon.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fiazaran%2Forchevia%2FHEAD%2F.%2Fdocs%2Ffavicon.png" alt="Orchevia logo: orbit-and-nodes mark on a blue-violet gradient" width="96" height="96"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Orchevia&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Run your Claude Code and Codex CLIs as reviewable, repeatable pipelines — on your own machine.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/iazaran/orchevia/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/iazaran/orchevia/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"&gt;&lt;/a&gt;
&lt;a href="https://github.com/iazaran/orchevia/releases/latest" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/445c1dfe56e4fddf5a56cc0afdcf8a8cc75c303178b4f60307cbdbd9074111af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f69617a6172616e2f6f726368657669613f736f72743d73656d76657226636f6c6f723d366561386665" alt="Latest release"&gt;&lt;/a&gt;
&lt;a href="https://github.com/iazaran/orchevia/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ea18913de2780cbfeddd9b6e8b11a35a8743342b46263b880ef89b9523315e05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f69617a6172616e2f6f726368657669612f746f74616c3f636f6c6f723d333464333939" alt="Downloads"&gt;&lt;/a&gt;
&lt;a href="https://github.com/iazaran/orchevia/./LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/35b94db23d3ed026343335f74d52ce31e74b77ad7dab4e4b89f49f2026e0937f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368652d2d322e302d626c7565" alt="License: Apache-2.0"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/a258b39669e1019ff4a4188827aae6a2abc1b2cae2eb93897a54ebf21a0e53ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d732d6d61634f532532302537432532304c696e75782d6c6967687467726579"&gt;&lt;img src="https://camo.githubusercontent.com/a258b39669e1019ff4a4188827aae6a2abc1b2cae2eb93897a54ebf21a0e53ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d732d6d61634f532532302537432532304c696e75782d6c6967687467726579" alt="Platforms: macOS and Linux"&gt;&lt;/a&gt;
&lt;a href="https://github.com/iazaran/orchevia/./docs/architecture.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ce0cae4ef33254d763ca8e313958278997c264994714da1f6020448beec75ddf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c74253230776974682d5461757269253230322532302543322542372532305275737425323025433225423725323052656163742d323463386462" alt="Built with Tauri 2"&gt;&lt;/a&gt;
&lt;a href="https://github.com/iazaran/orchevia/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2954ddcb60ab420a977835455c426eba488d94405d963b28c5032b3f375a2f6c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f69617a6172616e2f6f726368657669613f7374796c653d666c617426636f6c6f723d666262663234" alt="GitHub stars"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/iazaran/orchevia#download" rel="noopener noreferrer"&gt;&lt;strong&gt;Download&lt;/strong&gt;&lt;/a&gt; · &lt;a href="https://iazaran.github.io/orchevia/" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
&lt;a href="https://github.com/iazaran/orchevia/./docs/getting-started.md" rel="noopener noreferrer"&gt;Getting started&lt;/a&gt; · &lt;a href="https://github.com/iazaran/orchevia/./docs/architecture.md" rel="noopener noreferrer"&gt;Docs&lt;/a&gt; ·
&lt;a href="https://github.com/iazaran/orchevia/./CHANGELOG.md" rel="noopener noreferrer"&gt;Changelog&lt;/a&gt; · &lt;a href="https://github.com/iazaran/orchevia/issues/new/choose" rel="noopener noreferrer"&gt;Report an issue&lt;/a&gt;&lt;/p&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/iazaran/orchevia/./docs/images/run-on-canvas.webp"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fiazaran%2Forchevia%2FHEAD%2F.%2Fdocs%2Fimages%2Frun-on-canvas.webp" alt="Orchevia showing a finished run on the canvas: a Jira ticket is planned by Claude, approved by a human, implemented, tested, reviewed in parallel by Claude and Codex, fixed once and opened as a draft PR. The side panel shows the Codex review's findings." width="100%"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;p&gt;Orchevia is a &lt;strong&gt;local-first desktop app&lt;/strong&gt; that turns the work you already do with AI
coding CLIs into a graph you can inspect, repeat and share. Describe a task —
&lt;em&gt;"plan this ticket with Claude, let me approve it, implement, run the tests, have Claude
and Codex review, fix P0/P1 findings, open a draft PR"&lt;/em&gt; — check the graph, press &lt;strong&gt;Run&lt;/strong&gt;
and every step executes through &lt;strong&gt;tools already installed on your machine&lt;/strong&gt;: Claude
Code, Codex, &lt;code&gt;git&lt;/code&gt;, &lt;code&gt;gh&lt;/code&gt;, your test commands.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Orchevia is not an AI provider.&lt;/strong&gt; There is no Orchevia account, no model API key
field, no telemetry and no hosted runner. AI work goes through the CLIs you installed
and signed in to yourself…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/iazaran/orchevia" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;If you use Claude Code or Codex every day, I'd like to hear how you'd use this and what's missing: comments here, &lt;a href="https://github.com/iazaran/orchevia/issues" rel="noopener noreferrer"&gt;issues&lt;/a&gt; or &lt;a href="https://github.com/iazaran/orchevia/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;. The &lt;a href="https://iazaran.github.io/orchevia/" rel="noopener noreferrer"&gt;website&lt;/a&gt; also has an interactive replay of a real run.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>agents</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Laravel SmartCache</title>
      <dc:creator>Ismael Azaran</dc:creator>
      <pubDate>Wed, 21 Jan 2026 16:39:35 +0000</pubDate>
      <link>https://dev.to/azaran/laravel-smartcache-4m14</link>
      <guid>https://dev.to/azaran/laravel-smartcache-4m14</guid>
      <description>&lt;h2&gt;
  
  
  🚀 SmartCache — Supercharge Laravel Caching for Large Data
&lt;/h2&gt;

&lt;p&gt;Caching is one of the simplest yet most powerful performance techniques in web development. But when it comes to &lt;strong&gt;large datasets&lt;/strong&gt;, default caching can start hurting more than helping — especially in high-performance applications.&lt;/p&gt;

&lt;p&gt;That’s exactly where &lt;strong&gt;SmartCache&lt;/strong&gt; comes in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SmartCache&lt;/strong&gt; is a Laravel package that intelligently optimizes your cache layer with minimal friction — all while staying &lt;em&gt;fully compatible with Laravel’s native Cache API&lt;/em&gt;. &lt;a href="https://github.com/iazaran/smart-cache" rel="noopener noreferrer"&gt;Check it on GitHub&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 What Is SmartCache?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;SmartCache&lt;/strong&gt; is a drop-in replacement for Laravel’s &lt;code&gt;Cache&lt;/code&gt; facade that automatically &lt;em&gt;compresses&lt;/em&gt;, &lt;em&gt;chunks&lt;/em&gt;, and &lt;em&gt;optimizes&lt;/em&gt; cached data — reducing memory usage, speeding up serialization, and preventing common caching problems like cache stampede.&lt;/p&gt;

&lt;p&gt;Install it with Composer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require iazaran/smart-cache
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then replace:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Facades\Cache&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;SmartCache\Facades\SmartCache&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom — you get intelligent caching with zero breaking changes.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Why It Matters
&lt;/h2&gt;

&lt;p&gt;Large datasets — like API responses, report results, or big query collections — can lead to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Huge memory usage&lt;/strong&gt; (large arrays, big objects)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache storage bloat&lt;/strong&gt; (uncompressed data taking excessive space)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Slow serialization/deserialization&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cache stampede under load&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SmartCache solves these problems automatically, with strategies that adapt based on your data’s shape and size.&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Core Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  📦 Intelligent Compression
&lt;/h3&gt;

&lt;p&gt;When you cache &lt;em&gt;big data&lt;/em&gt; (e.g., &amp;gt;50KB), SmartCache automatically gzips it — often reducing size by &lt;strong&gt;60–80%&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Large API response — compressed under the hood&lt;/span&gt;
&lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;put&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'large_api'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🧩 Smart Chunking
&lt;/h3&gt;

&lt;p&gt;Your large collections don’t crash the cache or consume excessive RAM — SmartCache chunks arrays automatically.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$users&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;User&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt; &lt;span class="c1"&gt;// thousands of records&lt;/span&gt;
&lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;put&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'all_users'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$users&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SmartCache splits this into manageable chunks for faster access and better memory usage.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔒 Prevent Cache Stampedes
&lt;/h3&gt;

&lt;p&gt;Use &lt;strong&gt;atomic locks&lt;/strong&gt; to ensure only one process regenerates expensive cache entries, preventing spikes under load.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;lock&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'heavy_job'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;runHeavyJob&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  ⚡ Cache Memoization
&lt;/h3&gt;

&lt;p&gt;SmartCache can cache values &lt;em&gt;in memory&lt;/em&gt; for the duration of a request — meaning repeated accesses are &lt;strong&gt;instantly served&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔢 Batch Operations
&lt;/h3&gt;

&lt;p&gt;Perform efficient multi-key operations:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;putMany&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;...&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nv"&gt;$values&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;many&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="s1"&gt;'a'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'b'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'c'&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is especially useful for bulk cache reads/writes.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠 Advanced &amp;amp; Production-Ready
&lt;/h2&gt;

&lt;p&gt;SmartCache also offers powerful features you can opt into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔥 &lt;strong&gt;Adaptive Compression&lt;/strong&gt; — compress data based on frequency and patterns
&lt;/li&gt;
&lt;li&gt;💾 &lt;strong&gt;Lazy Loading&lt;/strong&gt; — memory-efficient iteration over large datasets
&lt;/li&gt;
&lt;li&gt;📡 &lt;strong&gt;Cache Events &amp;amp; Monitoring&lt;/strong&gt; — hook into events and track performance
&lt;/li&gt;
&lt;li&gt;🔐 &lt;strong&gt;Encryption Strategy&lt;/strong&gt; — auto-encrypt sensitive cache entries
&lt;/li&gt;
&lt;li&gt;🧬 &lt;strong&gt;Namespacing&lt;/strong&gt; — organize cache keys for modular systems
&lt;/li&gt;
&lt;li&gt;⏱ &lt;strong&gt;TTL Jitter &amp;amp; Circuit Breaker&lt;/strong&gt; — avoid thundering herd and handle backend failover gracefully
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Performance That Shows Results
&lt;/h2&gt;

&lt;p&gt;On a real e-commerce platform using SmartCache:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;72% reduction&lt;/strong&gt; in cached data size
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;800 MB daily&lt;/strong&gt; Redis memory savings
&lt;/li&gt;
&lt;li&gt;Up to &lt;strong&gt;40% faster retrieval&lt;/strong&gt; than default Laravel cache
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;94%+ cache hit ratio&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Average retrieval in &lt;strong&gt;~23 ms&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 Getting Started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install SmartCache:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require iazaran/smart-cache
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start using it like Laravel Cache:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;SmartCache&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;put&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'posts'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$posts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Optionally customize config:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan vendor:publish &lt;span class="nt"&gt;--tag&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;smart-cache-config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s it — minimal setup, &lt;em&gt;maximum performance&lt;/em&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;SmartCache gives you all the familiar Laravel caching APIs — but with &lt;strong&gt;automatic, intelligent optimizations designed for modern applications&lt;/strong&gt;. Whether you’re building a small app, a heavy API backend, or an enterprise system — SmartCache helps you scale with confidence.&lt;/p&gt;

&lt;p&gt;👉 Visit the repo — &lt;a href="https://github.com/iazaran/smart-cache" rel="noopener noreferrer"&gt;https://github.com/iazaran/smart-cache&lt;/a&gt; — to explore code, docs, and examples.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>redis</category>
    </item>
  </channel>
</rss>
