TokenDanceCode
CLI · SDK · local runtime

TokenDanceCodeLocal Coding Agent

Run a coding agent on your own machine. Code stays on your filesystem, keys stay under your control, and execution events and approvals sync to the AgentHub workbench in real time.

Local-first · keys stay yours

Current Source

This site tracks the current TypeScript core module implementation.

Node.js 20.18+ and Windows PowerShell are the primary validation targets.Environment checks summarize Hub/Edge startup status; warnings show configuration gaps, and failures block startup.Gateway model calls use TokenDance API keys; identity sessions use separate login credentials.Credentials are injected through SDK environment configuration or a guarded shell; they are never read automatically from the project directory.

Local execution

tokendance run executes inside the local workspace and keeps transcripts, tool calls, and quality-check records.

AgentHub SDK

The SDK sends run streams, approval requests, provider state, and session lifecycle events to AgentHub.

Provider access

Supports TokenDance Gateway, OpenAI-compatible Chat Completions, OpenAI Responses, and Anthropic-compatible Messages.

Version releases

Releases pass automated validation and human confirmation before publishing.

AgentHub SDK

AgentHub integrates with the local runtime through @tokendance/code-sdk.

Architecture

Module responsibilities of @tokendance/code-core, code-sdk, code-cli, and the private agenthub-example integration.

CLI Reference

tokendance CLI, run, doctor, config, resume, quality, and transcript.

Configuration

Environment variables, Gateway preset, and project .env boundaries.

Contributing

Development setup, tests, and PR workflow for TokenDanceCode contributors.

Installation

Node, pnpm, Git, PowerShell, and command requirements.

OIDC Helper

Responsibilities and non-responsibilities of the TokenDanceID Authorization Code + PKCE helper.

Overview

TokenDanceCode positioning, usable capabilities, and product boundary.

Status

TokenDanceCode is in early access: local-first, keys stay with you, and code never leaves your machine. Releases pass automated validation and human confirmation before going public.

Product Boundary

TokenDanceCode owns local coding-agent execution and SDK delivery. AgentHub owns team collaboration, product orchestration, multi-agent workbench flows, and UI state.