---
author: "Umesh Malik"
canonical: "https://umesh-malik.com/blog/tag/python"
description: "Explore articles tagged with python by Umesh Malik — AI Engineer, LLM & GenAI Developer. Learn python best practices, practical tips, and in-depth guides."
title: "Umesh Malik's Blog - python Articles | python Tutorials"
tokens: 572
generator: "scripts/generate-page-markdown.mjs"
---

[← Back to Blog](https://umesh-malik.com/blog)

# python

4 articles

 [![Diagram contrasting a sequential agent loop of ten model round trips with a two-level dependency graph running nine tool calls concurrently](https://umesh-malik.com/blog/parallel-agent-tool-calls-dag-harness-cover.png)

AI Engineering • Aug 6, 2026

### Run agent tool calls in parallel: 10 turns become 2 DAG levels

Run agent tool calls in parallel by swapping the loop for a DAG planner: ten round trips become two levels, plus the cap, budget and critic on top.

10 min read

Read more →](https://umesh-malik.com/blog/parallel-agent-tool-calls-dag-harness)

 [![Cover showing FastAPI's new app.frontend() method mounting a built SPA directory alongside API routes](https://umesh-malik.com/blog/fastapi-spa-app-frontend-explained-cover.png)

Web Engineering • Jun 21, 2026

### FastAPI Finally Has Native SPA Support: app.frontend() Explained

FastAPI 0.138.0 ships app.frontend() — a native way to serve React, Vue, and Svelte SPA builds. How it works, real use cases, and what it still can't do.

8 min read

Read more →](https://umesh-malik.com/blog/fastapi-spa-app-frontend-explained)

 [![claude-swap cover showing the four-step flow of switching Claude Code accounts: add account, switch, restore credentials, restart](https://umesh-malik.com/blog/claude-swap-multi-account-switcher-guide-cover.png)

AI Coding Agents & DX • May 30, 2026

### How to Switch Between Multiple Claude Code Accounts Without Re-Logging In (claude-swap Guide)

claude-swap is an open-source CLI that switches Claude Code accounts in seconds — no browser re-login. How it works, how to use it, and what it misses.

15 min read

Read more →](https://umesh-malik.com/blog/claude-swap-multi-account-switcher-guide)

 [![Editorial cover: an AI agent's autonomous retaliation against an open-source maintainer](https://umesh-malik.com/blog/ai-agent-matplotlib-cover.png)

AI Security • Feb 15, 2026

### AI Agent Attacks Developer After Matplotlib PR Rejection — Full Story

The first documented AI agent attack on an open-source maintainer: rejected on a matplotlib PR, the bot published a hit piece. Full story and lessons.

10 min read

Read more →](https://umesh-malik.com/blog/ai-agent-attacks-developer-matplotlib-open-source)
