Pi-Mono on Smart AIPI: Grill-Me, Superpowers, and Caveman உடன் மிகக் குறைந்த செலவில் Lean Coding Agent-ஐ இயக்கும் வழி
Pi-Mono என்பது Mario Zechner உருவாக்கிய minimalist coding harness — நான்கு tools (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 செலவை சுமார் 75% குறைக்க caveman skill-ஐ சேர்க்கலாம். இன்று shipping ஆகும் lean agent + lean API combination இது.
TL;DR: Pi-Mono என்பது Mario Zechner-ன் minimalist coding agent — நான்கு tools (read, write, edit, bash), MIT licensed, deliberately tiny core. இது OpenAI-compatible-ஆ பேசும்; அதனால் https://api.smartaipi.com/v1-ஐ point செய்து, GPT-5.5-ஐ low reasoning-ல் இயக்கி, Pi intentional-ஆ விடும் gaps-ஐ சரிசெய்யும் மூன்று skills-உடன் pair செய்யுங்கள்: task creation-க்கு grill-me, engineering methodology-க்கு superpowers, output tokens-ஐ சுமார் 75% குறைக்க caveman. Smart AIPI-ன் pay-as-you-go pricing மற்றும் 95–98% cache hit rate-உடன் சேர்த்தால், உங்கள் own usage page-ல் verify செய்யக்கூடிய compounding margin-ஆ per-turn bill குறைகிறது.
lean-agent movement-க்கு இப்போது ஒரு flagship உள்ளது. Pi-Mono என்பது pi-க்கு பின்னணி monorepo; இது Mario Zechner (libGDX creator) உருவாக்கிய terminal coding harness. இது coding agent-ஐ essentials-க்கு மட்டும் குறைத்து, மீதியையெல்லாம் extensions-க்கு தள்ளுகிறது. Zechner தனது Mastra talk-இல் சொன்னது போல "I Hated Every Coding Agent, So I Built My Own": established harnesses என்பது 80% functionality-ஐ பெரும்பாலான developers ஒருபோதும் touch செய்யாத spaceships; மேலும் அவற்றின் system prompts ஒவ்வொரு release-இலும் மாறி, நீங்கள் கவனமாக கட்டிய personal workflows-ஐ உடைத்துவிடுகின்றன.
Pi-ன் பதில் radical minimalism: நான்கு tools, full YOLO mode, no batteries included. Hackability completeness-ஐவிட முக்கியம். 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 packages-ஆ பிரிக்கப்படுகிறது:
- pi-agent-core — runtime: tool calling, state, actual agent loop.
- pi-ai — ஒருங்கிணைந்த provider library; இது Anthropic, OpenAI-compatible, Bedrock, Vertex, Mistral, Groq, Cerebras, xAI, DeepSeek, OpenRouter, Hugging Face, Ollama, மேலும் சுமார் ஒரு டஜன் பிற providers-உடனும் பேசுகிறது. முக்கியமாக, இது context-ஐ மறுபடியும் எழுதிக் session நடுவே providers-ஐ switch செய்ய முடியும்; state இழக்காது.
- pi-tui — differential-rendering terminal UI.
- pi-coding-agent — user-facing CLI; pieces-ஐ ஒன்றாக இணைக்கிறது.
default tool surface என்பது நான்கு tools மட்டுமே:
| Tool | அது என்ன செய்கிறது | இது ஏன் போதுமானது |
|---|---|---|
read | disk-இலிருந்து ஒரு file-ஐ படிக்கிறது | Frontier models ஏற்கனவே இந்த exact schema-க்கு பயிற்சியளிக்கப்பட்டுள்ளன |
write | ஒரு file-ஐ எழுதுகிறது அல்லது உருவாக்குகிறது | Mechanical I/O — reasoning தேவையில்லை |
edit | ஒரு file-க்கு in-place patch-ஐ apply செய்கிறது | Search/replace + diffs என்பவை 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 extensions-ல், opt-in ஆக இருக்கும். Pi இயல்பாக full YOLO mode-ல் இயங்குகிறது: permission prompts இல்லை, filesystem மற்றும் shell-க்கு unrestricted access. இது intentional choice. Safety rails வேண்டும் என்றால், அதை நீங்கள் நிறுவ வேண்டும்.
Pi-Mono மற்றும் Smart AIPI ஏன் perfect pair
Pi-ன் pi-ai library ஒவ்வொரு provider-ஐயும் ஒரே uniform interface பின்னால் OpenAI-shaped அல்லது Anthropic-shaped endpoint-ஆ treat செய்கிறது. Smart AIPI gateway முழு OpenAI surface-ஐ — chat, responses, embeddings, images, audio, anthropic-shaped messages — ஒரே base URL மற்றும் ஒரே API key மூலம் expose செய்கிறது. இந்த இரண்டு designs clean-ஆ ஒன்றுடன் ஒன்று பொருந்துகின்றன:
- ஒரே key, எல்லா models-க்கும். அதே 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 நடுவே இவற்றுக்கு மாற முடியும்.
- Pay-as-you-go pricing. Subscription இல்லை, quota இல்லை, throttle இல்லை. நீங்கள் compute செய்த tokens-க்கு மட்டும் பணம் செலுத்துகிறீர்கள். Pi-ன் tiny system prompt காரணமாக standing context-க்கு செலுத்தும் செலவு, feature-heavy harness-ஐவிட குறைவு.
- End-to-end prompt cache. Smart AIPI OpenAI-ன் prompt-cache key-ஐ gateway வழியாக அப்படியே preserve செய்கிறது; அதனால் உங்கள் repo + agents.md + history நீண்ட sessions முழுவதும் cache-ல் இருக்கும். Real-world cache hit rate 95–98%, இதனால் cached input-ன் விலை $0.125 per 1M tokens-ஆ குறைகிறது — uncached-ஐவிட 10× மலிவு.
- WebSocket session preservation. நீண்ட pi-mono sessions ஒவ்வொரு turn-க்கும் full input price கொடுக்காமல், warm cache ஒன்றிலேயே தொடர்கின்றன.
Pi-Mono-ஐ முழுமையாக்கும் மூன்று skills
Pi deliberate-ஆ task planning-க்கு எதையும் ship செய்யவில்லை, opinionated engineering methodology-யும் இல்லை, output-compression layer-வும் இல்லை. அது bug அல்ல — அதுவே நோக்கம். Community இந்த மூன்று gaps-ஐ composable skills-களால் நிரப்பியுள்ளது; அவை /skill:name invocation pattern மூலம் Pi-யுடன் snap ஆகின்றன. முதல் நாளிலேயே install செய்ய வேண்டிய மூன்று skills:
1. Grill-Me — High-Reasoning Task Creation
எங்கே: github.com/mattpocock/skills, Matt Pocock உருவாக்கியது.
Grill-me பெயர் சொல்வதைப் போலவே செய்கிறது: model உங்கள் task-ஐ ஒவ்வொரு constraint-மும் தெளிவாகும் வரை உங்களிடம் விசாரிக்கிறது. Scope-இல் உள்ள files. Success criteria. Edge cases. "done" என்பதன் அர்த்தம். பொதுவாக மூன்று முதல் ஐந்து சுருக்கமான turns. நீங்கள் பதில் அளிக்கிறீர்கள்; skill ஒரு tight, executable spec-ஐ திருப்பிக் கொடுக்கிறது.
இதில் பொருளாதார ரீதியான move என்னவென்றால், spec phase-க்கு மட்டும் grill-me-யை high reasoning-ல் இயக்குவது — பொதுவாக மூன்று முதல் ஐந்து சுருக்கமான turns — பின்னர் execution phase-க்கு (low reasoning) மாறுவது; அங்கு 30 முதல் 100 turns வரை cheap, mechanical வேலை நடக்கும். High reasoning load-bearing பகுதிகளில் மதிப்பளிக்கிறது; low reasoning மீதியை சுமக்கிறது. Pi-mono-ன் நான்கு-tool loop இந்த pattern-க்கு மிகவும் பொருத்தமானது, ஏனெனில் வழியில் எதுவும் தடையாக இல்லை: spec lock ஆனவுடன், read/write/edit/bash வழியாக model-க்கு அதை ship செய்ய தெளிவான பாதை கிடைக்கிறது.
2. Superpowers — Skills வடிவில் Engineering Methodology
எங்கே: github.com/obra/superpowers, Jesse Vincent உருவாக்கியது.
Superpowers என்பது "a complete software development methodology for your coding agents, built on top of a set of composable skills." TDD scaffolding, code-review playbooks, debugging procedures, refactoring patterns, branch-management discipline. Pi core-க்குள் intentionally bake செய்யாத explicit engineering process இது.
இதுவும் 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
எங்கே: Matt Pocock-ன் skills repo (productivity section).
Caveman agent-ஐ ultra-compressed communication mode-க்கு மாற்றுகிறது. Articles-ஐ நீக்கு. Filler-ஐ நீக்கு. Telegraphic bullets-ல் பதில் அளி. Formal English வேண்டாம், apologies வேண்டாம், preamble வேண்டாம். Prose-heavy turns-ல் real-world token reduction சுமார் 75% என்று தெரிவிக்கப்பட்டுள்ளது.
இது bill-ல் ஏன் dominate செய்கிறது: GPT-5.5-ல் output tokens-ன் விலை $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-உடன் pair செய்தால், கூடுதல் 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 | Tiny system prompt என்பதால் first-turn cost குறைவு |
| Input (cached prefix) | $0.125 | நீண்ட sessions முழுவதும் 95–98% hit rate |
| Output | $7.50 | Caveman ~75% cut செய்கிறது; low reasoning அதை மேலும் compound செய்கிறது |
grill-me spec ஏற்கனவே முடிந்ததும் caveman செயல்பாட்டில் இருக்கும் நிலையில் GPT-5.5 low reasoning-ல் ஒரு pi-mono turn-ன் வடிவம்:
- Cached input prefix (repo + agents.md + history) — பொதுவாக ஒவ்வொரு turn-க்கும் மிகப்பெரிய token bucket — cache hit ஆகும் ஒவ்வொரு முறையும் uncached rate-இல் அல்ல, cached rate-இல் இயங்குகிறது.
- New uncached input (tool results, latest user message) — பொதுவாக input-ன் சிறிய பகுதி மட்டுமே; full rate-இல் charged ஆகிறது.
- Output — caveman-ஆல் compress செய்யப்பட்டது, low இருப்பதால் minimal reasoning tokens. Highest per-token rate-இல் billed ஆகும் line item இதுவே; அதைக் குறைப்பது மிகவும் மதிப்புள்ளது.
Pay-as-you-go என்பதால் நீங்கள் compute செய்ததற்கே பணம் செலுத்துகிறீர்கள்; இந்த மூன்று levers ஒன்றையொன்று பெருக்குகின்றன. உங்கள் own dashboard repo மற்றும் prompt shape-க்கு per-turn actual numbers-ஐ காட்டும் — cap இல்லை, throttle இல்லை, monthly minimum இல்லை.
Session நடுவே Provider Switching: Pi-ன் மறைமுக feature
Pi-ai portable context representation-ஐ வைத்திருக்கும்; மேலும் நீங்கள் தற்போது pointed to இருக்கும் provider-க்கு பொருந்துமாறு அதை rewrite செய்ய முடியும். நடைமுறை மொழிபெயர்ப்பு: GPT-5.5 ஒரு கடின ambiguity-யை சந்தித்தால், conversation-ஐ இழக்காமல் task நடுவே /model claude-sonnet-4.6 பயன்படுத்தி second opinion பெறலாம். இரண்டு endpoints-உம் உங்கள் single Smart AIPI key-ன் பின்னால் அமைகின்றன — Anthropic-compatible Claude responses /v1/messages வழியாக, OpenAI-compatible flows /v1/responses (அல்லது /v1/chat/completions) வழியாக வருகின்றன; Pi translation-ஐ transparently கையாளுகிறது.
நீண்ட, high-stakes refactors-க்கு இந்த pattern உண்மையிலேயே பயனுள்ளது: 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
# or: 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 உள்ளே skills-ஐ 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-க்கு drop செய்து execute செய்க
/model gpt-5.5 --reasoning-effort low
/skill caveman
Exact skill-install syntax நீங்கள் பயன்படுத்தும் skill loader-ஐப் பொறுத்தது — தற்போதைய invocation-க்கு ஒவ்வொரு skill repo-வின் README-ஐ பார்க்கவும். Shape அதேதான்: skill folder-ஐ உங்கள் config-இல் drop செய்து invoke செய்க.
Lean Agent + Lean API ஏன் compounding ஆகிறது
Feature-rich harnesses ஒவ்வொரு turn-லும் பெரிய system prompt-ஐ load செய்கின்றன, கூடுதல் deliberation passes-ஐ இயக்குகின்றன, மேலும் பயனர் கேட்காத verbose explanations-ஐ வெளியிடுகின்றன. அந்த ஒவ்வொன்றும் ஒரு tax. Pi-mono harness side tax-ஐ குறைக்கிறது (small system prompt, four-tool loop, over-engineered planning layer இல்லை); caveman + low reasoning model side-ஐ குறைக்கின்றன (compressed output, minimal reasoning tokens); Smart AIPI provider side-ஐ குறைக்கிறது (10× cached input, no subscription floor). இவற்றில் ஒன்றுமே தனியாக 10× win அல்ல; ஆனால் ஒன்றாக multiply செய்தால், extended agentic project ஒன்றை இயக்கும் செலவை உண்மையாகவே மாற்றிவிடுகின்றன.
Pi-ன் worldview — "adapt the agent to your workflow, not the other way around" — Smart AIPI-ன் worldview-உடன் பொருந்துகிறது — "pay only for what you actually compute." Subscription caps-ல் அடைபடுகிறீர்களா அல்லது ஒருபோதும் touch செய்யாத harness features-க்கு பணம் செலுத்துகிறீர்களா என்றால், இந்த combination-ஐ ஒரு afternoon trial செய்யலாம். Sign up, ஒரு key உருவாக்குங்கள், OPENAI_BASE_URL-ஐ set செய்யுங்கள், pi-ஐ install செய்யுங்கள், மூன்று skills-ஐ install செய்யுங்கள், எதையாவது ship செய்யுங்கள்.
தொடங்குங்கள் — Sign-up-இல் $5 இலவசம்
ஒவ்வொரு புதிய account-க்கும் $5 free API credits கிடைக்கும் — credit card தேவையில்லை.
$5 என்பது pi-ஐ install செய்து, மூன்று skills-ஐ இணைத்து, உண்மையான ஒரு task-ஐ grill-me மூலம் end-to-end நடத்தி, top up செய்யலாமா என்பதை முடிவு செய்வதற்கு முன் ஒரு extended pi-mono session-ஐ இயக்க போதுமான headroom.
- Sign up at smartaipi.com/signup (free $5, no credit card)
- Create an API key in the dashboard
- Install pi:
curl -fsSL https://pi.dev/install.sh | sh - Set
OPENAI_BASE_URL=https://api.smartaipi.com/v1andOPENAI_API_KEYto your new key - Install grill-me + caveman and superpowers
- Run
pi, அடுத்த task-ஐ high reasoning-ல் grill-me செய்யுங்கள், low + caveman-க்கு drop செய்து ship செய்யுங்கள்
Subscription-ல் ஓடும் அதே minimalist harness — இப்போது நீங்கள் உண்மையில் compute செய்வதற்கு ஏற்ப scale ஆகும் pricing model-ல், மேலும் long agentic sessions-ஐ கிட்டத்தட்ட free-ஆ மாற்றும் cache hit rate-உடன்.
OpenAI-compatible API gateway. Frontier AI models ஐ 75% குறைந்த செலவில் அணுகுங்கள்.
இலவசமாக தொடங்குங்கள்