thunderjr / alune-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alune

| Alune is an AI-powered toolchain designed to help users navigate their daily tasks with ease by leveraging the power of their computer environment. Currently in development, this app aims to channel the supportive and empowering spirit of Alune, inspired by the Aphelios's sister from League of Legends, guiding you as you conquer your daily challenges. Alune is a CLI tool, with plans to evolve into a web app in the future. | |

Features

  • AI integration: Harness the power of AI to assist you in your daily tasks and decision-making
  • Environment automation: Leverage your computer environment to automate and streamline tasks
  • Customizable toolchain: Tailor the toolchain to your specific needs and preferences
  • CLI tool: Utilize the command line interface for efficient interaction and control
  • [TODO] Task management: Organize and prioritize your daily tasks and long-term goals

Example

Here's a snippet of code demonstrating how to use the AI assistant:

import type { ChainValues } from 'langchain/dist/schema';
import type { AgentExecutor } from 'langchain/agents';
import { Injectable } from '@nestjs/common';

import { InjectCommandAgent } from 'src/decorators/providers';

@Injectable()
export class AppService {
  constructor(
    @InjectCommandAgent() private readonly commandRunnerAgent: AgentExecutor,
  ) {}

  promptAi(input: string): Promise<ChainValues> {
    return this.commandRunnerAgent.call({
      input,
    });
  }
}

This example shows how to create an injectable service using Nest.js, which uses the AI-powered commandRunnerAgent to process user input and return a response.

About


Languages

Language:TypeScript 83.9%Language:JavaScript 16.1%