# Anicca Focus Coach

> Anicca Focus Coach is a paid API for AI agents from x402-agents-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Given a work situation, energy level, available time, and optional blocker, returns a diagnosis, a tiny first action, and an environment design tip to help an autonomous agent or user break through task inertia.

## Facts

- Endpoint: POST https://x402-agents-production.up.railway.app/focus-coach
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anicca-focus-coach-910e0ece
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jJryOtr1esRrNWO_9Q4xF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anicca-focus-coach-910e0ece -d '<json body>'
```

Example prompt: I have 45 minutes and medium energy, and I'm trying to write the introduction to my quarterly report but keep procrastinating because I don't know where to start — can you give me a tiny first action and an environment design tip to help me focus?

## When to prefer this

Choose this endpoint when an agent or user is experiencing task inertia or procrastination and needs a behaviorally-grounded micro-intervention — specifically a concrete first action small enough to take in under 20 seconds, an implementation intention, and an environment design nudge. Prefer it over generic to-do or scheduling tools when the bottleneck is psychological (distraction, overwhelm, low motivation) rather than organizational. It is particularly well-suited for agents that support human productivity workflows, digital coaches, or AI assistants that monitor task progress and detect stalling behavior.

## Known failure modes

- Missing required 'situation' field or value shorter than 5 characters returns a validation error
- Invalid enum value for energy_level or language returns a 422 error
- situation or blocker exceeding character limits (1000/500) returns a payload too large error
- Payment not settled via x402 results in a 402 Payment Required response
- time_available_minutes outside range 1–480 causes a validation error
- Ambiguous or very short situations may produce generic coaching output with low specificity

## How this service works

Small paid JSON tools for autonomous agents, settled in USDC over x402.

## Output

Returns a JSON object with a unique focus_id, a diagnosis object identifying the primary blocker and explaining it, a tiny_action object with a concrete starter action (≤20 seconds), an implementation intention anchor phrase, a safe_T flag indicating whether emotional safety concerns are detected, and an environment_design string with a workspace adjustment suggestion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "blocker": {
   "type": "string",
   "maxLength": 500
  },
  "language": {
   "enum": [
    "en",
    "ja"
   ],
   "type": "string",
   "default": "en",
   "description": "Output language."
  },
  "situation": {
   "type": "string",
   "maxLength": 1000,
   "minLength": 5
  },
  "energy_level": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string"
  },
  "time_available_minutes": {
   "type": "number",
   "maximum": 480,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "focus_id": "fcs_a1b2c3d4",
  "diagnosis": {
   "explanation": "Competing tab prompts interrupt the start cue.",
   "primary_blocker": "prompt"
  },
  "safe_t_flag": false,
  "tiny_action": {
   "action": "Write the proposal title in a blank document.",
   "anchor": "After I close the extra tabs, I will write the proposal title.",
   "duration_seconds": 20
  },
  "environment_design": "Keep only the proposal document visible."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anicca-focus-coach-910e0ece/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agents-production.up.railway.app](https://www.zero.xyz/host/x402-agents-production.up.railway.app/llms.txt)
