aexaex

Agent execution platform

Agent Executor

aex is an agent execution platform for launching autonomous agents from a simple TypeScript SDK and CLI.

First run

Quickstart
import { Aex, Models, Sizes } from "@aexhq/sdk";

const aex = new Aex({ apiKey: process.env.AEX_API_KEY! });

const session = await aex.openSession({
  model: Models.CLAUDE_HAIKU_4_5,
  system: "You are a concise engineering assistant.",
  runtime: Sizes.SHARED_0_25X_1GB,
  overrides: { idleTtl: "3m" },
  apiKeys: { anthropic: process.env.ANTHROPIC_API_KEY! }
});

const result = await session.send("Write a short report and save it as a file.").done();
console.log(result.status, result.text);
aex run \
  --api-key "$AEX_API_KEY" \
  --anthropic-api-key "$ANTHROPIC_API_KEY" \
  --model claude-haiku-4-5 \
  --prompt "Write a short report and save it as a file." \
  --follow

Agent runtime

Managed autonomous runs with filesystem read/edit, grep/glob/head/tail, open web fetch/search, background commands, code execution, git, and subagents.

Durable infrastructure

Run records, status, wait/cancel/delete, idempotency, typed events, output capture, downloads, timeouts, and runtime sizes.

Agent composition

Skills, files, AGENTS.md, remote MCP servers, environment variables, packages, secrets, and networking controls.

Subagents

Typed parent/child lineage for async child runs, output handoff, and bounded agent delegation.

Models and providers

Anthropic, DeepSeek, OpenAI, Gemini, Mistral, OpenRouter, Doubao, and Doubao China behind one submission shape.

Typed control surface

Strongly typed SDK inputs, CLI parity, BYOK provider keys, workspace secrets, redaction, and output modes.