Skip to main content
POST
/
v1
/
agents
/
deploy
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi({
  bearerAuth: process.env["RAIJINLABSLUCIDAI_BEARER_AUTH"] ?? "",
});

async function run() {
  const result = await raijinLabsLucidAi.agents.deploy.lucidDeployAgent({
    name: "trading-agent-v2",
    owner: "7xK9mQ2vNbPfYkRd3JhEzV1LnWqA8tUcGp4SyDfH5Bo",
    descriptor: {
      "runtime": "node",
      "framework": "langchain",
      "tools": [
        "web-search",
        "calculator",
      ],
    },
  });

  console.log(result);
}

run();
{
  "success": true,
  "deployment": {
    "passport_id": "ppt_agent_Qm3kR8wZ",
    "target": "railway",
    "status": "deploying",
    "url": "https://trading-agent-v2.up.railway.app",
    "image": "ghcr.io/raijinlabs/lucid-agents/ppt_agent_Qm3kR8wZ:latest",
    "created_at": 1710288000
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Body

application/json
name
string
required
owner
string
required
descriptor
object
required

Agent runtime descriptor

description
string
preferred_adapter
string

Runtime adapter (e.g. vercel-ai, openclaw, docker)

tags
string[]
list_on_marketplace
boolean

Response

Deployment created

success
boolean
required
deployment
object
required