loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

agentfile

MCP Tool

DeveshB-1/agentfile

Dockerfile for AI agents. Define your model, tools, memory, and system prompt in a single file.

Install

$ npx loaditout add DeveshB-1/agentfile

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "agentfile": {
      "command": "npx",
      "args": [
        "-y",
        "agentfile"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

<div align="center">

Agentfile

Dockerfile for AI agents.

Define your agent's model, tools, memory, and system prompt in a single file. Run it anywhere.

FROM claude-sonnet

SYSTEM "You are an expert software engineer."

TOOL ghcr.io/modelcontextprotocol/server-filesystem:latest  filesystem
TOOL ghcr.io/modelcontextprotocol/server-github:latest      github

MEMORY sqlite://./memory.db
agentfile run

That's it.

<br />

[](https://opensource.org/licenses/MIT) [](https://github.com/DeveshB-1/agentfile/stargazers)

</div>

---

Why

Every AI agent project today is a mess of scattered config, hardcoded prompts, and manual setup steps. There's no standard way to define what an agent is.

Docker solved this for containers with a single Dockerfile. Agentfile does the same for AI agents.

  • Reproducible — the same Agentfile produces the same agent every time
  • Portable — runs on any machine with Docker or Podman
  • Versionable — commit your Agentfile, track how your agent evolves
  • Shareable — share your agent like you share a Dockerfile

---

Install
curl -fsSL https://raw.githubusercontent.com/DeveshB-1/agentfile/main/install.sh | sh

Or with Go:

go install github.com/DeveshB-1/agentfile/cmd/agentfile@latest

---

Syntax
# Base model
FROM claude-sonnet

# System prompt (single line)
SYSTEM "You are a helpful assistant."

# System prompt (multi-line)
SYSTEM """
You are an expert software engineer.
You write clean, idiomatic code.
You ask clarifying questions when requirements are unclear.
"""

# MCP tools — any container image
TOOL ghcr.io/modelcontextprotocol/server-filesystem:latest  filesystem
TOOL ghcr.io/modelcontextprotocol/server-github:latest      github
TOOL ghcr.io/modelcontextprotocol/server-brave-search:latest brave

Tags

agentfileai-agentsclaudedeveloper-toolsmcp

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated20 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/30/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/DeveshB-1/agentfile)](https://loaditout.ai/skills/DeveshB-1/agentfile)