Skip to content
    Back to all Bounties

    Earn 22,500 ($225.00)

    Time Remainingdue 10 months ago
    Completed

    AI4ALL: Build an AI enabled 'helpme' Plugin for Core Lightning

    Fedi
    Fedi
    Posted 10 months ago
    This Bounty has been completed!
    @Fedi's review of @A2Pro
    5.0
    Average Rating
    Communication 5/5, Quality 5/5, Timeliness 5/5

    Bounty Description

    Problem Description

    Build an AI enabled version of the helpme plugin for the Core Lightning (a Bitcoin Lightning Network Node implementation) command line tool: lncli. The original helpme plugin is written in Python and has hard coded advice for each of the standard lncli commands.

    This project could also be submitted as a project for the AI4ALL remote hackathon running until July 31st, and be eligible for the Bitcoin Education Track prize of $1,000 or the Overall prize of $10,000. Sign up here: https://bolt.fun/tournaments/ai4all/overview and hop in the discord! https://discord.gg/sbvwDKTh

    This bounty is for using AI to either augment the existing helpme plugin or write a from scratch version to have a AI command line helper for running a Core Lightning node.

    Acceptance Criteria

    Only hard requirement is that you use AI for the helpme plugin, but a couple recommended approaches (implementing 1 or more of these would qualify for the bounty, implementing the rest of them and any other ideas you come up with would make for an even better hackathon submission!)

    1. Create embeddings over the Core Lightning documentation and other useful lncli resources for retrieval augmentation with a chat/instruct large language model within helpme
    2. Introspect into the tail of the CoreLightning Node's log file, feed that into an LLM for a plaintext summary
    3. Pipe errors directly into a LLM to get summaries of any failures and recommended actions. Maybe even use a langchain agent and allow it to execute the fix itself!
    4. Extra Credit: evaluate the node state (current channel balances, peer connections, etc) and periodically recommend (or take!) actions to help the user run their lightning node.

    For a tutorial on how to run and build Core Lightning Plugins in Replit, see this Replit workshop tutorial: https://replit.com/@Fedi/Sauron-Build-Core-Lightning-Plugins-on-Replit?v=1

    Youtube link: https://www.youtube.com/watch?v=5Ba9-jr3Gao

    What is AI4ALL?

    AI4ALL is a remote hackathon running the month of July focused on using freedom technologies like Bitcoin to scale access to AI tooling and applications through micropayments and privacy. Join us! https://bolt.fun/tournaments/ai4all/overview

    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang