Skip to main content

AI-native task management CLI for coding agents and human developers

Project description

AnyTask CLI

AI-native task management CLI for coding agents and human developers

AnyTask CLI is a command-line interface for managing tasks and projects, designed specifically for AI agents and developers working together. It provides Linear-style task management with agent-aware features, MCP (Model Context Protocol) integration, and powerful AI-assisted commands.

Features

Core Capabilities

  • Linear-style Task Management: Human-readable task IDs (DEV-123), status workflows, priorities, and dependencies
  • Multi-Environment Support: Manage tasks across dev, staging, and production environments
  • Workspace & Project Organization: Isolated workspaces with role-based access
  • Rich Terminal UI: Beautiful, color-coded task boards and visualizations
  • Agent Integration: Native support for AI agents via API keys and MCP server

CLI Commands

  • Environment Management: anyt env - Configure and switch between environments
  • Authentication: anyt auth login - Authenticate with user tokens or agent API keys
  • Workspace Management: anyt workspace - List, select, and manage workspaces
  • Task CRUD: anyt task create/get/update/delete - Full task lifecycle management
  • Task Views: anyt task list/board - View tasks in lists or Kanban boards
  • Dependencies: anyt task dep - Manage task dependencies
  • Active Task: anyt task pick/drop - Track current task in progress
  • AI Commands: anyt ai decompose - AI-powered task decomposition
  • MCP Server: anyt mcp start - Run MCP server for Claude Code integration

Quick Start

Prerequisites

  • Python 3.12+ with uv installed
  • AnyTask Backend Server (API endpoint)
  • Authentication: User token (JWT) or Agent API key

Installation

Option 1: Install from PyPI (Coming Soon)

pip install anyt

Option 2: Install from Source

git clone <repository-url>
cd AnyTaskCLI
make install

Initial Setup

  1. Configure environment

    The CLI comes pre-configured with a production environment. To use a local development server instead:

    anyt env add dev http://localhost:8000
    anyt env use dev
    

    To verify your current environment:

    anyt env list
    
  2. Authenticate

    For human users:

    anyt auth login
    # Paste your JWT token when prompted
    

    For AI agents:

    anyt auth login --agent-key anyt_agent_xxxxxxxxxxxxx
    
  3. Select workspace

    anyt workspace list
    anyt workspace select DEV
    
  4. Create your first task

    anyt task create "Implement user authentication" --status todo --priority 1
    

Usage Examples

View Tasks

# List all tasks
anyt task list

# Filter by status
anyt task list --status inprogress

# View as Kanban board
anyt task board

# Get task details
anyt task get DEV-123

Manage Tasks

# Create task
anyt task create "Add API endpoint" --status todo --priority 2

# Update task
anyt task update DEV-123 --status inprogress

# Add dependency
anyt task dep add DEV-124 --blocks DEV-123

# Delete task
anyt task delete DEV-123

Active Task Workflow

# Pick a task to work on
anyt task pick DEV-123

# View current active task
anyt task active

# Mark as done and drop
anyt task update DEV-123 --status done
anyt task drop

AI-Powered Commands

# Decompose a goal into tasks
anyt ai decompose "Implement user authentication system" --project-id 1

MCP Server for Claude Code

# Start MCP server
anyt mcp start

# Use with Claude Code by adding to claude_desktop_config.json:
# {
#   "mcpServers": {
#     "anytask": {
#       "command": "anyt",
#       "args": ["mcp", "start"]
#     }
#   }
# }

Claude Code Integration

AnyTask provides seamless integration with Claude Code through slash commands, enabling AI-assisted task management directly in your development environment.

Quick Setup

  1. Install and configure AnyTask CLI (see Quick Start above)
  2. Start using slash commands in Claude Code:
    • /anyt-next - Get intelligent task recommendations
    • /anyt-active - View your current task
    • /anyt-create - Create new tasks interactively
    • /anyt-board - See your Kanban board

Example Workflow

User: /anyt-next

Claude: "๐Ÿ“‹ Top Task Recommendations:

1. DEV-42: Implement OAuth callback (Score: 15.0)
   โ€ข Priority: 2 (Urgent)
   โ€ข All dependencies complete โœ“
   โ€ข Unblocks 2 other tasks

Which task would you like to work on?"

User: "Let's do DEV-42"

Claude: "Great! Now working on DEV-42. Let me help you implement it..."

Features

  • Smart Task Selection: AI analyzes priority, dependencies, and impact to recommend the best task
  • Interactive Task Creation: Claude guides you through creating well-structured tasks
  • Progress Tracking: View active tasks and board status without leaving your editor
  • Context-Aware Help: Claude understands your current task and offers relevant assistance

Learn More

See Claude Code Integration Guide for:

  • Complete setup instructions
  • All available slash commands
  • Workflow examples and best practices
  • Troubleshooting tips

Two Integration Options:

  1. CLI-based (recommended for getting started) - Simple slash commands, no extra setup
  2. MCP Integration (advanced) - Full Model Context Protocol integration with real-time updates

Configuration

Environment Configuration

Configuration is stored in ~/.config/anyt/config.json:

{
    "environments": {
        "prod": {
            "api_url": "http://anyt.up.railway.app",
            "auth_token": "your-token-here",
            "default_workspace": 1
        },
        "dev": {
            "api_url": "http://localhost:8000",
            "auth_token": "your-dev-token-here",
            "default_workspace": 1
        }
    },
    "current_environment": "prod"
}

Workspace Configuration

Workspace settings are stored in .anyt/anyt.json:

{
    "workspace_id": "1",
    "name": "Development",
    "api_url": "http://localhost:8000",
    "last_sync": "2025-10-18T10:00:00Z"
}

Development

Setup Development Environment

# Clone repository
git clone <repository-url>
cd AnyTaskCLI

# Install dependencies
make install

# Run tests
make test

# Run type checking
make typecheck

# Format code
make format

# Lint code
make lint

Project Structure

src/
โ”œโ”€โ”€ cli/                   # CLI application
โ”‚   โ”œโ”€โ”€ main.py           # Entry point
โ”‚   โ”œโ”€โ”€ client.py         # API client
โ”‚   โ”œโ”€โ”€ config.py         # Configuration management
โ”‚   โ””โ”€โ”€ commands/         # Command modules
โ”‚       โ”œโ”€โ”€ env.py
โ”‚       โ”œโ”€โ”€ auth.py
โ”‚       โ”œโ”€โ”€ workspace.py
โ”‚       โ”œโ”€โ”€ task.py
โ”‚       โ”œโ”€โ”€ ai.py
โ”‚       โ””โ”€โ”€ mcp.py
โ””โ”€โ”€ anytask_mcp/          # MCP server
    โ”œโ”€โ”€ server.py
    โ”œโ”€โ”€ tools.py
    โ””โ”€โ”€ resources.py

tests/
โ””โ”€โ”€ cli/
    โ”œโ”€โ”€ unit/             # Unit tests
    โ””โ”€โ”€ integration/      # Integration tests

Running Tests

# Run all tests
make test

# Run only unit tests
make test-cli-unit

# Run integration tests (requires server)
make test-cli-integration

Documentation

License

Proprietary - AnyTransformer Inc.

Support

For issues and feature requests, please contact: contact@anytransformer.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anyt-0.1.0.tar.gz (347.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anyt-0.1.0-py3-none-any.whl (87.3 kB view details)

Uploaded Python 3

File details

Details for the file anyt-0.1.0.tar.gz.

File metadata

  • Download URL: anyt-0.1.0.tar.gz
  • Upload date:
  • Size: 347.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for anyt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e7ff1affac82c26b0f2efbab1158811aa6c062438b1ebc42fba56d4d5d42322
MD5 c4e21bff2ac4e3b0d0f77cd2a58fb485
BLAKE2b-256 9ab191f0a5b6587f5cfc420a4d907c33a2f7cdf7242935db2e5c9ab31ced5b34

See more details on using hashes here.

File details

Details for the file anyt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: anyt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 87.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for anyt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4e614fde8d3415112bcac075f32a0dcfcb52ef3ec115f565bc2120b2c614da
MD5 d897e0b7541a89c0550017b723440e48
BLAKE2b-256 f7650da1250816f937d2611126c37aeadef1b4688ee7a83f3f497eddb9f98086

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page