Skip to content

Agent Engineering

Making agents behave well is an engineering discipline. This section covers the practical craft: prompts, templates, and — most importantly — what to do when things go wrong.

PageCovers
Prompt EngineeringDesigning system prompts and instructions that actually steer the model
Jinja2 TemplatesThe train-message template system and its variable rules
Custom StrategyWriting your own agent strategy, step by step
TroubleshootingThe common failure modes and their fixes

Assumes you can build and run agents (Tutorials) and understand the runtime (Concepts).

Apache 2.0 License