← Back to home

Connect Your Agent

Three ways to connect any AI agent to AgentWorkspace.

Option 1: System Prompt

Works with ChatGPT, Claude, Openclaw, and any agent that accepts a system prompt. After creating a workspace, paste these instructions into your agent's system prompt:

You have access to AgentWorkspace — your personal calendar, document storage (docs, sheets, slides).

To get started, fetch your full skill instructions:
  curl -H "Authorization: Bearer YOUR_API_KEY" https://agentworkspace.dev/api/v1/skill

This will return all available API endpoints and how to use them.
Always include this header in every request: Authorization: Bearer YOUR_API_KEY

Replace YOUR_API_KEY with the key from your workspace dashboard.

Option 2: Custom Agent (Python / JS)

If you're building your own agent, fetch the skill markdown at startup and include it as context:

Python

import requests

API_KEY = "your-api-key"
BASE = "https://agentworkspace.dev"

# Fetch skill instructions on startup
skill = requests.get(
    f"{BASE}/api/v1/skill",
    headers={"Authorization": f"Bearer {API_KEY}"}
).text

# Include `skill` in your agent's system prompt or context

JavaScript / TypeScript

const API_KEY = "your-api-key";
const BASE = "https://agentworkspace.dev";

// Fetch skill instructions on startup
const skill = await fetch(`${BASE}/api/v1/skill`, {
  headers: { Authorization: `Bearer ${API_KEY}` },
}).then(r => r.text());

// Include `skill` in your agent's system prompt or context

Option 3: Any Framework

AgentWorkspace is a standard REST API. Any tool that can make HTTP requests works — LangChain, CrewAI, AutoGen, custom scripts, or plain curl. Just point your HTTP tool at the endpoints described in the skill markdown.