Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Postman Collection AI AgentNew to Visual Studio Code? Get it now.
Postman Collection AI Agent

Postman Collection AI Agent

M. Abubakar

|
4 installs
| (0) | Free
AI Agent that automatically generates Postman Collections from your backend code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🤖 Postman AI Agent

AI-powered CLI tool that automatically analyzes your backend code and generates + imports Postman Collections — in seconds!

PyPI version Python LangGraph License


✨ What It Does

Paste your backend code → AI analyzes it → Postman Collection auto-imported! 🚀

pip install postman-agent
postman-agent setup
postman-agent generate --scan .

🎯 Features

  • 🔍 Smart Detection — Finds API files by content, not filename
  • 🧠 AI-Powered — LangGraph ReAct Agent + Groq LLM
  • 📦 Auto Import — Directly imports into your Postman workspace
  • 🔗 Instant Link — Get Postman collection URL instantly
  • 🌐 Multi-Framework — Express.js, FastAPI, Flask, Django, Fastify
  • ⚡ Fast — Analyzes entire project in seconds

🚀 Quick Start

1. Install

pip install postman-agent

2. Setup API Keys (One time only)

postman-agent setup

You'll need:

  • Groq API Key → Free at console.groq.com
  • Postman API Key → Free at postman.com → Settings → API Keys

3. Generate Collection

# Scan entire project
postman-agent generate --scan .

# Or single file
postman-agent generate --file routes.js

4. Open in Postman 🎉

✅ Found 33 routes! 🚀 Imported to Postman Successfully! 🔗 Open here: https://go.postman.co/collection/xxxxx


📋 Supported Frameworks

Framework Language Status
Express.js JavaScript ✅
Fastify JavaScript ✅
FastAPI Python ✅
Flask Python ✅
Django Python ✅

🛠️ Tech Stack

Layer Technology
🧠 Agent Framework LangGraph
🤖 LLM Groq (llama-3.1-8b-instant)
🔧 Code Parser Python AST + Regex
🔗 Integration Postman REST API
🐍 Language Python 3.10+

🔄 How It Works

Your Project ↓ 🔍 Smart Scanner (content-based) ↓ 🤖 LangGraph AI Agent ↓ 🔧 AST + Regex Parser ↓ 📦 Postman Collection v2.1 ↓ 🚀 Auto Import to Postman ↓ ✅ Ready to Test!


💻 Demo

$ postman-agent generate --scan ./ecommerce-backend

╔═══════════════════════════════════════╗
║       🤖 Postman AI Agent CLI         ║
║   LangGraph + Groq + Postman API      ║
╚═══════════════════════════════════════╝

🔍 Scanning directory: ./ecommerce-backend
📁 Found 15 API files:
   → app.js
   → authRoutes.js
   → productRoutes.js
   → orderRoutes.js
   → paymentRoutes.js
   ...

🔎 Detected Framework: Express.js
🤖 AI Agent analyzing code...

✅ Found 33 routes!

📋 Detected Routes:
   POST     /register
   POST     /login
   GET      /me
   GET      /products
   POST     /orders
   POST     /stripe/create-intent
   ...

🚀 ✅ Imported to Postman Successfully!
🔗 Open here: https://go.postman.co/collection/xxxxx
✨ Done! Happy Testing! 🎉

📦 Requirements

  • Python 3.10+
  • Groq API Key (Free)
  • Postman API Key (Free)

🤝 Contributing

Pull requests are welcome! Feel free to open issues for bugs or feature requests.


👨‍💻 Author

M. Abubakar — Full Stack Developer & AI Agent Builder

  • 🌐 Portfolio: abubakar-portfolio-sage.vercel.app
  • 💼 GitHub: @Abubakar-webmaker
  • 📧 Email: m.abubakar.codes@gmail.com

📄 License

MIT License — feel free to use and modify!


⭐ If this helped you, please give it a star!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft