8000 GitHub - ssccio/LLMCode: LLM Code (Open Claude Code) is an agentic coding tool that lives in your terminal, understands your codebase and helps you code faster through natural language commands
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ LLMCode Public
forked from futureHQ/LLMCode

LLM Code (Open Claude Code) is an agentic coding tool that lives in your terminal, understands your codebase and helps you code faster through natural language commands

License

Notifications You must be signed in to change notification settings

ssccio/LLMCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Code (Open Claude Code)

⚠️ This project is currently under active development and in its early stages. LLM Code is using LLM Code to build itself.

LLMCode

LLM Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster through natural language commands. This tool integrates directly with your development environment, allowing you to edit files, navigate directories, and interact with an AI assistant.

Inspired by Anthropic's Claude Code, this project aims to provide a similar interactive coding experience while being open-source and customizable.

DEMO

LLMCode.-.Walkthrough.mp4

Features

  • 🤖 Interactive AI coding assistant
  • 📁 File and directory operations
  • ✏️ File editing and appending
  • 🔍 Codebase context understanding
  • ⚙️ Configurable settings
  • 🌈 Colored terminal output

Installation

  1. Clone the repository:
git clone https://github.com/futureHQ/LLMCode.git
cd LLMCode
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure your API key:
python main.py
/config set apiKey YOUR_API_KEY

Usage

Start the application:

python main.py

Available Commands

  • Basic Commands:

    • /help - Show help message
    • /exit, /quit - Exit the program
    • /pwd, /cwd - Print working directory
  • File Operations:

    • /ls [path] - List directory contents
    • /tree [path] - Show directory structure
    • /cat <file> - Display file contents
    • /write <file> - Create/overwrite a file
    • /append <file> - Append to existing file
  • Directory Operations:

    • /cd <path> - Change directory
    • /mkdir <path> - Create directory
  • Configuration:

    • /config set <key> <value> - Set configuration value
    • /config list - List all configurations
    • /config show - Show active configuration
  • Context:

    • /context [path], /# - Get workspace context

Configuration

The configuration file is stored at ~/.llm_code_config.json. You can configure:

  • apiKey - Your API key
  • baseUrl - API base URL (default: https://api.openai.com/v1)
  • model - AI model to use
  • debug - Enable/disable debug mode

Usage

Start the application:

python main.py

Basic Usage Examples

  1. First, get the context of your codebase:
[myproject]> /# 
Getting context from: /path/to/myproject
Found 3 file(s) in workspace...

[myproject]> Now I understand your codebase. How can I help?
  1. Or use tree to understand the project structure:
[myproject]> /tree
Directory tree for: /path/to/myproject
└── src
    ├── main.py
    ├── utils
    │   └── helpers.py
    └── tests
        └── test_main.py

[myproject]> Can you explain the project structure?
  1. Get context for specific files:
[myproject]> /context src/main.py
Getting context from: /path/to/myproject/src/main.py
Found 1 file(s) in workspace...

[myproject]> Can you help me modify the main function?
  1. Example coding assistance:
[myproject]> /# 
Getting context from current directory...

[myproject]> Can you add error handling to the process_data function?
Assistant: I see the process_data function in main.py. Here's how we can add error handling...

Best Practices

  • Always provide context using /context, /#, or /tree before asking for code modifications
  • Use /context <file> when working on specific files
  • Use /tree to get an overview of project structure
  • Use /# to get context of the current directory

About

LLM Code (Open Claude Code) is an agentic coding tool that lives in your terminal, understands your codebase and helps you code faster through natural language commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0