Show Notes
Parker dives into using Cursor background agents with Claude 4 and Google Cloud to power a Discord-aware AI assistant (Val) plus a behind-the-scenes look at his AI-driven loops, monorepo, and the AISDLC CLI.
Cursor background agents and the codebase
- New codebase: AI community platform monorepo with web app, Discord OAuth, Stripe subscriptions, Discord bot, and shared AI SaaS builder packages.
- Cursor background agents: Claude 4 Max is the current engine; tasks are lightweight lint/fix jobs that run in the background and can spawn a new Git branch based on the result.
- UI flow: Activate the background agent pane with Command + ;, similar to Cursor Composer for OG users.
- Practical note: The setup is beta but working; keep linting and formatting strict to help the AI stay productive. It’s also tying into CI/CD.
AI loops and architecture patterns
- The project is a weekend experiment built to see how far background agents can go for small changes and iterative improvements.
- AI done / backlog / doing / done: A simple backlog system that Parker is exposing via AI-driven workflows.
- AISDLC concept: A CLI that chains prompts (pitch → PRD → architecture) to guide decisions. It’s Python/TypeScript-focused and can accelerate architectural decisions.
- Deployment architecture (high level):
- Frontend: Astro web app
- Backend/API: Express API on Cloud Run
- Discord bot: Val, also on Cloud Run
- Data & auth: Supabase/OAuth, Stripe for subscriptions
- Vector search: Vertex AI embeddings and vector search
- Storage & secrets: Cloud Storage, Secret Manager
- Event flow: Client → Cloud Run → AI/LLM calls → vector search and persistence → results back to Discord and UI.
Val: the Discord co-pilot for the community
- Val uses vector embeddings to index and search Discord message history by channel, enabling context-aware prompts.
- Key capabilities:
- Proactive/retroactive message collection and summarization
- Semantic search over past messages
- Summaries with configurable depth: general overview, technical focus, decisions/actions, key insights
- Forward slash commands for LLM calls, collector status, semantic search, and summaries
- Channel-level and weekly/global “summaries” (upcoming feature set)
- News agent Birdie: A separate agent to fetch trusted sources and feed Val for more reliable context
- Future ideas: TL;DR-style summaries for videos (TLDDR) and deeper multi-agent collaboration, plus language-specific agents trained on docs and codebases
Demos, loops, and what’s next
- The UI/UX for building and testing background tasks is being iterated in real time; the system is designed to fix linting and formatting via AI tasks and Git branches.
- The architecture graph (Mermaid) shows the client, Astro web app, Cloud Run services, and how the pieces interact with Vertex AI for embeddings and vector search.
- Next steps Parker mentions:
- More testing today
- Expand background agents to handle smaller changes in the codebase
- Ship AISDLC and open invites to the community
Practical takeaways
- Use background agents to automate small, repeatable code tasks (lint fixes, minor refactors) to speed up iteration.
- Separate code into small, pure functions/files to make AI reasoning and reusability easier.
- Leverage vector search with embeddings to maintain context over long message histories in chat/Discord workflows.
- Combine a News agent (Birdie) with a context-using agent (Val) to keep outputs reliable and timely.
- Consider language-specific agents trained on documentation and codebases to tailor responses to Python, JavaScript, etc.
- Have a clear architecture and deployment pattern early (frontend → Cloud Run → vector DB → Discord) to keep scaling manageable.
Actions you can take
- If you’re curious about AISDLC, drop a comment with AISDLC to get an invite to the repository.
- Explore setting up a similar Val-style workflow for your own community or product with Vertex AI and a Discord bot.
- Start with a small backlog in AI done / backlog / doing / done to test automated task iterations before expanding.
Links
- Cursor background agents (Claude 4 integration on Cursor)
- Claude 4 / Claude 4 Max
- Google Cloud Vertex AI (embeddings, vector search)
- Cloud Run
- Secret Manager
- Stripe (subscriptions)
- Supabase
- Astro
- Mermaid (mermaid.live for diagrams)
- Turborepo (monorepo tooling)