Everyone is talking about AI agents. AI is only one piece of the puzzle. I'm more interested in everything around them.
Python, PostgreSQL, n8n, Docker, APIs, VPS.
AI is only one piece of the puzzle.
The real value comes from connecting everything together into systems that actually do useful work.
That's what I'm building. I'll share everything I learn along the way.
#AIAgents #Automation #Python
A small decision that makes a big difference:
Keep configuration and secrets in a .env file.
Database credentials.
API keys.
Service URLs.
Tokens.
The code stays clean.
Secrets stay out of GitHub.
Each environment can use its own settings.
Simple, but essential when you are building a platform instead of a collection of scripts.
#Python #SoftwareArchitecture #DevOps #AIAgents
Core platform: done.
✓ Shared PostgreSQL database
✓ Docker environment
✓ Common Python framework
✓ API-ready architecture
✓ n8n integration
Everything is now in place to start building production AI agents.
#Python#PostgreSQL#Docker#AI
All my AI agents share the same PostgreSQL database because agents shouldn’t work in isolation.
An email agent can collect data.
A document agent can use it.
A reporting agent can build on it.
Small design decisions like this make it much easier to grow the system over time.
#Python #PostgreSQL #AI
My first production AI agent has one job:
Process incoming emails.
Download invoices.
Organize documents.
Send a notification.
That’s it.
Just one reliable workflow that saves time every day.
Build one useful agent.
Then another.
Eventually, they become a system.
#AIAgents #Automation
Don’t put business logic inside n8n.
Keep complex logic in Python.
Let n8n orchestrate your workflows.
This makes your automations easier to maintain, test and scale.
How do you structure your n8n workflows?
#n8n#Python#Automation
@_navicstein That's exactly my experience. I waited much longer than I should have. Once I deployed my first server, I realized it wasn't nearly as complicated as I'd imagined.
Stop deploying AI projects on your local machine.
For less than $10/month, you can have your own Linux VPS running 24/7.
My basic setup:
• Ubuntu Server
• Docker & Docker Compose
• Nginx
• PostgreSQL
• Python
• n8n
• UFW Firewall
• Automatic backups
With this setup you can host:
→ AI agents
→ APIs
→ Telegram bots
→ Discord bots
→ Automation workflows
→ Personal projects
Learning how to deploy your own server is one of the highest ROI skills for AI developers. It's much easier than most people think. What's stopping you from deploying your first VPS?
#Linux #VPS #Docker #Python #AI
AI will not replace SQL engineers.
It will replace engineers who don’t understand what the AI wrote.
ChatGPT generates plausible queries. Not correct ones.
It doesn’t know your schema. Your data distribution. Your edge cases.
The engineer who can audit AI SQL is now more valuable, not less.
#SQL #AI #futureofwork
The NoSQL hype of 2015 set a generation of developers back 10 years.
"Postgres can't scale" - it runs Notion, Shopify, Instagram.
"SQL is too rigid" - JSONB exists.
"Joins are slow" - bad indexes are slow.
We migrated away from Postgres. Then we migrated back.
Every. Single. Time.
#SQL #NoSQL #PostgreSQL
PostgreSQL isn’t just a database.
It’s a full analytics engine hiding in plain sight.
Why devs & data teams choose it:
• Advanced SQL (window functions, CTE chaining)
• JSONB → structured + unstructured data in one place
• Materialized views → fast analytics
• Extensions like pgvector → AI-ready
• Rock-solid reliability
If you’re building data products or analytics systems,
PostgreSQL is often all you need.
#PostgreSQL #DataEngineering #SQL #Analytics #AI
12/12 - Final Mental Model
Daily SQL Tip 💡
Human → defines meaning
SQL → defines truth
AI → explains it
That’s the stack.
Everything else is tooling.
#SQL#AI#SQLforAI
11/12 - Human + AI + SQL Daily SQL Tip 💡
The future is not AI replacing SQL engineers. It’s collaboration.
Human:
- understands the data model
- designs the schema
- validates results
AI:
- drafts queries
- explores data
- explains insights
SQL remains the language of truth.
#SQL #AI #SQLforAI #DataEngineering
10/12 - AI Observability
Daily SQL Tip 💡
AI systems generate queries automatically.
Someone still needs to monitor performance.
Classic SQL tools become AI tools:
- explain
- query plans
- indexes
- statistics
Understanding query execution will be even more valuable in the AI era.
#SQL #AIEngineering #DatabasePerformance
PostgreSQL: Why Engineers Love It
Daily SQL Tip 💡
PostgreSQL isn’t just another database.
It’s a powerhouse for serious data work.
What makes it stand out:
• Advanced SQL support
Window functions, CTEs, JSON, arrays, all native.
• Extensible by design
Add custom types, functions, even languages (Python, etc.)
• MVCC (no locking drama)
Reads don’t block writes → smooth concurrency
• JSON + relational = hybrid power
Perfect for modern apps & APIs
• Rock-solid reliability
ACID compliant, battle-tested for decades
• Extensions ecosystem
PostGIS (geo), Timescale (time-series), pgvector (AI)
• AI-ready
Vector search + structured data in one place
PostgreSQL is not just a database.
It’s a data platform.
#SQL #PostgreSQL #DataEngineering #AI #Database
9/12 — SQL as AI Infrastructure
Daily SQL Tip 💡
In the AI stack, SQL is an infrastructure.
Every AI system eventually needs:
- structured storage
- reliable joins
- aggregations
- consistency
LLMs generate ideas why SQL generates trusted answers.
#SQL#AIInfrastructure #DataEngineering
8/12 - Schema Design for AI
Daily SQL Tip 💡
AI struggles with messy schemas.
Clear naming makes AI better at writing queries.
Good schema design means:
• clear table names
• descriptive columns
• meaningful keys
• documented metadata
Think of schema design as prompt engineering for databases.
#SQL #DatabaseDesign #AIEngineering
7/12 - RAG + SQL
Daily SQL Tip 💡
RAG fixes hallucinations by grounding AI in real data.
But vector search alone is not enough.
Modern stack:
Vector search → retrieve context
SQL → compute exact answers
Vectors find relevant information.
SQL guarantees correct results.
Together they power reliable AI systems.
#SQL #RAG #SQLforAI #AIEngineering