Skip to main content
ai-agents agent-skills coding-agents llm automation langgraph multi-agent mcp

AI Agents and Skills

Agents, coding agents, agent SDKs and Agent Skills: when to use an existing agent with a skill, and when to build a custom agent.

Agents: What Changed

An agent is an LLM that runs in a loop: it decides on an action, calls a tool, reads the result, and repeats until the task is done. That idea is unchanged. The practice around it has moved.

  • General-purpose agents are good enough to start with. Claude Code, OpenAI Codex, Gemini CLI, OpenCode and others work on files, shell and the web, not only on code.
  • Small harnesses are an option. Pi, by Mario Zechner, is a minimal open-source (MIT) coding agent: a short system prompt, a few built-in tools, and everything else added through TypeScript extensions, skills and packages. It also offers RPC and an SDK for embedding.
  • Skills replace many custom agents. A skill is a folder with instructions that a general agent loads when it needs them.
  • MCP is the common way to connect tools. See MCP.

Agent Skills

An Agent Skill is a folder with a SKILL.md file (name, description, instructions) and optional scripts, reference documents and templates. Anthropic published the format in December 2025. In October 2026 it donated the standard to the Agentic AI Foundation (Linux Foundation). Anthropic reports more than 70 agent platforms with support, including Claude Code, ChatGPT, Cursor, GitHub Copilot and VS Code. Codex, Gemini CLI, OpenCode and Pi also load skills.

Skills use progressive disclosure:

  1. Discovery: at start, the agent sees only each skill’s name and description.
  2. Activation: when a task matches, it reads the full SKILL.md.
  3. Execution: it follows the steps and runs bundled scripts or loads reference files as needed.

Many skills cost little context, because only the descriptions are always loaded.

Skill or custom agent?

Use a skill with a general agent whenBuild a custom agent when
The task is a procedure someone can write downThe agent must run unattended as a service, on events or a schedule
A person is in the loop (developer, analyst, support staff)Many users or customers need it, with their own permissions
The work is mostly files, shell, web, existing MCP toolsYou need guaranteed steps, approvals and audit trails in code
You want to version it in git and share it across toolsYou need strict cost, latency or token limits per run
Requirements change oftenThe model must be controlled or swapped (for example a local model)
You are still finding out what the workflow isIt is embedded in your product, with your own UI

Our default

Start with a skill. Write the procedure as SKILL.md, add scripts for the deterministic parts, and run it in a general agent. Move to a custom agent only when a row in the right column applies. The skill text is then the specification for that agent.

Limits of skills:

  • No control over the loop. The model decides whether and how to follow the instructions. For steps that must happen every time, put the logic in a script or in code, or use a workflow.
  • Security. A skill can contain scripts and instructions that an agent executes. Treat third-party skills like third-party code. Malicious skills have been found in public registries. Review them, pin versions, and run agents in a sandbox.
  • Skill selection is probabilistic. Descriptions need to be specific, and test whether the skill triggers when it should.
  • Not a service. A skill needs a host agent with a model, file access and often a shell.

Custom Agents

When a skill is not enough, we build agents on an SDK or in plain code.

Custom agent architecture: A trigger starts an agent loop that uses tools, skills and sub-agents, wrapped in permissions, approval and tracing.

Patterns we use

  • Single agent with tools: the default. Most tasks do not need more.
  • Workflow with LLM steps: fixed sequence, LLM only where judgment is needed. More predictable and cheaper than a free-running agent.
  • Orchestrator and sub-agents: a lead agent delegates parts to workers with their own context. Useful for parallel research and for keeping context small. Worth the extra cost only when the subtasks are independent.
  • Human approval for irreversible actions: payments, emails, deployments, deletions.

What matters in production

  • Least privilege: narrow tool access, scoped credentials, sandboxed execution
  • Prompt injection: treat all fetched content as untrusted. Do not combine private data, untrusted input and an outbound channel in one agent.
  • Evaluation: task-level test sets and replayable traces, not only unit tests
  • Cost and loop limits: maximum steps, tokens and time per run
  • Observability: log every tool call and decision (OpenTelemetry traces)

Frameworks and SDKs

OptionFitsNote
Claude Agent SDKClaude-based agents with files, shell, MCP and skillsThe loop behind Claude Code, as a library
OpenAI Agents SDKLightweight agents with handoffs and guardrailsPython and TypeScript
Google ADKAgents on Google Cloud and GeminiMultiple languages
LangGraphStateful workflows that must resume after failuresGraph with explicit state and checkpoints
Microsoft Agent Framework.NET and Python on AzureSuccessor to AutoGen and Semantic Kernel, which are in maintenance mode
Pi SDKEmbedding a minimal coding agentMIT, TypeScript, multi-provider
Plain codeSimple loops, strict controlOften the clearest choice
go-agent (ours)A portable agent in Go that orchestrates LLMs and MCP tools across local servers (LM Studio, Ollama, vLLM, llama.cpp, Lemonade), cloud APIs and any OpenAI-compatible endpointOpen source (Apache 2.0); runs on AMD, NVIDIA and Apple Silicon. Documented in detail on Substack

We choose by fit, not by popularity. Model-agnostic code and an MCP tool layer keep the choice reversible.


Use Cases

Development teams

  • Coding agents with project-specific skills (conventions, release steps, review checklists)
  • Test generation, documentation, migration work

Research and analysis

  • Multi-source research with citations
  • Data analysis against databases through MCP tools

Business operations

  • Ticket triage, document processing, report generation
  • Process automation with approval steps

Implementation Approach

  1. Discovery: pick one workflow with a clear success measure
  2. Prototype with a skill: test the procedure in a general agent
  3. Decide: keep the skill, or build a custom agent where needed
  4. Guardrails: permissions, sandbox, approvals, limits
  5. Evaluation: test set and traces before rollout
  6. Operation: monitoring, cost tracking, regular review

Want to automate a workflow with agents or skills? Contact us.