Graphrt

OpenAI

Responses dan chat completion (tanpa streaming), embedding, moderasi, model, file dan Batch API. Panggilan berbayar tidak pernah diulang, batch dan tool mcp untuk agent harus diizinkan, hapus dan batal hanya lewat node

Beta v0.1.0 Node.js 18 aksi
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk OpenAI API. Cocok untuk workflow yang butuh model kedua di samping model milik agent, misalnya meringkas, mengklasifikasi, mengekstrak JSON, membuat embedding atau memoderasi teks, dan menjalankan pekerjaan besar dengan murah lewat Batch API. Semua request tidak di-stream. Setiap operasi adalah node workflow, hapus dan pembatalan batch hanya lewat node.

Yang bisa dilakukan

  • Generation: create_response (Responses API: input, instructions, reasoning_effort, JSON schema output through text_format, tools) and create_chat_completion (messages, response_format, tools)
  • get_response / delete_response: stored responses (only when you pass store: true, the plugin defaults it to false)
  • create_embeddings: vectors for up to 2048 texts, optional dimensions
  • create_moderation: free harmful-content check (omni-moderation-latest)
  • Models: list_models, get_model
  • Files: list_files (paginated), upload_file, get_file, download_file_content (saved to disk), delete_file
  • Batch API: create_batch, get_batch, list_batches, cancel_batch
  • api_request: any other endpoint under https://api.openai.com/v1 (GET only for agents)

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • Create response openai.create_response
  • Get response openai.get_response
  • Delete response openai.delete_response
  • Create chat completion openai.create_chat_completion
  • Create embeddings openai.create_embeddings
  • Moderate text openai.create_moderation
  • List models openai.list_models
  • Get model openai.get_model
  • List files openai.list_files
  • Upload file openai.upload_file
Tampilkan semua 18 aksi
  • Get file openai.get_file
  • Download file content openai.download_file_content
  • Delete file openai.delete_file
  • Create batch openai.create_batch
  • Get batch openai.get_batch
  • List batches openai.list_batches
  • Cancel batch openai.cancel_batch
  • OpenAI API request openai.api_request

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • OPENAI_API_KEY Wajib
    API key (sk-...), sent as Authorization: Bearer
  • OPENAI_UPLOAD_DIR Opsional
    Directory upload_file may read local files from (absolute path). Without it, file must be an https URL
  • OPENAI_OUTPUT_DIR For download_file_content
    Absolute directory where downloaded file content is saved
  • OPENAI_TOOL_ALLOW_BATCH Opsional
    1 lets agent tools call create_batch (off by default: one call can queue thousands of paid requests)
  • OPENAI_TOOL_ALLOW_REMOTE_TOOLS Opsional
    1 lets agent tools pass mcp and connector tools to create_response (off by default: they make OpenAI send the conversation to another server)

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari OpenAI.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan CLI

terminal
$ graphrt plugin install openai
workflow.yaml
- id: summary
  type: openai.create_response
  model: gpt-5-mini
  instructions: Summarize in one sentence.
  input: "{{#start.text#}}"
  max_output_tokens: 300
- id: answer
  type: answer
  answer: "{{#summary.data.output#}}"
Plugin di docs