cli  by modelstudioai

AI agent CLI for multimodal workflows and tool orchestration

Created 1 month ago
263 stars

Top 96.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

The modelstudioai/cli is the official command-line interface for Aliyun Model Studio (DashScope), designed to expose AI capabilities as structured tool calls for AI Agent frameworks. It empowers developers and users to integrate advanced features like multimodal interaction, content generation, knowledge retrieval, and workflow orchestration directly into terminal-based applications and agentic systems, streamlining complex AI task execution.

How It Works

This CLI operates by translating natural language commands and agent instructions into structured API calls for Aliyun's diverse AI models and services. Its core design emphasizes composability, allowing AI Agents to orchestrate primitives such as text chat, image/video generation, multimodal understanding, and web search. This approach enables sophisticated, multi-step AI pipelines to be managed and executed seamlessly from the command line.

Quick Start & Requirements

  • Installation: npm install -g bailian-cli
  • Prerequisites: Node.js version >= 22.12.
  • Authentication: Requires either console login (bl auth login --console) for management features or an API key (bl auth login --api-key sk-xxxxx) for most AI service interactions. Alibaba Cloud AK/SK is needed for Knowledge Base access.
  • Documentation: Aliyun Model Studio CLI Site, API Documentation.

Highlighted Details

  • AI Agent Native: Commands are structured as tool calls, ideal for programmatic integration into AI Agent frameworks.
  • Comprehensive AI Services: Supports text chat (Qwen models), advanced image/video generation and editing (Qwen-Image 2.0, Happy-Hose 1.1), multimodal understanding (Qwen-VL), speech synthesis/recognition, and real-time web search.
  • Workflow Orchestration: Enables RAG, app calls, and model recommendation, facilitating complex pipelines like end-to-end video generation from a single prompt.
  • Console Management: Provides terminal access to manage Aliyun Model Studio resources, including apps, quotas, usage statistics, and workspaces.

Maintenance & Community

No specific details on maintainers, sponsorships, or community channels (e.g., Discord, Slack) are provided in the README. Contribution guidelines are available in CONTRIBUTING.md.

Licensing & Compatibility

  • License: Apache 2.0.
  • Compatibility: The Apache 2.0 license is permissive, generally allowing for commercial use and integration into closed-source projects.

Limitations & Caveats

Certain advanced features, including Knowledge Base & Memory, App calls, MCP integration, and Console capabilities, are restricted to users with China site (aliyun.com) accounts and are not available for international/global site accounts.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
50
Issues (30d)
2
Star History
55 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.