openlink  by afumu

Web AI agent for local system interaction

Created 1 month ago
262 stars

Top 97.0% on SourcePulse

GitHubView on GitHub
Project Summary

OpenLink enables web AI (Gemini, AI Studio) to interact with local files and execute commands. It targets researchers exploring agentic AI, bridging AI reasoning with local system actions for enhanced utility.

How It Works

A Chrome extension intercepts AI tool calls, forwarding them to a local Go service for execution within a sandbox. Results are returned to the AI. This simulates user actions, allowing AI to leverage local system capabilities via conversation, not as a direct API.

Quick Start & Requirements

Install the local Go service via script (macOS/Linux/Windows) and manually add the Chrome extension from extension.zip (Web Store version pending). Service defaults to http://127.0.0.1:39527. Authenticate by pasting a terminal URL into the extension. Usage starts with an "🔗 初始化" button on AI platforms. Google AI Studio is recommended for native system instruction support.

Highlighted Details

  • Supports file operations (read_file, write_file, list_dir, glob, edit) and command execution (exec_cmd).
  • Includes advanced tools: grep (regex), web_fetch (web content), question (user interaction).
  • Features input shortcuts (/ for Skills, @ for file paths) and a "Skills" system for custom capabilities via Markdown.
  • Security: sandbox isolation to working directory, blocks dangerous commands (rm -rf, sudo), 60s timeout.

Maintenance & Community

This is a "learning and research project" for agent principles, not for production. Current effectiveness is suboptimal with AI tool call stability/accuracy limitations. Support via GitHub Issues. Community via WeChat (add afumudev, remark "openlink"). Inspired by opencode, MCP-SuperAssistant, learn-claude-code.

Licensing & Compatibility

Strictly for learning/research; commercial use prohibited. Compatible with Google AI Studio and Gemini via Chrome.

Limitations & Caveats

Research project with noted AI tool call stability/accuracy limitations, unsuitable for production. Effectiveness varies by AI platform; Google AI Studio is most stable. Not an API; relies on browser extension simulation.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
144 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.