İçeriğe geç
TakoAPI
Becerilere dön

supernal-interface

ianderrington tarafından

Coding Agents & IDEs
552İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Universal AI Interface framework for making applications AI-controllable.

Açıklama

Bu Beceri Ne Yapar

Supernal Interface is a TypeScript framework that makes existing application functions callable by AI assistants via decorators. Decorate a function with @Tool and any connected AI chat adapter can discover and invoke it with type safety. Supports CopilotKit out of the box and allows custom chat UI adapters.

Decorator-based registration means you don't maintain a separate tool manifest — the function definition and its AI metadata stay in one place.

Ne Zaman Kullanılır

  • Adding AI control to an existing TypeScript app without rewriting logic
  • Exposing CRUD operations to a chat assistant in a React app
  • Wiring up CopilotKit to auto-discover all decorated tools
  • Persisting AI-accessible state across user sessions with React hooks
  • Generating Gherkin-based tests from decorated tool definitions

Örnek İş Akışı

GİRİŞ

User asks: 'Make my TodoApp controllable by an AI chat assistant'

AJAN
  1. 1

    Install @supernal/interface and import Tool decorator

  2. 2

    Annotate addTodo and completeTodo methods with @Tool, providing name and description

  3. 3

    Create a CopilotKit adapter with autoRegisterTools: true

  4. 4

    Wrap the React app in ChatUIProvider with the adapter

  5. 5

    Verify AI assistant can discover and call the decorated methods

ÇIKIŞ

The chat UI can now call addTodo and completeTodo directly, with full type safety and auto-discovered tool schemas

Gereksinimler

  • supernal.ai/enterprise account for enterprise features (auto test generation, multi-model routing, audit logging)

Kurulum

clawhub install ianderrington/supernal-interface

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar