---
title: Agents
description: The Code Mode manifest, MCP server and skill an agent uses to make cards.
---

An agent makes cards through the [`cardstock` CLI](/cli), in this order of
preference:

1. **Code Mode:** `cardstock agent tools --json` prints every tool with its
   input as JSON Schema and whether it reads or writes.
2. **MCP:** `cardstock mcp` serves the same operations on stdio.
3. **The CLI** itself, with `--json`.

## The skill

`skills/cardstock/SKILL.md` tells an agent to:

- turn a request into a card spec, using whatever pictures it's given, makes,
  draws or finds, and credit them
- save presets by itself, so later cards start from what you liked
- add a new design or effect only as code, in a pull request for you to review

The server has no AI of its own: the agent writes the words and picks the
pictures, and the server only stores the encrypted card.

## Status

The Code Mode manifest, MCP server and skill are still being built.
