acossta
banner
acossta.bsky.social
acossta
@acossta.bsky.social
Co-founder at BrainGrid.ai
The takeaway
→ Even vibe coders need structure.
→ AI tools are powerful, but they’re not magic.
→ Give them the right guardrails, and they become incredible.
November 15, 2025 at 6:00 PM
Most people vibe code something and give up as soon as it starts breaking.

The thing is... how you vibe code from 0→1 is very different from how you evolve an app.

In order to evolve a vibe-coded app, you need to prompt like a rockstar developer.
November 7, 2025 at 4:00 PM
A Codex subagent for Claude Code to get a second opinion and review code
October 23, 2025 at 5:00 PM
Kudos to @Spotify for surfacing so many upcoming artists in their discover weekly.

10K monthly listeners is pretty obscure.

It's way harder doing this well, than just surfacing the "safe" bet popular artists that most people like
October 22, 2025 at 3:00 PM
Using the @aisdk provider registry i.e. caching at the provider level
October 21, 2025 at 5:00 PM
Anthropic prompt caching reduced BrainGrid AI costs by 70% and ↓ end-user latency.

The pattern:
• Mark static context with `cacheControl: { type: 'ephemeral' }`
• Cache docs/prompts/tools separately (different TTLs)
• Track cache hit rate per conversation

12-35% hit rate saved thousands monthly
October 21, 2025 at 5:00 PM
The ❌ BEFORE and ✅ AFTER
October 20, 2025 at 3:00 PM
Consolidating @stripe types:

Before → StripeSubscriptionStatus was defined in 3 places:
• Prisma schema
• Service types
• Webhook handler

Now → One import. TypeScript catches errors at compile time. Zero webhook failures since.
October 20, 2025 at 3:00 PM
ID generation logic with @prisma
October 19, 2025 at 3:00 PM
We use both UUIDs with human-readable IDs across @braingridai

Before: "Can you check 8f3a2b1c-..."
After: "REQ-123 needs attention"

Pattern:
• Org-scoped auto-increment sequences
• Formatted with prefix (REQ-, REPO-, GITHUB-)
• Unique per organization

Collaboration and tickets became 10x easier
October 19, 2025 at 3:00 PM
Neat quality of life improvement for BrainGrid: Requirement Mentions.

Use the `@` syntax to reference specific requirements, bringing another requirement into context
October 17, 2025 at 3:00 PM
BrainGrid not only helps you track and spec work, but also, gives you AI- recommendations on what to build next so you can ship the software product of your dreams.
October 16, 2025 at 5:00 PM
Schedule async of drip emails at @braingridai without managing any queue infrastructure.

@upstash Workflows = serverless cron + step functions:
• Schedule cron jobs (every Monday 6am PST)
• Trigger per-user workflows in parallel
• Auto-retry on failure

All in Next.js. No separate services.
October 15, 2025 at 3:00 PM
You'll see this when you write a requirement and break down tasks.
October 14, 2025 at 5:00 PM
Error detection
October 13, 2025 at 3:00 PM
Retry wrapper
October 13, 2025 at 3:00 PM
Not every requirement is ready to build immediately. A lot of the frustration with AI coding comes from taking messy thoughts to the coding agent.

That's why we're introducing 💡Ideas - a way to explore and brainstorm before building.
October 12, 2025 at 3:00 PM
Love using @upstash Workflows for all async operations in @BrainGridAI.

Instead of managing queues + workers, we write workflows like functions:
• Type-safe triggers via WorkflowService
• Auto-retries with exponential backoff
• Built-in step persistence

Zero infra management. Just deploy Next.js.
October 10, 2025 at 8:48 PM
One of the hardest things about AI coding is knowing if the code that was just written does what you need it to do.

Code reviews are good and necessary, but they don't tell you if the code does what you *intended*.
October 9, 2025 at 5:00 PM
Ending the MEGA Launch Week with a bang!

👉 Day 5 Launch: DynamoDB → Propel's ClickHouse

Ingest from DynamoDB to Propel's ClickHouse to power fast analytics.

Key features:
◆ Integrates with DynamoDB streams
◆ Get inserts, updates, and deletes in real time
◆ No need to pay for expensive ETL tools ❤️
December 6, 2024 at 10:24 PM
Day 3 of the MEGA Launch Week 🚢🚢🚢

Segment → Propel's Serverless #ClickHouse

Ingest Segment events, land them in a ClickHouse table, query them via SQL or the Query APIs.

Check out the demo and docs ↓
December 4, 2024 at 8:00 PM