Create an Engine
Run Tasks
Single Task
Streaming Task
Sequence of Tasks
Caching
BLAST by default caches results and LLM-generated steps to optimize performance. You can control caching behavior using thecache_control option:
Resource Management
The engine automatically manages system resources:- Monitors memory usage
- Limits concurrent browser instances
- Tracks LLM costs
- Handles browser reuse and cleanup
When to Use the Engine API
The Engine API is useful if you don’t want to “run a server”. For most use cases, prefer usingblastai serve.
Next Steps
- Learn about Concurrency and Parallelism
- Configure Settings and Constraints