跳转到内容

CoderClawLink Integration

此内容尚不支持你的语言。

CoderClawLink is a companion portal to CoderClaw: a Python FastAPI application that provides a Jira-style web UI, Telegram bot, and remote agent execution runtime. The two systems share the same transport abstraction contract — tasks submitted from CoderClaw can be executed on a CoderClawLink node as naturally as local tasks.

┌────────────────────────────────┐ HTTP ┌───────────────────────────────┐
│ CoderClaw │ ──────────────► │ CoderClawLink │
│ (TypeScript orchestrator) │ │ (Python execution portal) │
│ │ │ │
│ Planning workflow │ POST /tasks/submit│ Claude, OpenAI, Ollama, │
│ Adversarial review │ GET /tasks/state │ OpenDevin, Goose agents │
│ Feature / bug-fix pipelines │ GET /agents │ Kanban board, Telegram bot │
│ Session handoffs │ GET /skills │ GitHub PR automation │
└────────────────────────────────┘ └───────────────────────────────┘

CoderClaw is the intelligence layer: it plans, orchestrates, and coordinates. CoderClawLink is the execution portal: it runs the agents, tracks projects, and exposes a visual UI.

Terminal window
git clone https://github.com/SeanHogg/coderClawLink.git
cd coderClawLink
pip install -r requirements.txt
cp .env.example .env # fill in ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.
python -m app.main # starts on http://localhost:8000
import { ClawLinkTransportAdapter } from "coderclaw/transport";
import { CoderClawRuntime } from "coderclaw/transport";
const adapter = new ClawLinkTransportAdapter({
baseUrl: "http://localhost:8000",
userId: "my-user", // optional — for audit trails
deviceId: "my-workstation", // optional
});
await adapter.connect(); // creates a session on the CoderClawLink node
const runtime = new CoderClawRuntime(adapter, "remote-enabled");

3. Submit tasks — same API, remote execution

Section titled “3. Submit tasks — same API, remote execution”
const state = await runtime.submitTask({
agentId: "claude", // maps to CoderClawLink's agent_type
description: "Build login page",
input: "Create a login component with email + password fields",
metadata: { project: "my-app" },
});
console.log(state.id, state.status); // uuid, "pending"
// Stream progress until completion
for await (const event of runtime.streamTaskUpdates(state.id)) {
console.log(event.status, event.progress);
}

Or use CoderClaw’s higher-level multi-agent workflows — they route through the adapter automatically:

Terminal window
# These run on the CoderClawLink node when ClawLink adapter is active
coderclaw agent --message "Plan the authentication feature" --thinking high
coderclaw agent --message "Adversarially review the API design" --thinking high
OptionTypeDefaultDescription
baseUrlstringCoderClawLink server URL, e.g. http://localhost:8000
userIdstringUser ID attached to the session (appears in audit logs)
deviceIdstringDevice ID attached to the session
pollIntervalMsnumber1000How often (ms) to poll for task status updates
timeoutMsnumber30000Per-request timeout in ms

CoderClaw and CoderClawLink share the same task state machine:

PENDING → PLANNING → RUNNING → WAITING → COMPLETED
→ FAILED
→ CANCELLED

Field mapping on task submission:

CoderClaw fieldClawLink field
agentIdagent_type
inputprompt
metadatamerged into context
session (from adapter)session_id

The ClawLink adapter creates one session per ClawLinkTransportAdapter instance. CoderClawLink enforces RBAC on every operation — the session user must have task:submit, agent:execute, and task:view permissions. Assign the DEVELOPER role to your user in CoderClawLink for standard development workflows.

Running tasks through CoderClawLink gives CoderClaw access to:

  • Visual Kanban board — tasks are visible at http://localhost:8000
  • Telegram bot — team members can interact with tasks via Telegram
  • GitHub PR automation — agents can create pull requests directly from task results
  • Ollama / local LLM support — run Llama, CodeLlama, and other local models without API keys
  • OpenDevin and Goose agents — additional open-source agent runtimes
  • Audit logs — full execution history at /api/audit/events