| name | agentbase |
| description | Agent Database — persistent state for AI agents. Multi-vendor board CLI (Trello, Markdown). Zero dependencies. |
agentbase — Agentbase CLI Skill
Use agentbase CLI for board/card operations. Zero-dependency Node.js CLI supporting Trello and local Markdown backends.
Setup
npm install -g @exisz/agentbase
Configuration
Place .agentbase/agentbase.yml in your project root (or ~/.agentbase/).
Trello Vendor
vendor: trello
trello:
board_id: "your-board-id"
Environment variables required:
export TRELLO_KEY="your-trello-api-key"
export TRELLO_TOKEN="your-trello-api-token"
Markdown Vendor
vendor: markdown
markdown:
dir: "./boards"
Directory structure:
boards/
board-name/
list-name/
card-slug.md # YAML front matter + description body
Common Patterns
Listing
agentbase boards
agentbase lists
agentbase lists -b BOARD_ID
agentbase labels
agentbase cards
agentbase cards -l LIST_ID
agentbase card CARD_ID
Creating & Updating
agentbase card:create -l LIST_ID -n "Card Name" -d "Description" --due 2025-01-01 --label bug
agentbase card:update CARD_ID -n "New Name" -d "New desc" --due 2025-02-01
agentbase card:move CARD_ID LIST_ID
agentbase card:archive CARD_ID
agentbase card:comment CARD_ID "Comment text"
Upsert (Killer Feature)
agentbase upsert --key "unique-key" -l LIST_ID -n "Card Name" -d "Description"
If the key exists in .agentbase/managed.yaml → UPDATE the existing card.
If the key doesn't exist → CREATE a new card and register it.
This prevents agents from creating duplicate cards on every run.
Managed Records
agentbase managed
agentbase sync
Snapshots
agentbase snapshot
agentbase snapshot -o ./my-snapshot.yaml
Migration from Legacy
agentbase migrate:from-trello-yaml ./trello.yaml
Imports records from old trello.yaml format into .agentbase/managed.yaml and creates a basic config.
Key Files
| File | Purpose |
|---|
.agentbase/agentbase.yml | Config (vendor, board_id, etc.) |
.agentbase/managed.yaml | Dedup registry (key → remote card ID) |
Key Features
- Zero runtime dependencies — pure Node.js built-ins only
- Upsert dedup — prevents duplicate cards across agent runs
- Multi-vendor — Trello API + local Markdown files
- Config walk — searches current dir → parent dirs →
~/.agentbase/
- Snapshot export — dump entire board to YAML for version control
Vendor Comparison
| Feature | Trello | Markdown |
|---|
| Remote API | ✅ | ❌ (local files) |
| Collaboration | ✅ | Via git |
| Offline | ❌ | ✅ |
| Labels | ✅ (color) | ✅ (name only) |
| Comments | ✅ | ✅ (appended to file) |
⚠️ Deprecation Notice
board CLI is deprecated. Use agentbase instead.
agentfile CLI is deprecated. Use agentbase instead.
vibase CLI is deprecated. Use agentbase instead.
- Per-workspace
trello.yaml files should be migrated: agentbase migrate:from-trello-yaml ./trello.yaml