Build your own agent.
Agentfile helps you build custom agents as portable container images. Declarative, harness-agnostic, and ready to run anywhere.
- No code, declarative agents
- Driven by Markdown and YAML and managed in git.
- Bring your own harness
- Leverage agentic harness tools you already know and trust - Claude, Codex, Pi, and more
- Agents as portable container images
- Standard container images that run anywhere - locally, in cloud, Kubernetes, or CI/CD.
bug-triage-agent/agentfile.yamlYAML
harness:
claudecode: {}
llm:
anthropic:
model: claude-sonnet-5
systemPrompt:
path: "prompts/systemPromptV3.md"
prompt:
text: "your task is to investigate the bug ..."
skills:
- git:
url: "https://github.com/.../kubernetes-sre"
- fs:
path: "skills/known-issues"
mcps:
- name: logs
http:
url: "https://internal-logs:1234/mcp"
What can you do with Agentfile?
Ready to start building?
Check out the project on GitHub
Agentfile →