Package Exports
- kyrexi
- kyrexi/kyrexi.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kyrexi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
About
Kyrexi is a high-performance, autonomous agentic AI ecosystem designed for developers. It bridges the gap between high-level reasoning and low-level execution, providing a unified platform across CLI and Web. Built with a "Security-First" architecture, Kyrexi empowers users with real-time file system interaction, automated coding, and a stunning "Agentic Pro" visual interface.
CLI Commands
| Command | Action |
|---|---|
/chats |
List all active agent sessions |
/delete |
Remove the current or a specific chat session |
/agent |
Toggle Autonomous Mode on/off |
/fix |
Auto-fix an error using tools (e.g. /fix <error>) |
/clear |
Wipe terminal history and reset the branding |
/login |
Force a secure re-authentication flow |
/exit |
Gracefully terminate the Kyrexi session |
π‘ Pro Tip: Use the
--agenticor-aflag when starting Kyrexi to enable Autonomous Mode by default!
Autonomous Toolbox
Kyrexi v3.5 Pro comes equipped with a suite of professional-grade tools:
- π File System:
list_dir,read_file,write_file,edit_file,multi_edit_file - π» Execution:
run_command,run_background_command,get_command_status - π Research:
search_files(grep),search_web(DuckDuckGo),read_url - π¨ Creativity:
generate_image(AI-powered visuals) - π§ Reasoning: Built-in visual
<thinking>process for transparency
π οΈ Autonomous Auto-Fix
Kyrexi v3.5 introduces a dedicated Fixer mode. Instead of just analyzing an error, Kyrexi will autonomously navigate your codebase to resolve it.
The 4-Step Mission Protocol:
- π Locate: Scans your project directory to find the failing code.
- π§ Diagnose: Analyzes the logic and identifies the root cause.
- π οΈ Fix: Applies precise code modifications using
edit_file. - β Verify: Runs your build/test commands to ensure the fix is successful.
Usage:
kyrexi fix "Your error message here"Or use /fix inside the interactive CLI.
Advanced Intelligence
Powered by the latest Kyrexi Γ Edition, the CLI now supports:
- Vision Intelligence: Analyze images and visual data directly.
- Video Generation: Create stunning AI videos without limits.
- Privacy First: End-to-end encryption with no data selling.
- Mobile Integration: Sync your work with the Kyrexi Android App.
π Kyrexi SDK (Beta)
Integrate Kyrexi's intelligence directly into your own applications! Use the Kyrexi SDK for Autonomous Self-Healingβautomatically detecting, diagnosing, and fixing production errors in real-time.
import { Kyrexi } from 'kyrexi';
const kyrexi = new Kyrexi('YOUR_API_KEY');
try {
throw new Error("Critical database failure");
} catch (err) {
const report = await kyrexi.fix(err, { env: 'production' });
console.log("Kyrexi Auto-Fix Report:", report);
}
π οΈ Project Scaffolding & Global Self-Healing (kyrexi init)
Kyrexi v1.3.9 introduces Interactive Scaffolding to boost your developer velocity. You can bootstrap a production-ready application pre-configured with Kyrexi's autonomous self-healing engines in seconds!
Scaffolding Wizard
Run the scaffolder via the CLI command:
kyrexi initOr use /init or /create inside the interactive terminal session.
The wizard will guide you through:
- π Project Naming (custom project folder creation)
- ποΈ Template Selection:
- π Node.js / Express Server: A ready-to-run Express server setup.
- π Basic Script: A clean template for automation scripts.
- π€ Kyrexi Self-Healing Integration: Automates key generation from your active session, writes the
.envfile, and hooks global error interceptors!
Global Error Interceptors
When Self-Healing is enabled, the scaffolder registers full crash-prevention listeners to intercept unhandled exceptions and autonomously invoke healing diagnostics:
import { Kyrexi } from 'kyrexi';
import dotenv from 'dotenv';
dotenv.config();
const kyrexi = new Kyrexi(process.env.KYREXI_API_KEY);
process.on('uncaughtException', async (error) => {
console.error('\nβ [CRASH DETECTED]:', error.message);
console.log('π€ Kyrexi Pro is executing autonomous self-healing diagnostics...');
try {
const report = await kyrexi.fix(error, { filePath: import.meta.url });
console.log('π€ Kyrexi Healing Report:', report);
} catch (e) {
console.error('β Kyrexi self-healing invocation failed:', e.message);
}
process.exit(1);
});
π Installation
π¦ 1. Global Install via NPM
# Install globally
npm install -g kyrexi
# Start the agent (Standard)
kyrexi
# Start the agent (Agentic Pro)
kyrexi --agentic
# Auto-fix an error
kyrexi fix "Error: Cannot find module './utils'"