open-index/open-npm huggingface dataset:
npm package: @plnth/cli
Description: Command-line interface for the [PLNTH](https://plnth.com) autonomous AI agent platform.
Latest version: 0.0.1

# @plnth/cli

Command-line interface for the [PLNTH](https://plnth.com) autonomous AI agent platform.

## Install

```bash
npm install -g @plnth/cli
```

## Quick Start

```bash
# Authenticate with your PLNTH API key
plnth auth login

# List your agents
plnth get agents

# Apply an agent manifest
plnth apply -f agent.yaml

# View agent details
plnth describe agent <name>

# Check logs
plnth logs <agent-name>
```

## Commands

Run `plnth --help` to see all available commands.

| Command | Description |
|---------|-------------|
| `plnth auth login` | Authenticate with PLNTH |
| `plnth get <resource>` | List resources |
| `plnth describe <resource> <name>` | Show resource details |
| `plnth apply -f <file>` | Create/update from manifest |
| `plnth delete <resource> <name>` | Remove a resource |
| `plnth logs <agent>` | Stream agent logs |
| `plnth runs list` | List agent runs |

## Documentation

Full docs at [plnth.com/docs](https://plnth.com/docs)
npm package: @plnth/sdk
Description: Typed TypeScript SDK for the PLNTH API
Latest version: 0.1.0

# @plnth/sdk

Typed TypeScript SDK for the [PLNTH](https://plnth.com) API. Auto-generated types from the OpenAPI spec ensure full type safety.

## Install

```bash
npm install @plnth/sdk
```

## Quick Start

```typescript
import { PlnthClient } from "@plnth/sdk";

const client = new PlnthClient({
  apiKey: process.env.PLNTH_API_KEY!,
});

// List agents
const agents = await client.agents.list();

// Trigger a run
const run = await client.agents.run("my-agent", {
  task: "Summarize today's PRs",
});
```

## Resources

The SDK provides typed clients for PLNTH API resources:

- `client.agents` — Agent CRUD + lifecycle
- `client.wards` — Ward (guardrail) management
- `client.credentials` — Credential management
- `client.connectors` — Connector configuration
- `client.triggers` — Trigger setup
- `client.apiKeys` — API key management

## Documentation

Full API docs at [plnth.com/docs](https://plnth.com/docs)