Smart AIPI-এ Pi-Mono: Grill-Me, Superpowers, আর Caveman সহ Lean Coding Agent চালানোর সবচেয়ে সস্তা উপায়

Pi-Mono হলো Mario Zechner-এর minimalist coding harness — চারটি tool (read, write, edit, bash), full YOLO mode, MIT licensed, এবং provider-agnostic। এটিকে Smart AIPI-এর সাথে যুক্ত করে pay-as-you-go GPT-5.5 access নিন, task creation-এর জন্য grill-me, full methodology-এর জন্য superpowers, আর output token cost প্রায় 75% কমাতে caveman skill ব্যবহার করুন। আজই shipping করা lean agent + lean API combination।

S
Smart AIPI Team
8 মিনিটে পড়া যাবে ·
Smart AIPI-এ Pi-Mono: Grill-Me, Superpowers, আর Caveman সহ Lean Coding Agent চালানোর সবচেয়ে সস্তা উপায়

সংক্ষেপে: Pi-Mono হলো Mario Zechner-এর minimalist coding agent — চারটি tool (read, write, edit, bash), MIT licensed, ইচ্ছাকৃতভাবে ছোট core। এটি OpenAI-compatible, তাই https://api.smartaipi.com/v1-এ point করুন, low reasoning-এ GPT-5.5 চালান, আর Pi যেসব gap ইচ্ছাকৃতভাবে রেখে দেয় সেগুলো ঠিক করতে তিনটি skill ব্যবহার করুন: task creation-এর জন্য grill-me, engineering methodology-এর জন্য superpowers, আর output token প্রায় 75% কমাতে caveman skill। Smart AIPI-এর pay-as-you-go pricing আর 95–98% cache hit rate-এর সাথে মিলিয়ে, per-turn bill আপনার নিজের usage page-এ যাচাই করা যায় এমন compounding margin-এ নেমে আসে।

lean-agent movement-এর এখন একটি flagship আছে। Pi-Mono হলো pi-এর monorepo, যা Mario Zechner (libGDX-এর creator) তৈরি করা একটি terminal coding harness; এটি coding agent-কে essentials-এ নামিয়ে আনে এবং বাকি সব extension-এ ঠেলে দেয়। Zechner তার Mastra talk "I Hated Every Coding Agent, So I Built My Own"-এ যেমন বলেছিলেন: established harness-গুলো এমন spaceship, যেখানে 80% functionality এমন জিনিস যা বেশিরভাগ developer কখনও touch-ই করেন না, আর তাদের system prompt প্রতি release-এ mutate করে — ফলে আপনি যত যত্ন নিয়ে উপরে workflow বানিয়েছেন, তা ভেঙে যায়।

Pi-এর প্রতিক্রিয়া হলো radical minimalism: চারটি tool, full YOLO mode, কোনো batteries included নয়। completeness-এর চেয়ে hackability। Smart AIPI-এর pay-as-you-go OpenAI-compatible endpoint-এ এই minimalism সরাসরি আজ shipping হওয়া সবচেয়ে সস্তা serious agentic coding setup-এ পরিণত হয়।

Pi-Mono আসলে কী

Pi-mono হলো monorepo (github.com/badlogic/pi-mono, mirrored at earendil-works/pi); CLI binary শুধু pi। repo-টি কয়েকটি focused package-এ ভাগ করা:

  • pi-agent-core — runtime: tool calling, state, actual agent loop।
  • pi-ai — একটি unified provider library যা Anthropic, OpenAI-compatible, Bedrock, Vertex, Mistral, Groq, Cerebras, xAI, DeepSeek, OpenRouter, Hugging Face, Ollama, এবং আরও প্রায় এক ডজন provider-এর সাথে কথা বলে। সবচেয়ে গুরুত্বপূর্ণভাবে, এটি context rewrite করে session চলাকালীন provider switch করতে পারে, state না হারিয়েই।
  • pi-tui — differential-rendering terminal UI।
  • pi-coding-agent — user-facing CLI যা সব piece একসাথে জুড়ে দেয়।

default tool surface-এ আছে ঠিক চারটি tool:

Tool এটি কী করে কেন এটা যথেষ্ট
readdisk থেকে file পড়েfrontier model-গুলো ইতিমধ্যেই এই exact schema-তে trained
writefile লিখে বা create করেmechanical I/O — reasoning দরকার নেই
editfile-এর উপর in-place patch apply করেsearch/replace + diff হলো universal edit primitive
bashযেকোনো shell command চালায়বাকি সবকিছু (grep, tests, git, package managers) shell command

এর বেশি কিছু — subagents, plan mode, permission gates, MCP servers, sandboxing — থাকে pi-skills বা third-party extension-এ, opt-in। Pi ডিফল্টভাবে full YOLO mode-এ চলে: কোনো permission prompt নেই, filesystem আর shell unrestricted। এটা ইচ্ছাকৃত সিদ্ধান্ত। safety rails চাইলে, আপনাকেই তা install করতে হবে।

Pi-Mono আর Smart AIPI কেন Perfect Pair

Pi-এর pi-ai library প্রতিটি provider-কে একটি OpenAI-shaped বা Anthropic-shaped endpoint হিসেবে uniform interface-এর পেছনে ধরে। Smart AIPI-এর gateway পুরো OpenAI surface — chat, responses, embeddings, images, audio, anthropic-shaped messages — একটি base URL এবং একটি API key দিয়ে expose করে। এই দুই design খুব সুন্দরভাবে মিলে যায়:

  • একটি key, সব model. একই Smart AIPI API key দিয়ে GPT-5.5, GPT-5.4, GPT-5.4-mini, GPT-5.3-codex, GPT-Image-2, আর Anthropic-compatible Claude routing পাবেন — আর Pi session-এর মাঝখানে সেগুলোর মধ্যে switch করতে পারে।
  • Pay-as-you-go pricing. কোনো subscription নেই, quota নেই, throttle নেই। আপনি কেবল যে tokens compute করেন তার জন্যই pay করেন। Pi-এর ছোট system prompt মানে প্রতিটি turn-এ standing context-এর জন্য feature-heavy harness-এর তুলনায় কম pay করতে হয়।
  • End-to-end prompt cache. Smart AIPI gateway-এর মাধ্যমে OpenAI-এর prompt-cache key verbatim preserve করে, তাই repo + agents.md + history দীর্ঘ session জুড়ে cache-এ থাকে। বাস্তব cache hit rate 95–98%, cached input $0.125 per 1M tokens-এ নেমে আসে — uncached-এর তুলনায় 10× সস্তা।
  • WebSocket session preservation. দীর্ঘ pi-mono session একই warm cache-এ থাকে, প্রতিটি turn-এ full input price দিতে হয় না।

Pi-Mono Complete করে এমন তিনটি Skill

Pi ইচ্ছাকৃতভাবে task planning, opinionated engineering methodology, আর output-compression layer — কিছুই ship করে না। এটা bug নয় — এটাই মূল উদ্দেশ্য। community এই তিনটি gap composable skill দিয়ে পূরণ করেছে, যা /skill:name invocation pattern দিয়ে Pi-তে snap করে। day one-এ install করার মতো তিনটি skill:

1. Grill-Me — High-Reasoning Task Creation

Where: github.com/mattpocock/skills, Matt Pocock-এর তৈরি।

Grill-me ঠিক সেটাই করে যা নামটা বোঝায়: model আপনার task নিয়ে আপনাকে জিজ্ঞাসাবাদ করে, যতক্ষণ না প্রতিটি constraint অস্পষ্টতা-মুক্ত হয়। কোন file scope-এ। success criteria কী। edge case কী। "done" মানে কী। সাধারণত তিন থেকে পাঁচটি ছোট turn। আপনি উত্তর দেন; skill একটি tight, executable spec ফেরত দেয়।

অর্থনৈতিক কৌশল হলো spec phase-এ grill-me-কে high reasoning-এ চালানো — সাধারণত তিন থেকে পাঁচটি ছোট turn — তারপর execution phase-এ low reasoning-এ নেমে যাওয়া (30 থেকে 100 turn-এর সস্তা, mechanical work)। High reasoning তখনই pay off করে যখন সেটা load-bearing; low reasoning বাকিটা বহন করে। Pi-mono-এর four-tool loop এই pattern-এর জন্য বিশেষভাবে উপযুক্ত, কারণ পথে কিছুই বাধা দেয় না: spec একবার lock হয়ে গেলে, model-এর কাছে read/write/edit/bash দিয়ে ship করার পরিষ্কার পথ থাকে।

2. Superpowers — Skill-এর মাধ্যমে Engineering Methodology

Where: github.com/obra/superpowers, Jesse Vincent-এর তৈরি।

Superpowers হলো "composable skills-এর সেটের উপর তৈরি আপনার coding agents-এর জন্য একটি complete software development methodology." TDD scaffolding, code-review playbook, debugging procedure, refactoring pattern, branch-management discipline। এটি সেই explicit engineering process যা Pi ইচ্ছাকৃতভাবে core-এ bake করে না।

এটি harness-agnostic-ও বটে — একই skill pack Claude Code, Cursor, Copilot CLI, Gemini, Codex, আর Pi-তে কাজ করে। একবার install করুন, তারপর বিভিন্ন harness-এর মধ্যে সঙ্গে নিয়ে চলুন। Pi-এর plug-and-play skill loader মানে আপনি pi-এর source না ছুঁয়েই পুরো methodology minimal core-এর উপর layer করতে পারেন।

3. Caveman — Output-Token Killer

Where: Matt Pocock-এর skills repo (productivity section)।

Caveman agent-কে ultra-compressed communication mode-এ নিয়ে যায়। article বাদ দিন। filler বাদ দিন। telegraphic bullet-এ উত্তর দিন। formal English নয়, apologies নয়, preamble নয়। prose-heavy turn-এ বাস্তব token reduction প্রায় 75%।

কেন এটা bill-কে সবচেয়ে বেশি কমায়: GPT-5.5-এ output token-এর দাম $7.50 per 1M, যেখানে cached input $0.125 per 1M — 60× ratio। output compress করা coding-agent invoice-এ leverage-এর দিক থেকে সবচেয়ে শক্তিশালী কাজ। Grill-me + low reasoning আগেই output কমিয়ে দেয়। Caveman বাকি অংশটুকু compress করে। Smart AIPI-এর cache-এর সাথে এটি জুড়লে একটি অতিরিক্ত turn-এর marginal cost model-এর compute envelope-এর floor-এর কাছাকাছি নেমে যায়।

Compounding Cost Story

Smart AIPI-তে GPT-5.5-এর pricing:

GPT-5.5 (per 1M tokens) Smart AIPI Pi-Mono effect
Input (uncached)$1.25ছোট system prompt মানে প্রথম turn-এর cost কম
Input (cached prefix)$0.125দীর্ঘ session জুড়ে 95–98% hit rate
Output$7.50Caveman প্রায় 75% কাটে; low reasoning আরও কমায়

GPT-5.5 low reasoning-এ একটি pi-mono turn-এর shape, যেখানে grill-me spec আগেই done এবং caveman active:

  • Cached input prefix (repo + agents.md + history) — সাধারণত প্রতি turn-এ সবচেয়ে বড় token bucket — cache hit হলে প্রতিবারই cached rate-এ চলে, uncached rate-এ নয়।
  • New uncached input (tool result, latest user message) — সাধারণত input-এর ক্ষুদ্র অংশ, full rate-এ charged।
  • Output — caveman দ্বারা compressed, আর effort low হওয়ায় reasoning token minimal। এটি shrink করার সবচেয়ে মূল্যবান line item, কারণ এটি highest per-token rate-এ billed।

Pay-as-you-go মানে আপনি কেবল যা compute করেন তার জন্যই pay করেন, আর এই তিনটি lever একসাথে কাজ করে। আপনার নিজের dashboard-এ আপনার repo আর prompt shape অনুযায়ী per-turn actual number দেখা যাবে — কোনো cap নেই, throttle নেই, monthly minimum নেই।

Mid-Session Provider Switching: Pi-এর Sleeper Feature

Pi-ai একটি portable context representation ধরে রাখে এবং যেই provider-এ point করেছেন তার সাথে মানিয়ে context rewrite করতে পারে। ব্যবহারিক অর্থ: GPT-5.5 কোনো কঠিন ambiguity-তে আটকে গেলে, conversation হারানো ছাড়াই আপনি task-এর মাঝখানে /model claude-sonnet-4.6 দিয়ে দ্বিতীয় মতামত নিতে পারেন। দুই endpoint-ই আপনার single Smart AIPI key-এর পেছনে থাকে — Anthropic-compatible Claude response /v1/messages দিয়ে আসে, OpenAI-compatible flow /v1/responses (অথবা /v1/chat/completions) দিয়ে, আর Pi transparently translation করে।

দীর্ঘ, high-stakes refactor-এর জন্য এই pattern সত্যিই useful: spec-এর জন্য GPT-5.5 high-এ grill-me, execution-এর জন্য GPT-5.5 low, একবার architectural review pass-এর জন্য Claude Sonnet 4.6, তারপর finish করতে আবার GPT-5.5 low। একটি harness, একটি API key, একটি bill।

60 সেকেন্ডে Setup

# 1. pi install করুন
curl -fsSL https://pi.dev/install.sh | sh
# অথবা: npm install -g @earendil-works/pi-coding-agent

# 2. smart aipi-তে point করুন
export OPENAI_BASE_URL=https://api.smartaipi.com/v1
export OPENAI_API_KEY=sk-your-smartaipi-key

# 3. আপনার repo-তে pi চালান
cd ~/code/your-project
pi

# 4. pi-এর ভিতরে skill install করুন
/skill:install matt-pocock/skills/grill-me
/skill:install obra/superpowers
/skill:install matt-pocock/skills/caveman

# 5. আপনার task spec করুন
/skill grill-me

# 6. low reasoning-এ নেমে execute করুন
/model gpt-5.5 --reasoning-effort low
/skill caveman

Exact skill-install syntax নির্ভর করে আপনি কোন skill loader চালাচ্ছেন তার উপর — current invocation-এর জন্য প্রতিটি skill repo-র README দেখুন। shape একই: skill folder আপনার config-এ drop করুন এবং invoke করুন।

Lean Agent + Lean API কেন Compounding ফল দেয়

Feature-rich harness-গুলো প্রতিটি turn-এ বড় system prompt load করে, extra deliberation pass চালায়, আর user যা চায়নি এমন verbose explanation দেয়। এগুলোর প্রতিটিই tax। Pi-mono harness-side tax কাটে (ছোট system prompt, four-tool loop, কোনো over-engineered planning layer নয়); caveman + low reasoning model-side tax কাটে (compressed output, minimal reasoning token); Smart AIPI provider-side tax কাটে (10× cached input, কোনো subscription floor নেই)। এইগুলোর কোনো একটিই একা 10× win নয়, কিন্তু একসাথে multiply হলে extended agentic project চালানোর cost অর্থপূর্ণভাবে বদলে যায়।

Pi-এর worldview — "agent-কে আপনার workflow-এ মানানসই করুন, উল্টোটা নয়" — Smart AIPI-এর worldview-এর সাথে মিলে যায় — "আপনি যা সত্যিই compute করেন তার জন্যই pay করুন।" যদি subscription cap-এ ধাক্কা খেয়ে থাকেন বা কখনও touch করেননি এমন harness feature-এর জন্য pay করে থাকেন, তাহলে এই combination এক বিকেলের trial-এর মতোই worth it। Sign up, key generate করুন, OPENAI_BASE_URL set করুন, pi install করুন, তিনটি skill install করুন, কিছু একটা ship করুন।

শুরু করুন — Sign-Up-এ $5 Free

প্রতিটি নতুন account-এ $5 free API credit — credit card দরকার নেই।

$5 যথেষ্ট headroom দেয় pi install করতে, তিনটি skill hook up করতে, grill-me দিয়ে একটি real task end-to-end করতে, আর সিদ্ধান্ত নেওয়ার আগে একটি extended pi-mono session চালাতে।

  1. Sign up করুন smartaipi.com/signup-এ (free $5, কোনো credit card নয়)
  2. Create an API key dashboard-এ
  3. Install pi: curl -fsSL https://pi.dev/install.sh | sh
  4. Set OPENAI_BASE_URL=https://api.smartaipi.com/v1 এবং OPENAI_API_KEY আপনার নতুন key-তে
  5. Install grill-me + caveman এবং superpowers
  6. Run pi, আপনার পরের task-টা high reasoning-এ grill-me করুন, low + caveman-এ নেমে যান, ship করুন

subscription-এ চালানো একই minimalist harness — এখন এমন pricing model-এ, যা আপনি বাস্তবে যা compute করেন তার সাথে scale করে, আর এমন cache hit rate-সহ যা দীর্ঘ agentic session-কে প্রায় free করে দেয়।

Pi-Mono Coding Agent Lean Agent GPT-5.5 Skills Grill-Me Superpowers Caveman Prompt Caching OpenAI Compatible
S
লিখেছেন
Smart AIPI

OpenAI-সামঞ্জস্যপূর্ণ API গেটওয়ে। 75% কম খরচে frontier AI models ব্যবহার করুন।

ফ্রিতে শুরু করুন

বার্তা পাঠানো হয়েছে

আমরা 2 কর্মদিবসের মধ্যে আপনার কাছে ফিরে আসব।

সাপোর্টে যোগাযোগ করুন

কোনো প্রশ্ন আছে বা সাহায্য দরকার? আমাদের একটি বার্তা পাঠান, আমরা 2 কর্মদিবসের মধ্যে আপনার কাছে ফিরে আসব।