Stepping into agentic coding

Published: (January 20, 2026 at 04:56 AM EST)
2 min read
Source: Dev.to

Source: Dev.to

Experience with Copilot Agent

I have mainly used GitHub Copilot for inline edits and PR reviews, letting my brain do most of the thinking. Recently I decided to give full control to an AI agent. I refactored my colorful, cheeky portfolio website into a modern design using the Copilot agent, and was very impressed with the results. Check it out: . Let me know which design appeals to you more 🙂.

Using Claude Haiku 4.5

The agent closely followed the framework’s syntax and my coding style, ensuring that the core component structure and overall design remained intact. It only introduced a few minor syntax errors—such as poorly closed tags—that were easy to fix. I found that the generated code performed better when the agent had full context of the codebase rather than working on isolated inline edits or PR comments.

Guardrails and Security

  • I limited the agent’s ability to execute terminal commands.
  • I instructed it to check for security vulnerabilities in the codebase. The agent detected and fixed a couple of issues, which was a nice safety net.
  • After each iteration, the agent provided neatly structured documentation of what it had done.

Next time, I plan to use a sandboxed environment for local development to add an extra layer of safety and prevent an agent from running code directly on my machine.

Recommendations for Non‑Technical Users

  • Never grant an agent “Auto‑Merge” rights to your production system. Always require manual review and approval before deploying changes.
  • Be cautious with the information you share in prompts. Avoid including customer lists, passwords, or private API keys.

Future Plans

As the AI coding “Pandora’s box” spreads across the development world, I intend to study agent security more deeply and share my learnings along the way.

Back to Blog

Related posts

Read more »

Rapg: TUI-based Secret Manager

We've all been there. You join a new project, and the first thing you hear is: > 'Check the pinned message in Slack for the .env file.' Or you have several .env...

Technology is an Enabler, not a Saviour

Why clarity of thinking matters more than the tools you use Technology is often treated as a magic switch—flip it on, and everything improves. New software, pl...