Samik
banner
prosamik.bsky.social
Samik
@prosamik.bsky.social
Let's Build and Ship SaaS Together
No Course. No Pitch
Just Honest execution
Bonus tip: Optimise for both security and user experience, tweaking your guardrails as your
agent evolves.
May 7, 2025 at 1:26 PM
7/ Output validation:

Ensures responses align with brand values via prompt engineering and content checks, preventing outputs that could harm your brand’s integrity.
May 7, 2025 at 1:26 PM
6/ Rules-based protections:

Simple deterministic measures (blocklists, input length limits, regex filters) to prevent known threats like prohibited terms or SQL injections.
May 7, 2025 at 1:26 PM
5/ Tool safeguards:

Assess the risk of each tool available to your agent. Use these risk ratings to trigger automated actions, such as pausing for guardrail checks before executing high-risk functions or escalating to a human if needed.
May 7, 2025 at 1:26 PM
4/ Moderation:

Flags harmful or inappropriate inputs (hate speech, harassment, violence) to maintain safe, respectful interactions.
May 7, 2025 at 1:26 PM
3/ PII filter:

Prevents unnecessary exposure of personally identifiable information (PII) by vetting model output for any potential PII.
May 7, 2025 at 1:26 PM
2/ Safety classifier:

Detects unsafe inputs (jailbreaks or prompt injections) 
 that attempt to exploit system vulnerabilities.
May 7, 2025 at 1:26 PM
1/ Relevance classifier:

Ensures agent responses stay within the intended scope by flagging off-topic queries.
May 7, 2025 at 1:26 PM
This is a simple summarisation engine which summarises a YouTube video.

How does this work?
1/ Form trigger, which takes a YouTube video URL
2/ It calls the Apify actor to fetch the video transcript.
3/ Then it calls GPT 4.1 for a concise transcript summary.
4/ And match with different columns.
May 2, 2025 at 12:15 PM
Now, go build your Agentic System
April 30, 2025 at 9:42 AM
Things to keep in mind:

1. All the environment variables will be pre-configured (because of the template)
2. If you change your domain of n8n host, change the webhook URL too in the environment variable
3. Initially, 512 MB RAM for postgres and 2 GB for n8n is more than enough to experiment.
April 30, 2025 at 9:42 AM
I'll be telling you the simplest way to do it

- Go to Railway- https://railway.com?referralCode=mef9w4
- Click on New Project
- Select Deploy a template and select- n8n (w/postgres)

- And change the image of n8n with n8nio/n8n:latest for new updates

And you're all set.
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
railway.com
April 30, 2025 at 9:42 AM
Choice is yours, but trust me, the best way to learn the Agentic System is n8n.

Leverage its potential to experiment with the LLMs and Agentic Workflows, which can be used in production from Day 1 itself.
April 29, 2025 at 1:00 PM
I use Railway as I have to schedule some triggers (CRON schedule) sometimes, and it runs on my server and executes the trigger at the scheduled time.

Else, if I use my local computer, I've to make sure that my hosted n8n is always connected to the internet and runs in the background for 24 hrs.
April 29, 2025 at 1:00 PM
To use n8n, you have three options:
- Use their infrastructure: Pay a minimum of €20 monthly
- Host it in your infrastructure: Use Railway and pay $6 monthly
- Or, use your local computer: Use Docker Desktop or "npx n8n"
April 29, 2025 at 1:00 PM
But if you're keen on learning the core Agentic System, then I'd suggest starting with n8n.

Why?

The reason is obvious: save your precious time,
And get straight to the point.
April 29, 2025 at 1:00 PM
And connect all of them via proper type matching and read a lot of console and terminal logs along to debug all the process.

I wish you all the best if you're doing this already.
April 29, 2025 at 1:00 PM