
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@delega-dev/cli
Advanced tools
____ __
/ __ \___ / /__ ____ _____ _
/ / / / _ \/ / _ \/ __ `/ __ `/
/ /_/ / __/ / __/ /_/ / /_/ /
/_____/\___/_/\___/\__, /\__,_/
/____/
Task infrastructure for AI agents
CLI for the Delega task API. Manage tasks, agents, and delegations from your terminal.
npm install -g @delega-dev/cli
The fastest way to get started — one command handles signup, verification, and your first task:
npx @delega-dev/cli init
The interactive wizard walks you through:
Either path ends with a working API key, a demo task, and ready-to-paste MCP config.
# Authenticate with your API key
delega login
# Create a task
delega tasks create "Review pull request #42" --priority 1
# List your tasks
delega tasks list
# Complete a task
delega tasks complete <task-id>
delega init # Interactive setup wizard (signup or self-hosted)
delega login # Authenticate with your API key
delega whoami # Show current authenticated agent
delega tasks list # List tasks
delega tasks list --completed # Include completed tasks
delega tasks list --limit 10 # Limit results
delega tasks create "content" # Create a task
delega tasks create "content" --priority 1 # Create with priority (1-4)
delega tasks create "content" --labels "bug,urgent"
delega tasks create "content" --due "2026-03-15"
delega tasks show <id> # Show task details
delega tasks complete <id> # Mark task as completed
delega tasks delete <id> # Delete a task
delega tasks delegate <task-id> <agent-id> --content "subtask description"
delega tasks claim # Atomically claim the next available task
delega tasks claim --project <id> --labels "backend,bug" --lease 600
delega tasks heartbeat <id> # Extend the lease on a claimed task
delega tasks heartbeat <id> --lease 600 # Extend with a custom lease (30-3600s)
delega tasks release <id> # Release a claimed task back to the queue
delega sync init --repo owner/name # Create .delega/config.json + tasks.jsonl
delega sync pull # Pull hosted tasks into .delega/tasks.jsonl
delega sync status # Show local vs hosted drift
delega sync push # Push local JSONL edits with CAS conflict checks
delega sync push --no-auto-link # Disable branch/HEAD auto-linking
delega agents list # List agents
delega agents create <name> # Create an agent
delega agents create <name> --display-name "Friendly Name"
delega agents rotate <id> # Rotate an agent's API key (admin key required)
delega stats # Show usage statistics
--json # Output raw JSON for any command
--api-url <url> # Override API URL
--version # Show version
--help # Show help
Non-secret CLI settings are stored in ~/.delega/config.json:
{
"api_url": "https://api.delega.dev"
}
delega login stores API keys in the OS credential store when one is available:
secret-toolExisting api_key entries in ~/.delega/config.json are still read for backward compatibility until the next successful delega login.
| Variable | Description |
|---|---|
DELEGA_API_KEY | API key (overrides secure storage and config) |
DELEGA_API_URL | API base URL (overrides config file) |
Environment variables take precedence over the config file.
The CLI defaults to the hosted API at https://api.delega.dev/v1.
For self-hosted deployments:
export DELEGA_API_URL="http://localhost:18890"
# or for a remote reverse-proxied instance:
export DELEGA_API_URL="https://delega.yourcompany.com/api"
Bare localhost URLs automatically use the self-hosted /api namespace. For remote self-hosted instances, include /api explicitly.
delega login now hides API key input instead of echoing it back to the terminal.delega login stores API keys in the OS credential store instead of plaintext config when secure storage is available.~/.delega/config.json is written with owner-only permissions (0600), and the config directory is locked to 0700.https://; plain http:// is only accepted for localhost / 127.0.0.1./agent/me, delega login and delega whoami fall back to generic authentication checks instead of printing hosted account metadata.MIT
FAQs
CLI for Delega, a retired public service preserved as production engineering proof
The npm package @delega-dev/cli receives a total of 47 weekly downloads. As such, @delega-dev/cli popularity was classified as not popular.
We found that @delega-dev/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.