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.

How to add human approval to any AI tool call

Governance

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

Building self-healing tool chains with precedent memory

Resilience

When tools fail, Cadreen classifies the error, fixes arguments, retries. Stores fixes as precedents for next time.

How to turn any REST API into a governed AI tool

Integrations

Upload an OpenAPI spec. Cadreen auto-generates governed tools — credential-aware, failure-classified, health-checked.

How to audit every AI decision with intelligence traces

Observability

Every response carries a trace ID. Fetch the full decision breakdown. Hash-chained for tamper detection.

How to make AI learn from repeated interactions

Learning

Cadreen spots repeated patterns and proposes turning them into reusable procedures. 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 governed CI/CD pipeline with Cadreen

DevOps

Go SDK in GitHub Actions. Cadreen assesses risk, checks policies, decides: deploy, handoff, or block.

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.