opencontrol  by sst

AI gateway for infrastructure control

created 5 months ago
678 stars

Top 51.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
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

2 months ago

Responsiveness

1 week

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
3 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
created 1 year ago
updated 20 hours ago
Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Michael Han Michael Han(Cofounder of Unsloth), and
15 more.

open-interpreter by openinterpreter

0.1%
60k
Natural language interface for computers
created 2 years ago
updated 4 days ago
Feedback? Help us improve.