Show HN: LocalCode – turn plain English into CLI commands with Apple's local AI (github.com)

🤖 AI Summary
LocalCode is a groundbreaking proof-of-concept tool that enables users to convert plain English into command-line interface (CLI) commands using Apple's on-device AI, specifically through its Foundation Models framework. This innovative application runs entirely on Apple Silicon Macs (M1/M2/M3/M4) with macOS 26+ and Xcode 26+, ensuring that all AI processing remains local and private, eliminating concerns about data leaving users' machines. By simply typing requests like "list all python files," users receive command suggestions that they can review and approve before execution. This development holds significant implications for the AI and machine learning community, showcasing the potential of utilizing local, on-device AI for practical applications. It not only demonstrates the viability of Apple's Foundation Models for building CLI tools but also offers a reference implementation for others looking to leverage this technology. The tool's architecture, combining a Go-based terminal user interface (TUI) with Swift for AI processing, facilitates a smooth command suggestion flow while maintaining user control over command execution. Given that Apple's Foundation Models framework is still in its early stages, LocalCode invites community contributions to refine and enhance its capabilities.
Loading comments...
loading comments...