honilisted
Install: claude install-skill jmbish04/core-github-api
# Honi — AI Agents on Cloudflare Workers
`honidev` is a TypeScript framework for building persistent AI agents on Cloudflare Workers using Durable Objects. Zero cold starts. Global edge deployment. Layered memory that survives across sessions.
## Output Discipline
- Return complete files for every touched file.
- Never emit truncated code with comments like `// ... rest of code ...`.
- If you rewrite an agent module, output the entire final module.
## Installation
```bash
npm install honidev
# or
bun add honidev
```
## Minimal Agent
```typescript
// src/index.ts
import { createAgent, tool } from 'honidev'
import { z } from 'zod'
export const { Agent, handler } = createAgent({
name: 'my-agent',
model: 'claude-sonnet-4-5',
system: 'You are a helpful assistant.',
tools: [
tool('get_weather', 'Get weather for a location', {
location: z.string()
}, async ({ location }) => {
return { temp: 22, condition: 'sunny', location }
})
]
})
export default handler
export class MyAgent extends Agent {}
```
```toml
# wrangler.toml
name = "my-agent"
main = "src/index.ts"
compatibility_date = "2025-01-01"
compatibility_flags = ["nodejs_compat"]
[[durable_objects.bindings]]
name = "AGENT"
class_name = "MyAgent"
[[migrations]]
tag = "v1"
new_classes = ["MyAgent"]
```
## createAgent Config
```typescript
createAgent({
name: string, // Worker name
model: string, // Model ID (see providers below)
system?: string,