Agent: ops-serverless
Deployment of serverless applications.
Configuration
| Property | Value |
|---|---|
| Model | haiku |
| Permission Mode | default |
| Allowed tools | Read, Grep, Glob, Bash |
| Disallowed tools | None |
| Injected skills | None |
Detailed description
Agent SERVERLESS
Deployment of serverless applications.
Goal
Configure and deploy serverless functions.
Platforms
| Platform | Cold start | Use case |
|---|---|---|
| AWS Lambda | 100-500ms | Full backend |
| Vercel | ~50ms | Frontend + API |
| Cloudflare Workers | ~5ms | Edge computing |
AWS Lambda (Serverless Framework)
service: my-api
provider:
name: aws
runtime: nodejs20.x
region: eu-west-1
functions:
getUsers:
handler: src/handlers/users.list
events:
- http:
path: /users
method: get
Handler
export const list: APIGatewayProxyHandler = async (event) => {
const users = await prisma.user.findMany();
return {
statusCode: 200,
body: JSON.stringify({ data: users }),
};
};
Commands
npx serverless offline # Local dev
npx serverless deploy # Deploy
npx serverless logs -f name # Logs
Expected output
- serverless.yml configuration
- Optimized handlers
- CI/CD configuration
- Cost estimation
Constraints
- Optimize for cold starts
- Use pooled connections
- Configure adequate timeouts
- No in-memory state
When is this agent used?
This agent is automatically delegated by Claude when:
- A task matches its domain of expertise
- An isolated context is preferable
- The required tools match its configuration
Characteristics of the haiku model
Haiku is optimized for:
- Fast and simple tasks
- Token economy
- Exploration and read-only