Skip to main content

Guides & Cookbooks

Step-by-step guides and real-world cookbooks for Cadreen. Start with Why Cadreen, then pick the guide that matches what you're building.

Cookbooks

Real-world recipes. Pick one, follow the steps, ship it.

How to save a pattern and run it with different inputs

Automation

Blueprints are reusable templates. Create one from a trace, run it with new parameters, automate it with schedules.

How to run blueprints automatically on a timer

Automation

Attach a schedule to any blueprint — daily, weekly, or cron. Pausing, resuming, and webhook events included.

How to set company-wide AI policies with one message

Governance

Write a policy in natural language. Cadreen enforces it across every surface — opencode, SDK, CLI, dashboard.

How to swap in Cadreen as your model provider

Getting started

Change two fields in your existing OpenAI-compatible code. Same messages, same tools — with intelligence added.

Responses API recipes

API

Text generation, multi-turn conversations, tool calling, streaming, and structured output with the Responses API.

How to add human approval to any AI tool call

Governance

The system blocks the tool call, returns a conversational prompt. Human says yes. No custom approval UI needed.

Building self-healing tool chains that learn from fixes

Resilience

When tools fail, Cadreen figures out what went wrong, fixes arguments, retries. Remembers the fix for next time.

How to turn any REST API into a managed AI tool

Integrations

Upload an OpenAPI spec. Cadreen auto-generates managed tools — ready to use, with error handling and health checks.

How to audit every AI decision with a decision audit trail

Observability

Every response carries a trace ID. Fetch the full decision breakdown. Tamper-evident for compliance.

How to make AI learn from repeated interactions

Learning

Cadreen spots repeated patterns and proposes turning them into reusable workflows. You approve. The system gets smarter.

How to review and act on what Cadreen suggests

Learning

The system spots patterns in your usage — recurring actions, time-based routines, automation opportunities — and proposes them as tasks. You decide what runs.

Building a CI/CD pipeline with Cadreen

DevOps

Go SDK in GitHub Actions. Cadreen assesses risk, checks rules, decides: deploy, asks for permission, or blocks.

How to share AI memory across opencode, dashboard, and scripts

Memory

One workspace, five surfaces, zero sync code. A fact stored in one surface appears everywhere immediately.

How to enable GDPR, HIPAA, and PCI-DSS compliance in one call

Compliance

Pre-built compliance policy templates. One call. Your workspace enforces the standard across every tool call.

Build your first agent

Getting started

Create an agent, connect services, set policies, and deploy — all from the dashboard or CLI.

Connect two workspaces

Collaboration

Set up federation between two workspaces. Agents share knowledge across organizational boundaries.

Connect an external agent

Integration

Register an external agent via A2A protocol. Governance-gated task execution across platforms.

How to create and manage agents

Core

Create agents from scratch or templates. Configure capabilities, set policies, deploy, and manage versions.

How to build a CI/CD pipeline with Cadreen

DevOps

Cadreen assesses risk in your deployment pipeline, checks rules, and decides: deploy, asks for permission, or blocks.

How to share AI memory across surfaces

Memory

One workspace, five surfaces, zero sync code. A fact stored in one place appears everywhere immediately.