Turn Domain Expertise into Reliable AI Agents

AI middleware for teams to build Agents visually, Deploy on Serverless, and Optimize continuously while we handle the rest.

Make me an AI chatbot by Scr

AutomationAssistantEmbedAgentic


LAMATIC CYCLE

Create and scale your AI agent

Build

Deploy

Optimize

Build fast
Cut time to market 10x, invest 3x less money by choosing a pre-built workflow or creating a new workflow with a visual flow builder.

Integrate in a click
Plug seamlessly into the tools and data you already use, making integration a one-click step instead of a month-long project.

Enhance with AI
Generate instant answers from your data, personalize user journeys, automate repetitive tasks, making your product smarter while your team focuses on growth.

Scale instantly
Deploy and scale without limits with Lamatic’s serverless infrastructure; you cut latency in half and handle millions of users automatically.

Stay reliable, even at scale.
Get full visibility with real-time tracing, insights, and performance dashboards. Spot issues before customers do, and ensure every agent delivers results.

Iterate without friction.
Find out what works sooner; Save engineering time, cut unnecessary spending, and deliver more value to customers with every release.

Developer SDK

Integrate Once, Ship Continually

  • JavaScript
  • Next.js
  • Python
  • Curl

Code Samples

//npm i lamatic
import { Lamatic } from "lamatic";

// initialize
const lamatic = new Lamatic({
    apiKey: "your-api-key",
    projectId: "your-project-id",
    endpoint: "your-endpoint",
});

// one line execution
const response = await lamatic.executeFlow(flowId, payload);
// npm i lamatic
import { Lamatic } from 'lamatic'

const client = new Lamatic({
    projectId: process.env.LAMATIC_PROJECT_ID,
    apiKey: process.env.LAMATIC_API_KEY,
})

export default function Page() {
    const handleClick = async () => {
        const response = await client.executeFlow(process.env.LAMATIC_FLOW_ID, {
            prompt: 'hello',
        })
        console.log(response)
    }

return (
        // Stateful React Components
        <button onClick={handleClick}>Execute Flow</button>
    )
}
import os
import requests

response = requests.post(
    os.getenv('LAMATIC_ENDPOINT'),
    headers={
        "Authorization": f"Bearer {os.getenv('LAMATIC_API_KEY')}",
        "Content-Type": "application/json",
        "x-project-id": os.getenv('LAMATIC_PROJECT_ID')
    },
    json={
        "query": """query ExecuteWorkflow($workflowId: String!, $topic: String) {\n            executeWorkflow(workflowId: $workflowId, payload: {topic: $topic}) {\n                status\n                result\n            }\n        }""",
        "variables": {
            "workflowId": os.getenv('LAMATIC_WORKFLOW_ID'),
            "topic": "topic"
        }
    }
)

print(response.json() if response.status_code == 200 else f"Error: {response.status_code} - {response.text}")
curl -X POST https://<project>.lamatic.dev \
  -H "Authorization: Bearer ${LAMATIC_API_KEY}" \
  -H "Content-Type: application/json" \
  -H "x-project-id: YOUR_PROJECT_ID" \
  -d '{
    "query": "query ExecuteWorkflow($workflowId: String!, $prompt: String) { executeWorkflow(workflowId: $workflowId, payload: { prompt: $prompt }) { status result } }",