sima-vertical-solutions/edgematic-playbooks/edgematic-studio-api

Claude Code and agent skill by sima-vertical-solutions/edgematic-playbooks

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when developing against the Edgematic Studio HTTP API — creating or managing projects, applying pipeline graph descriptors, triggering builds or deployments, starting and stopping runs, invoking agentic tools via /agent/invoke or /agent/chat WebSocket, querying devices or models, configuring LLM settings, or writing Playwright integration tests in the tests/ directory. Do not use for Neat Library C++/Python application development, device-side model compilation, or web-ui React component work.

Install

npx vskill@latest install sima-vertical-solutions/edgematic-playbooks/edgematic-studio-api

SKILL.md

The same SKILL.md was published earlier as sima-vertical-solutions/edgematic-playbooks/edgematic-studio-api.

Edgematic Studio API

Overview

Edgematic Studio is a REST + WebSocket server (Rust/Axum backend) that manages AI vision pipeline projects for SiMa.ai edge devices. Clients create projects, compose pipeline graphs, build and deploy to devices, and invoke an agentic coding assistant.

Default local base URL: http://localhost:8080. Set STUDIO_BASE_URL to override.

Workflow

  1. Verify the server is reachable.
  • GET /api-doc/openapi.json should return 200 and parse as JSON. Do NOT probe

/openapi.json — it is not a route, and the SPA fallback answers it with index.html and a 200, so the check passes on a page of HTML.

  1. Understand the endpoint contract before writing code.
  • Read references/api-surface-map.md for the full endpoint list with request/response shapes.
  • For graph operations, read references/graph-model.md.
  • For the agentic API (invoke/chat/history), read references/agent-api.md.
  1. Choose the right resource for the task.
  • New AI vision pipeline → create project, apply graph, build, deploy to device.
  • Interact with the AI assistant → use /agent/invoke (stateless tool call) or /agent/chat (WebSocket stream).
  • Manage edge devices → use /devices endpoints.
  • Download pre-built applications → use /applications endpoints.
  • Browse the SiMa Model Zoo catalog → use GET /modelzoo/models (server fetches it via sima-cli's Developer-Portal sign-in).
  1. Before claiming success on integration tests, run the Playwright suite.
  • pnpm test:integration from the tests/ directory.
  • All tests must pass with zero failures against a live server.

Defaults

  • All JSON endpoints use Content-Type: application/json.
  • File content endpoints (/projects/:id/files/content) use Content-Type: text/plain.
  • Project IDs are UUIDs (v4).
  • The ir_version field in graph payloads is always "v1".
  • Builds are async — poll GET /projects/:id/build until build.status is "ok" or

"failed". "pending" and "building" are BOTH non-terminal; treating != "pending" as done deploys mid-build and fails with project_not_built.

  • Deployments require a device registered first via POST /devices.
  • Error envelopes have the shape {"error": {"code": "snake_case_code", "message": "human-readable"}}.

Key Patterns

Create a project and apply a graph
http
POST /projects
{"name": "my_pipeline", "type": "PYTHON"}
# `type` is REQUIRED ("PYTHON" | "CPP"); the body is deny_unknown_fields,
# so any extra key (there is no `description`) is a 400.
POST /projects/{id}/graph/apply
{"ir_version": "v1", "nodes": [...], "edges": [...]}
Build and deploy
http
POST /projects/{id}/build
{}
# Poll until build.status is "ok" or "failed"
GET /projects/{id}/build
POST /projects/{id}/deploy
{"device_id": "<device-uuid>"}
Invoke an agentic tool
http
# Discover available tools
GET /agent/tools
# Invoke a tool
POST /agent/invoke
{"name": "tool_name", "params": {"key": "value"}}
# OpenAI-compatible catalog (for external LLM tool-use)
GET /agent/tools/catalog.json
Configure LLM backend
http
GET /settings/llm/providers -- list supported providers and their models
GET /settings/llm -- get current config
PUT /settings/llm
{"provider": "anthropic", "model": "claude-sonnet-4-6",
"auth_mode": "api_key", "api_key": "sk-..."}

API Selection

  • `/projects/:id/graph/apply` — replace the project's entire graph.
  • `/projects/:id/graph/diff` — preview graph changes before applying (dry run).
  • `/reverse/python` or `/reverse/cpp` — parse existing source code back into a graph descriptor.
  • `/agent/invoke` — single synchronous tool invocation; returns JSON immediately.
  • `/agent/chat[?project_id=<uuid>]` — WebSocket; streams a live turn (token / tool_call / tool_result / clarification_request / code_preview / done / error). Bind with project_id to persist + replay. code_preview fires only under a tool-emitting provider, not claude-code.
  • `/projects/:id/agent/transcript` — persisted conversation as ordered turns (replay/seed counterpart of the WS).
  • `/projects/:id/agent/history` — paginated conversation history per project.

Boundaries

  • Do not edit backend/ (Rust) or web-ui/ (React) source. Only tests/ and playbooks/ are in scope for QA work.
  • Do not hardcode localhost:8080 — use process.env.STUDIO_BASE_URL ?? 'http://localhost:8080'.
  • Do not commit integration tests without running the full suite against a live server.
  • Do not guess endpoint behavior — use the describe_endpoint tool (it reads the in-process

OpenAPI document; no HTTP call needed), or verify against /api-doc/openapi.json.

References

  • references/api-surface-map.md
  • references/graph-model.md
  • references/agent-api.md

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sima-vertical-solutions/edgematic-playbooks/edgematic-studio-api/badge)](https://verified-skill.com/skills/sima-vertical-solutions/edgematic-playbooks/edgematic-studio-api)

Something wrong with this skill or its page? Tell us.