opencontrol  by sst

AI gateway for infrastructure control

Created 6 months ago
686 stars

Top 49.5% on SourcePulse

GitHubView on GitHub
Project Summary

OpenControl provides a self-hosted, unified gateway for AI agents to interact with your infrastructure and code. It targets developers and teams looking to leverage LLMs for operational tasks, enabling secure, programmatic control over internal resources via a single API endpoint.

How It Works

OpenControl acts as a Hono web server, exposing a single HTTP endpoint. It integrates with any tool-calling compatible LLM (Anthropic, OpenAI, Google) by translating natural language requests into function calls. Developers define "tools" using a schema-based approach, mapping code functions to descriptions and arguments that the LLM can understand and invoke. This allows for a flexible and extensible way to expose internal capabilities to AI agents.

Quick Start & Requirements

  • Install dependencies: npm install opencontrol hono @ai-sdk/anthropic
  • Requires Node.js and npm.
  • SST framework is used for deployment examples, but not strictly required.
  • API keys for the chosen LLM provider (e.g., Anthropic) are necessary.
  • Official documentation and examples are available in the README.

Highlighted Details

  • Supports multiple LLM providers with tool-calling capabilities.
  • Enables defining custom tools with Zod schemas for arguments.
  • Integrates with AWS Lambda, Cloudflare Workers, and containers.
  • SST framework integration simplifies deployment and resource linking (secrets, buckets).

Maintenance & Community

  • Developed by the maintainers of the SST framework.
  • Community links provided: Discord, YouTube, X.com.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

Currently, OpenControl uses basic authentication, with OAuth support planned. The provided AWS IAM policies suggest potential security considerations depending on the chosen access level during development and production.

Health Check
Last Commit

3 months ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.