Skip to content

umijs/ai

Repository files navigation

@umijs/ai

Features

  • Support OpenAI, Anthropic, Google, etc.
  • Support custom model.
  • Support custom tools.
  • Support interactive mode.
  • Support cursor rule file.
  • Support Model Context Protocol.
  • Best practice about react, node, tooling and etc built-in.

Usage

$ npx @umijs/ai [options]

Options

  • -p, --prompt: The prompt to use.
  • -m, --model: The model to use.
  • -t, --tools: The tools to use.
  • -c, --context: The context to use.
  • -f, --files: The files to use, supports glob pattern.

Examples

$ npx @umijs/ai -p "Create a new tnf project"
$ npx @umijs/ai -p "Write tests" -f "src/foo.ts"
$ npx @umijs/ai -p "Add prettier"
$ npx @umijs/ai -p "Add page foo"
$ npx @umijs/ai -p "Install missing dependencies" -f "src/foo.ts"

CREDITS

This project is inspired by:

  • cali, inspired the first version of the project.

LICENSE

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published