Skip to content

Overview

The Agent Dev Lab is a TypeScript-first workspace for experimenting with agentic workflows: a headless core library (@agent-dev-lab/core), a TanStack Start inspection UI (apps/web), CLI (adl), and shared infrastructure.

The headless runtime in @agent-dev-lab/core is usable without the UI or CLI execution path:

AreaStatus
createAdlRuntime, agents, workflows, templatesImplemented
agent.run / agent.stream via AI SDK streamTextImplemented
workflow.run / workflow.stream, ctx.step, step cachingImplemented
MessageStore + WorkflowStore (in-memory defaults)Implemented
Observers, RunRecorder, run eventsImplemented
loadAdlProject + registry indexesImplemented
adl.createToolFromAgent / adl.createToolFromWorkflowImplemented
SQLite-backed storesNot implemented
CLI adl run / list commandsNot implemented
Inspection UI run waterfall / SSENot implemented
Playground end-to-end sampleNot implemented

Cross-cutting concepts and project layout:

  • Project setup — required vs recommended layout; #adl import alias; how tooling gets config.adl
  • Runtimeadl runtime, ALS for workflow context
  • Agentsadl.createAgent, memory, structured output
  • Workflowsadl.createWorkflow, steps, keys, nesting
  • Project config — registry, loadAdlProject

Generated from packages/core — includes JSDoc for focused APIs that are not duplicated as Starlight pages:

Use the Core API sidebar for the full export list.

  • Runtime/UI split — workflows run from scripts, tests, or server; UI reads persisted output.
  • TypeScript-first — plain TS orchestration, no workflow graph DSL.
  • AI SDK nativeCoreMessage, streamText, tool() without parallel abstractions.
  • Colocated prompts — markdown beside code; templates via createTemplate.
  • Docs near code — smaller single-API surfaces documented in JSDoc; conceptual guides stay in Starlight.
PackageRole
@agent-dev-lab/coreHeadless runtime
@agent-dev-lab/webInspection UI (port 3000)
@agent-dev-lab/cliadl CLI
@agent-dev-lab/docsThis site (port 4321)
@agent-dev-lab/commonDrizzle + SQLite helpers, logging, ESLint
apps/playgroundFramework dev project

From the repo root:

Terminal window
bun install
bun run dev:docs # this site on :4321
bun run dev:web # inspection UI on :3000

Coding-agent tracking notes (v1 gaps, deferred design) live in the repo notes/ directory.