Devin
Devin is an AI software engineering agent by Cognition that can work autonomously on tasks across your codebase. Devin comes in two forms: Devin Local (Desktop and CLI) for working directly on your machine, and Devin Cloud for running tasks in a remote cloud environment. Both integrate seamlessly with Bruno's local-first, Git-based API collections.
Configure Devin Local with Bruno
Devin Local runs directly on your machine through Devin Desktop (GUI) or Devin CLI (terminal). It reads project-specific instructions from .agents/skills/ files.
-
Install Devin Desktop from devin.ai or install the Devin CLI via your package manager.
-
At your project root, create a
.agents/skills/directory with a Bruno-specific instructions file:
- Add Bruno-specific context to
.agents/skills/bruno.md. You can use the default instructions provided by Bruno as a starting point, or write your own.
After creating the instructions file, you can start using Devin to automate your API development workflow. See Use cases for example prompts and workflows.
Configure Devin Cloud with Bruno
Devin Cloud runs tasks in a remote environment with access to a full VM, browser, and shell. Beyond skills files, Devin Cloud uses Knowledge notes and Playbooks to maintain persistent context about Bruno across sessions.
Devin Cloud supports three layers of configuration:
1. Skills Files (per-repository)
Same as Devin Local — create .agents/skills/bruno.md in your project root. Devin Cloud reads these automatically when working in the repository. You can use the default instructions provided by Bruno as a starting point.
2. Knowledge Notes (persistent context)
Knowledge notes are persistent, reusable context that Devin Cloud retrieves automatically when relevant. Use them for team-wide conventions that apply across repositories:
- Bruno file format preferences — Whether your team uses YAML (OpenCollection) or Bru format
- Testing standards — Required assertions, coverage expectations, naming conventions
- Environment conventions — How your team names environments, manages secrets, structures collections
- CI/CD patterns — Your team's preferred pipeline configuration for Bruno CLI
Create Knowledge notes through the Devin web interface under Settings > Knowledge. Example:
Title: Bruno API Collection Standards
Trigger: When working with Bruno collections or API tests
Our team uses Bruno v3.1+ with YAML/OpenCollection format.
- Always include opencollection.yml with version 1.0.0
- Environment files go in environments/ with PascalCase names
- All requests must have at least one status code assertion
- Use secret: true for any API keys or tokens in environment files
- Run collections with: bru run --env <env-name> --reporter-html results.html
3. Playbooks (reusable workflows)
Playbooks are step-by-step procedures that Devin Cloud follows for recurring tasks. Use them for standardized Bruno workflows:
- New collection setup — Steps to scaffold a Bruno collection with your team's conventions
- API test generation — How to analyze source code and generate comprehensive Bruno tests
- Collection migration — Process for converting Postman collections to Bruno format
- Release testing — Running Bruno collections against staging/production environments
Create Playbooks through the Devin web interface under Settings > Playbooks. Example:
Title: Generate Bruno Collection from Backend API
Steps:
1. Read the project's route/controller files to identify all API endpoints
2. Create a Bruno collection directory with opencollection.yml
3. Generate environment files (Local.yml, Staging.yml, Production.yml)
4. Create a .yml request file for each endpoint with:
- Correct HTTP method and URL using {{baseUrl}} variable
- Request headers and body based on the route definition
- Bearer token auth referencing {{authToken}}
- At least 3 test assertions (status code, response structure, response time)
5. Add pre-request scripts for endpoints requiring authentication
6. Run the collection with Bruno CLI to verify all requests are valid
7. Commit and create a PR with the new collection
When to Use Each Layer
| Layer | Scope | Best For |
|---|---|---|
| Skills files | Per-repository | Bruno format reference, project-specific conventions, file structure |
| Knowledge | Cross-repository | Team standards, naming conventions, environment patterns |
| Playbooks | Cross-repository | Repeatable multi-step workflows (scaffolding, migration, testing) |
After configuring Devin Cloud, see Use cases for example prompts and workflows.