← All templates

Task Agent

typescript

Structured input/output agent for background jobs and automation.

Build an agent with structured input and output, perfect for background jobs, data processing pipelines, and automation tasks.

What's included

  • Typed input/output — Zod schemas for request and response validation
  • Background execution — designed for async processing
  • TypeScript setup — fully typed with the Reminix SDK
  • Ready to deploy — push to GitHub and Reminix builds automatically

When to use this

Pick the Task template when you want to:

  • Process structured data with validated inputs
  • Build background job handlers
  • Create agents that integrate into larger pipelines

Project structure

├── src/
│   ├── index.ts          # Agent entry point
│   └── task.ts           # Task handler with input/output schemas
├── package.json
├── tsconfig.json
└── reminix.config.ts     # Reminix configuration

Quick start

After deploying, trigger a task via the Reminix API:

curl -X POST https://api.reminix.com/v1/agents/{agent-id}/run \
  -H "Authorization: Bearer $REMINIX_API_KEY" \
  -d '{"input": {"text": "Summarize this document...", "format": "bullet-points"}}'