← Knowledge Base

AI Agents

20 articles

Optimizing agent cost and token usage

Identify where tokens go, right-size model selection for each step, enable prompt caching, and set budget limits to keep your agent spending under control.

2026-09-285 min

Agent security and data privacy

Store secrets securely, apply role-based access controls, minimize PII exposure in prompts, and produce the audit-log evidence trail for SOC 2 and GDPR compliance.

2026-09-155 min

Multi-agent coordination and delegation

Design orchestrator-worker architectures, invoke specialist agents synchronously or asynchronously, and share state between agents using the Memory Store and Event Bus.

2026-09-036 min

Agent versioning and rollback

Learn how Cotonity snapshots every published version, compare diffs between any two versions, roll back to a stable release in seconds, and maintain clear release notes.

2026-08-284 min

Updating a live agent without downtime

Edit a published agent safely by working in draft, understand graceful handover for in-flight runs, apply low-risk vs. high-risk changes, and coordinate schema changes with upstream systems.

2026-08-244 min

Monitoring agent performance metrics

Understand the agent metrics dashboard, drill into per-step bottlenecks, configure threshold alerts, and export telemetry to Datadog, Grafana, or any OTLP backend.

2026-08-205 min

Deploying agents to production

Follow the pre-deployment checklist, promote a draft to live, use traffic splitting for zero-downtime rollouts, and monitor the first real-world executions.

2026-08-154 min

Testing your agent in sandbox mode

Run agents safely without side-effects, supply realistic test inputs, step through execution node by node, and build a repeatable test suite before every deployment.

2026-08-105 min

Conditional logic and branching

Add Branch nodes for if/else routing, use LLM-driven classification for nuanced decisions, merge paths back together, and keep complex canvases readable.

2026-08-044 min

Passing data between agent steps

Master the expression system, built-in transformation functions, the Set Variables node, and the Run Inspector to build and debug clean data pipelines between steps.

2026-07-304 min

Using LLM prompts within agents

Design effective system prompts, inject dynamic data, enable structured output parsing, and choose the right model for each step to optimize cost and quality.

2026-07-256 min

Agent error handling and retries

Configure per-node retry policies, build a global error handler, ensure idempotent operations, and replay failed runs from the exact step that broke.

2026-07-204 min

Connecting agents to external APIs

Use the HTTP Request action to call any REST API — handle auth, parse responses, manage rate limits, and implement back-off strategies for robust integrations.

2026-07-145 min

Multi-step agent workflows

Build sequential pipelines, parallel branches, and loops — and handle errors gracefully so a single step failure doesn't halt your entire automation.

2026-07-086 min

Understanding agent memory and context

Explore how agents remember information within a run and across runs — ephemeral context, key-value memory stores, and vector memory for semantic retrieval.

2026-07-025 min

Setting up agent actions and tools

Configure built-in actions, connect third-party integrations, register custom tools via OpenAPI, and control which tools your LLM can call autonomously.

2026-06-255 min

Configuring agent triggers — webhooks, schedule, and manual

Set up every trigger type Cotonity supports — webhook endpoints, cron schedules, manual runs, and how to combine multiple triggers on a single agent.

2026-06-204 min

Designing an agent with the visual editor

Master the Cotonity visual canvas — adding and connecting nodes, mapping data between steps, saving drafts, and organizing your agent graph for long-term maintainability.

2026-06-156 min

Types of agents — reactive vs. autonomous

Understand the spectrum from simple reactive agents to fully autonomous ones, and learn how to choose and combine agent types for your specific use case.

2026-06-104 min

What is an AI agent and how does it work

A conceptual introduction to AI agents — how the perceive–reason–act loop works, when to use agents over simpler automation, and what makes Cotonity agents unique.

2026-06-055 min