/carp

C.A.R.P. - Claude Agent Registry Portal

Primary LanguageRustMIT LicenseMIT

Carp 🐟

Claude Agent Registry Portal - A modern registry for Claude AI agents, similar to crates.io for Rust packages.

Website License: MIT

⚠️ Under Active Development: This project is under active development and may break. APIs and features are subject to change.

Overview

Carp is an open-source registry for discovering, pulling, and publishing Claude AI agents. The platform includes a web interface, serverless REST API, and Rust CLI tool for agent management.

Features

  • 🔍 Agent Discovery: Browse and search through Claude agents
  • 📦 CLI Management: Pull agents from the registry with the carp CLI
  • ⬆️ Agent Upload: Upload agents to share with the community
  • 🌐 Web Interface: Modern React-based frontend
  • 🔐 API Authentication: Secure API key-based authentication

CLI Tool

Installation

# Install from crates.io
cargo install carp-cli

# Or build from source
git clone https://github.com/refcell/carp
cd carp/cli
cargo build --release

Usage

# Global flags (available for all commands)
carp --verbose <command>    # Enable verbose output
carp --quiet <command>      # Suppress all output except errors
carp --api-key <key> <command>  # Provide API key (or use CARP_API_KEY env var)

# Check API health
carp healthcheck

# List all available agents
carp list

# Search for agents
carp search <query>
carp search <query> --limit 10
carp search <query> --exact

# Pull an agent (interactive selection if no name provided)
carp pull [agent-name[@version]]
carp pull agent-name --output ./output/
carp pull agent-name --force

# Upload agents from directory (prompts for directory if not provided)
carp upload --directory ~/.claude/agents/

# Authentication commands
carp auth login     # Login with API key
carp auth status    # Show authentication status
carp auth logout    # Clear stored API key (logout)

Technology Stack

  • Frontend: React + TypeScript with Tailwind CSS
  • Backend: Serverless Rust API on Vercel
  • CLI: Rust with Clap for command parsing
  • Database: PostgreSQL with Supabase
  • Authentication: API key-based with secure storage

Development

This project follows Rust conventions with comprehensive tooling:

# Build workspace
just b

# Run tests
just t

# Lint and format
just l
just f

Contributing

We welcome contributions! This is an open-source project under the MIT license. Feel free to:

  • Report bugs and request features
  • Submit pull requests
  • Improve documentation
  • Share your agents with the community

License

This project is licensed under the MIT License - see the LICENSE file for details.


Visit carp.refcell.org to explore the registry and discover amazing Claude agents!