xingshu-openagi
v0.0.1
Published
OpenAGI - AI-powered coding assistant (@anthropic-ai/claude-code style distribution)
Maintainers
Readme
OpenAGI (@anthropic-ai/claude-code style)
This is a self-contained distribution of OpenAGI, packaged in the style of @anthropic-ai/claude-code.
Structure
This distribution follows the same structure as @anthropic-ai/claude-code:
openagi-anthropic-style/
├── cli.js # Main CLI executable (self-contained bundle)
├── cli.mjs # ES module version
├── package.json # Package configuration
├── sdk.d.ts # TypeScript definitions for SDK
├── sdk-tools.d.ts # TypeScript definitions for tools
├── sdk.mjs # SDK ES module
├── LICENSE.md # License information
├── README.md # This file
├── node_modules/ # Optional dependencies structure
│ └── @img/ # Sharp platform-specific binaries
└── vendor/ # Binary tools and utilities
└── ripgrep # Ripgrep binaryUsage
# Make executable (if needed)
chmod +x cli.js
# Run OpenAGI directly
./cli.js --help
# Or via node
node cli.js --helpInstallation
- Copy this entire directory to your desired location
- Add the directory to your PATH, or
- Create a symlink:
ln -s /path/to/dist/cli.js /usr/local/bin/openagi
Features
- @anthropic-ai/claude-code architecture: Same structure and conventions
- Self-contained: All npm dependencies bundled into cli.js
- Optional dependencies: Platform-specific binaries in node_modules/@img/
- SDK included: TypeScript definitions and ES module SDK
- Vendor tools: Binary utilities in vendor/ directory
Dependencies
This distribution is completely self-contained:
- ALL application dependencies are bundled into
cli.js - Only Node.js built-in modules are external
- Platform-specific optional dependencies for image processing are in node_modules/
- No additional
npm installrequired!
Everything needed to run OpenAGI is included with just Node.js 18+.
