Discover and explore top open-source AI tools and projects—updated daily.
huggingfaceLocal coding agent with hardware-aware LLM deployment
New!
Top 82.5% on SourcePulse
Summary
hf-agents is an extension for the Hugging Face CLI designed to simplify the setup and execution of local coding agents powered by large language models. It targets developers and power users seeking to leverage LLMs for code generation and assistance directly on their hardware, automating the often complex process of model selection, inference server setup, and agent integration. The primary benefit is enabling users to go from assessing their machine's capabilities to running a functional local coding agent with a single command.
How It Works
The tool orchestrates three key components. First, llmfit analyzes the user's hardware to recommend the most suitable LLM models and quantization levels that can be run efficiently. Second, it spins up a local inference server using llama.cpp, loading the chosen model. Finally, it launches Pi, a coding agent, which interfaces with the local llama.cpp server for LLM-powered coding assistance. This integrated approach abstracts away the intricacies of managing individual components.
Quick Start & Requirements
curl -LsSf https://hf.co/cli/install.sh | bash, then install the extension with hf extensions install hf-agents.jq, fzf, and curl to be installed on the system.LLAMA_SERVER_PORT (defaults to 8080) configures the inference server port. HF_TOKEN is used for accessing gated models.hf-agents documentation links are not provided.Highlighted Details
llmfit.llama.cpp inference server.Pi coding agent.Maintenance & Community
The provided README does not contain specific details regarding maintainers, community channels (like Discord/Slack), or project roadmaps.
Licensing & Compatibility
The README does not explicitly state the software license. This lack of clarity presents a significant adoption blocker, particularly for commercial use or integration into proprietary systems.
Limitations & Caveats
The project's primary limitation is the absence of a declared software license, hindering clear understanding of usage rights. It also relies on the successful installation and configuration of external dependencies (jq, fzf, curl, llmfit, llama.cpp, Pi), which may introduce their own setup complexities or compatibility issues. The current implementation focuses solely on the Pi coding agent.
5 days ago
Inactive
xingyaoww
badlogic
Adam Elmore(Cofounder of StatMuse; Contributor to opencode).
code-yeongyu