@deftai/directive-content 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/deft/SKILL.md +6 -0
- package/.agents/skills/deft-directive-article-review/SKILL.md +11 -0
- package/.agents/skills/deft-directive-build/SKILL.md +10 -0
- package/.agents/skills/deft-directive-cost/SKILL.md +12 -0
- package/.agents/skills/deft-directive-debug/SKILL.md +13 -0
- package/.agents/skills/deft-directive-gh-arch/SKILL.md +11 -0
- package/.agents/skills/deft-directive-gh-slice/SKILL.md +10 -0
- package/.agents/skills/deft-directive-glossary/SKILL.md +10 -0
- package/.agents/skills/deft-directive-interview/SKILL.md +9 -0
- package/.agents/skills/deft-directive-pre-pr/SKILL.md +9 -0
- package/.agents/skills/deft-directive-refinement/SKILL.md +10 -0
- package/.agents/skills/deft-directive-release/SKILL.md +12 -0
- package/.agents/skills/deft-directive-review-cycle/SKILL.md +10 -0
- package/.agents/skills/deft-directive-setup/SKILL.md +10 -0
- package/.agents/skills/deft-directive-swarm/SKILL.md +10 -0
- package/.agents/skills/deft-directive-sync/SKILL.md +9 -0
- package/.agents/skills/deft-directive-triage/SKILL.md +9 -0
- package/.agents/skills/deft-directive-write-skill/SKILL.md +9 -0
- package/LICENSE.md +22 -0
- package/QUICK-START.md +167 -0
- package/UPGRADING.md +517 -0
- package/coding/build-output.md +28 -0
- package/coding/coding.md +235 -0
- package/coding/debugging.md +110 -0
- package/coding/holzmann.md +96 -0
- package/coding/hygiene.md +127 -0
- package/coding/security.md +158 -0
- package/coding/testing.md +162 -0
- package/coding/toolchain.md +44 -0
- package/commands.md +300 -0
- package/context/context.md +57 -0
- package/context/deterministic-split.md +67 -0
- package/context/examples.md +26 -0
- package/context/fractal-summaries.md +69 -0
- package/context/long-horizon.md +46 -0
- package/context/spec-deltas.md +177 -0
- package/context/tool-design.md +34 -0
- package/context/working-memory.md +62 -0
- package/contracts/boundary-maps.md +65 -0
- package/contracts/deterministic-questions.md +59 -0
- package/contracts/hierarchy.md +77 -0
- package/conventions/content-manifest.json +399 -0
- package/conventions/machine-generated-banner.md +130 -0
- package/conventions/references.md +120 -0
- package/conventions/rule-ownership.json +382 -0
- package/conventions/task-caching.md +43 -0
- package/conventions/vbrief-filenames.md +70 -0
- package/deployments/README.md +37 -0
- package/deployments/agentuity/README.md +138 -0
- package/deployments/agentuity/via-cli.md +380 -0
- package/deployments/agentuity/via-cloud.md +425 -0
- package/deployments/agentuity/via-github-actions.md +664 -0
- package/deployments/agentuity/via-gravity-network.md +606 -0
- package/deployments/agentuity/via-vpc.md +607 -0
- package/deployments/aws/README.md +38 -0
- package/deployments/aws/via-app-runner.md +612 -0
- package/deployments/aws/via-ecs-fargate.md +561 -0
- package/deployments/aws/via-elastic-beanstalk.md +628 -0
- package/deployments/aws/via-lambda.md +649 -0
- package/deployments/azure/README.md +37 -0
- package/deployments/azure/via-aks.md +390 -0
- package/deployments/azure/via-app-service.md +564 -0
- package/deployments/azure/via-container-apps.md +599 -0
- package/deployments/azure/via-functions.md +552 -0
- package/deployments/cloud-gov/README.md +63 -0
- package/deployments/cloud-gov/agents/compliance-docs.md +154 -0
- package/deployments/cloud-gov/agents.md +39 -0
- package/deployments/cloud-gov/cicd.md +64 -0
- package/deployments/cloud-gov/deployment.md +150 -0
- package/deployments/cloud-gov/logging.md +43 -0
- package/deployments/cloud-gov/manifest.md +121 -0
- package/deployments/cloud-gov/overview.md +58 -0
- package/deployments/cloud-gov/security.md +46 -0
- package/deployments/cloud-gov/services.md +72 -0
- package/deployments/cloud-gov/upstream/README.md +18 -0
- package/deployments/cloudflare/README.md +33 -0
- package/deployments/cloudflare/via-dashboard.md +83 -0
- package/deployments/cloudflare/via-git.md +90 -0
- package/deployments/cloudflare/via-github-actions.md +185 -0
- package/deployments/cloudflare/via-terraform.md +157 -0
- package/deployments/cloudflare/via-wrangler.md +165 -0
- package/deployments/fly-io/README.md +37 -0
- package/deployments/fly-io/via-dockerfile.md +648 -0
- package/deployments/fly-io/via-flyctl.md +653 -0
- package/deployments/fly-io/via-github-actions.md +695 -0
- package/deployments/fly-io/via-multi-region.md +598 -0
- package/deployments/google/README.md +34 -0
- package/deployments/google/via-app-engine.md +42 -0
- package/deployments/google/via-cloud-functions.md +23 -0
- package/deployments/google/via-cloud-run.md +330 -0
- package/deployments/google/via-gke.md +23 -0
- package/deployments/netlify/README.md +99 -0
- package/deployments/netlify/via-cli.md +17 -0
- package/deployments/netlify/via-functions.md +19 -0
- package/deployments/netlify/via-git.md +25 -0
- package/deployments/vercel/README.md +90 -0
- package/deployments/vercel/via-api.md +16 -0
- package/deployments/vercel/via-cli.md +17 -0
- package/deployments/vercel/via-git.md +24 -0
- package/docs/BROWNFIELD.md +179 -0
- package/docs/getting-started.md +137 -0
- package/docs/good-agents-md.md +137 -0
- package/events/README.md +89 -0
- package/events/event-record.schema.json +26 -0
- package/events/registry.json +166 -0
- package/events/registry.schema.json +71 -0
- package/glossary.md +145 -0
- package/incidents/README.md +81 -0
- package/incidents/_template.md +38 -0
- package/interfaces/cli.md +104 -0
- package/interfaces/rest.md +212 -0
- package/interfaces/tui.md +242 -0
- package/interfaces/web.md +123 -0
- package/languages/6502-DASM.md +132 -0
- package/languages/c.md +235 -0
- package/languages/commands.md +23 -0
- package/languages/cpp.md +132 -0
- package/languages/csharp.md +259 -0
- package/languages/dart.md +183 -0
- package/languages/delphi.md +218 -0
- package/languages/elixir.md +208 -0
- package/languages/go.md +78 -0
- package/languages/java.md +278 -0
- package/languages/javascript.md +163 -0
- package/languages/julia.md +175 -0
- package/languages/kotlin.md +193 -0
- package/languages/markdown.md +168 -0
- package/languages/mermaid.md +146 -0
- package/languages/officejs.md +392 -0
- package/languages/python.md +209 -0
- package/languages/r.md +163 -0
- package/languages/rust.md +216 -0
- package/languages/sql.md +216 -0
- package/languages/swift.md +153 -0
- package/languages/typescript.md +132 -0
- package/languages/vba.md +279 -0
- package/languages/vhdl.md +180 -0
- package/languages/visual-basic.md +151 -0
- package/languages/zig.md +196 -0
- package/meta/SOUL.md +27 -0
- package/meta/code-field.md +44 -0
- package/meta/morals.md +40 -0
- package/meta/philosophy.md +39 -0
- package/meta/project.md +49 -0
- package/meta/ralph.md +223 -0
- package/meta/security.md +80 -0
- package/meta/versioning.md +326 -0
- package/package.json +22 -0
- package/packs/lessons/lessons-pack-0.1.json +553 -0
- package/packs/patterns/patterns-pack-0.1.json +57 -0
- package/packs/rules/rules-pack-0.1.json +4767 -0
- package/packs/skills/skills-pack-0.1.json +262 -0
- package/packs/strategies/strategies-pack-0.1.json +167 -0
- package/packs/swarm-spec/swarm-spec-pack-0.1.json +17 -0
- package/patterns/executor-layer-credentials.md +227 -0
- package/patterns/llm-app.md +156 -0
- package/patterns/multi-agent.md +278 -0
- package/patterns/prompt-assembly-layer-ordering.md +154 -0
- package/patterns/role-as-overlay.md +179 -0
- package/platforms/2600.md +137 -0
- package/platforms/unity.md +329 -0
- package/references/composer-skill-porting.md +152 -0
- package/references/cost-models.md +163 -0
- package/references/ip-risk.md +246 -0
- package/references/plain-english-ux.md +275 -0
- package/resilience/context-pruning.md +67 -0
- package/resilience/continue-here.md +62 -0
- package/scm/changelog.md +276 -0
- package/scm/git.md +139 -0
- package/scm/github.md +265 -0
- package/secrets/.gitkeep +0 -0
- package/skills/deft-build/SKILL.md +20 -0
- package/skills/deft-directive-article-review/SKILL.md +156 -0
- package/skills/deft-directive-build/SKILL.md +302 -0
- package/skills/deft-directive-cost/SKILL.md +201 -0
- package/skills/deft-directive-debug/SKILL.md +140 -0
- package/skills/deft-directive-decompose/SKILL.md +96 -0
- package/skills/deft-directive-gh-arch/SKILL.md +160 -0
- package/skills/deft-directive-gh-slice/SKILL.md +199 -0
- package/skills/deft-directive-glossary/SKILL.md +118 -0
- package/skills/deft-directive-interview/SKILL.md +528 -0
- package/skills/deft-directive-pre-pr/SKILL.md +131 -0
- package/skills/deft-directive-probe/SKILL.md +127 -0
- package/skills/deft-directive-refinement/SKILL.md +403 -0
- package/skills/deft-directive-release/SKILL.md +266 -0
- package/skills/deft-directive-review-cycle/SKILL.md +401 -0
- package/skills/deft-directive-setup/SKILL.md +717 -0
- package/skills/deft-directive-swarm/SKILL.md +989 -0
- package/skills/deft-directive-sync/SKILL.md +288 -0
- package/skills/deft-directive-triage/SKILL.md +137 -0
- package/skills/deft-directive-write-skill/SKILL.md +169 -0
- package/skills/deft-interview/SKILL.md +16 -0
- package/skills/deft-pre-pr/SKILL.md +16 -0
- package/skills/deft-review-cycle/SKILL.md +16 -0
- package/skills/deft-roadmap-refresh/SKILL.md +16 -0
- package/skills/deft-setup/SKILL.md +20 -0
- package/skills/deft-swarm/SKILL.md +16 -0
- package/skills/deft-sync/SKILL.md +16 -0
- package/strategies/README.md +83 -0
- package/strategies/artifact-guards.md +85 -0
- package/strategies/bdd.md +115 -0
- package/strategies/brownfield.md +7 -0
- package/strategies/discuss.md +129 -0
- package/strategies/emit-hints.md +69 -0
- package/strategies/enterprise.md +193 -0
- package/strategies/interview.md +551 -0
- package/strategies/map.md +179 -0
- package/strategies/probe.md +151 -0
- package/strategies/rapid.md +155 -0
- package/strategies/research.md +155 -0
- package/strategies/roadmap.md +9 -0
- package/strategies/speckit.md +437 -0
- package/strategies/v0-20-contract.md +134 -0
- package/strategies/yolo.md +169 -0
- package/swarm/swarm.md +300 -0
- package/templates/COST-ESTIMATE.md +114 -0
- package/templates/PULL_REQUEST_TEMPLATE.md +35 -0
- package/templates/agent-prompt-preamble.md +409 -0
- package/templates/agents-entry.md +211 -0
- package/templates/agents-entry.placeholders.md +75 -0
- package/templates/embed.go +20 -0
- package/templates/embed_test.go +36 -0
- package/templates/make-spec-example.md +9 -0
- package/templates/make-spec.md +246 -0
- package/templates/project.md.template +52 -0
- package/templates/specification.md +1 -0
- package/templates/swarm-greptile-poller-prompt.md +556 -0
- package/templates/user.md.template +31 -0
- package/tools/RWLDL.md +80 -0
- package/tools/greptile.md +141 -0
- package/tools/installer.md +23 -0
- package/tools/taskfile-migration.md +32 -0
- package/tools/taskfile.md +185 -0
- package/tools/telemetry.md +285 -0
- package/vbrief/schemas/cache-meta.schema.json +137 -0
- package/vbrief/schemas/candidates.schema.json +130 -0
- package/vbrief/schemas/codebase-map.schema.json +213 -0
- package/vbrief/schemas/lessons-pack.schema.json +134 -0
- package/vbrief/schemas/patterns-pack.schema.json +84 -0
- package/vbrief/schemas/rules-pack.schema.json +105 -0
- package/vbrief/schemas/skills-pack.schema.json +94 -0
- package/vbrief/schemas/slices.schema.json +87 -0
- package/vbrief/schemas/strategies-pack.schema.json +89 -0
- package/vbrief/schemas/swarm-spec-pack.schema.json +84 -0
- package/vbrief/schemas/vbrief-core.schema.json +1022 -0
- package/vbrief/vbrief.md +684 -0
- package/verification/integration.md +76 -0
- package/verification/plan-checking.md +85 -0
- package/verification/uat.md +60 -0
- package/verification/verification.md +117 -0
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
# Deploy via Agentuity CLI
|
|
2
|
+
|
|
3
|
+
The primary and recommended method for deploying agents to Agentuity. The CLI provides the complete development lifecycle from project creation through production deployment.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
- macOS, Linux, or WSL on Windows
|
|
8
|
+
- Node.js 18+ or Bun (for TypeScript/JavaScript agents)
|
|
9
|
+
- Python 3.9+ (for Python agents)
|
|
10
|
+
- Git (optional, for version control)
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
### macOS / Linux
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Install via install script (recommended)
|
|
18
|
+
curl -fsS https://agentuity.sh | sh
|
|
19
|
+
|
|
20
|
+
# Or via Homebrew (macOS)
|
|
21
|
+
brew install agentuity
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Windows (WSL Required)
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Run from WSL terminal
|
|
28
|
+
curl -fsS https://agentuity.sh | sh
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Verify Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
agentuity version
|
|
35
|
+
agentuity --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
### 1. Create a New Project
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Interactive creation with templates
|
|
44
|
+
agentuity create
|
|
45
|
+
|
|
46
|
+
# You'll be prompted to choose:
|
|
47
|
+
# - Project name
|
|
48
|
+
# - Runtime (TypeScript, Python, Bun)
|
|
49
|
+
# - Template (basic, chat, research, etc.)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 2. Start Local Development
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
cd my-agent-project
|
|
56
|
+
agentuity dev
|
|
57
|
+
|
|
58
|
+
# Your agent will be available at http://localhost:3500
|
|
59
|
+
# Hot reload enabled - changes apply instantly
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 3. Deploy to Production
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Deploy to Agentuity Cloud
|
|
66
|
+
agentuity deploy
|
|
67
|
+
|
|
68
|
+
# Or specify target
|
|
69
|
+
agentuity cloud deploy --dir ./my-project
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Project Structure
|
|
73
|
+
|
|
74
|
+
After running `agentuity create`, your project will have:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
my-agent/
|
|
78
|
+
├── agentuity.yaml # Project configuration
|
|
79
|
+
├── src/
|
|
80
|
+
│ └── agents/ # Agent definitions
|
|
81
|
+
│ └── index.ts # Main agent
|
|
82
|
+
├── api/ # API routes (optional)
|
|
83
|
+
├── web/ # React frontend (optional)
|
|
84
|
+
└── package.json # Dependencies
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Core CLI Commands
|
|
88
|
+
|
|
89
|
+
### Project Management
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# Create new agent in existing project
|
|
93
|
+
agentuity agent create [name]
|
|
94
|
+
|
|
95
|
+
# List all agents
|
|
96
|
+
agentuity agent list
|
|
97
|
+
|
|
98
|
+
# Delete an agent
|
|
99
|
+
agentuity agent delete [name]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Development
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# Start dev server
|
|
106
|
+
agentuity dev
|
|
107
|
+
|
|
108
|
+
# Run with specific port
|
|
109
|
+
agentuity dev --port 4000
|
|
110
|
+
|
|
111
|
+
# Enable debug logging
|
|
112
|
+
agentuity dev --log-level debug
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Deployment
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Deploy to production
|
|
119
|
+
agentuity deploy
|
|
120
|
+
|
|
121
|
+
# Deploy with dry-run (validate only)
|
|
122
|
+
agentuity deploy --dry-run
|
|
123
|
+
|
|
124
|
+
# Deploy specific directory
|
|
125
|
+
agentuity deploy --dir ./my-project
|
|
126
|
+
|
|
127
|
+
# Deploy with explanation
|
|
128
|
+
agentuity deploy --explain
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Environment Management
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# List environment variables
|
|
135
|
+
agentuity env
|
|
136
|
+
|
|
137
|
+
# Set environment variable
|
|
138
|
+
agentuity env set KEY=value
|
|
139
|
+
|
|
140
|
+
# Delete environment variable
|
|
141
|
+
agentuity env delete KEY
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Authentication
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Login to Agentuity Cloud
|
|
148
|
+
agentuity auth login
|
|
149
|
+
|
|
150
|
+
# Logout
|
|
151
|
+
agentuity auth logout
|
|
152
|
+
|
|
153
|
+
# Check auth status
|
|
154
|
+
agentuity auth status
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### API Key Management
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
# Create API key
|
|
161
|
+
agentuity apikey create
|
|
162
|
+
|
|
163
|
+
# List API keys
|
|
164
|
+
agentuity apikey list
|
|
165
|
+
|
|
166
|
+
# Revoke API key
|
|
167
|
+
agentuity apikey revoke [key-id]
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Agent Configuration
|
|
171
|
+
|
|
172
|
+
### Basic Agent (TypeScript)
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
// src/agents/chat.ts
|
|
176
|
+
import { createAgent } from '@agentuity/runtime';
|
|
177
|
+
import { s } from '@agentuity/schema';
|
|
178
|
+
import { generateText } from 'ai';
|
|
179
|
+
import { openai } from '@ai-sdk/openai';
|
|
180
|
+
|
|
181
|
+
const agent = createAgent('chat', {
|
|
182
|
+
description: 'A simple chat agent',
|
|
183
|
+
schema: {
|
|
184
|
+
input: s.object({
|
|
185
|
+
message: s.string()
|
|
186
|
+
}),
|
|
187
|
+
output: s.object({
|
|
188
|
+
response: s.string()
|
|
189
|
+
})
|
|
190
|
+
},
|
|
191
|
+
handler: async (ctx, { message }) => {
|
|
192
|
+
const { text } = await generateText({
|
|
193
|
+
model: openai('gpt-4'),
|
|
194
|
+
prompt: message
|
|
195
|
+
});
|
|
196
|
+
return { response: text };
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
export default agent;
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### agentuity.yaml Configuration
|
|
204
|
+
|
|
205
|
+
```yaml
|
|
206
|
+
name: my-agent
|
|
207
|
+
description: My AI agent project
|
|
208
|
+
version: 1.0.0
|
|
209
|
+
|
|
210
|
+
runtime:
|
|
211
|
+
type: nodejs
|
|
212
|
+
version: "18"
|
|
213
|
+
|
|
214
|
+
agents:
|
|
215
|
+
- name: chat
|
|
216
|
+
path: src/agents/chat.ts
|
|
217
|
+
auth: api-key
|
|
218
|
+
|
|
219
|
+
env:
|
|
220
|
+
- OPENAI_API_KEY
|
|
221
|
+
- DATABASE_URL
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## Advanced Features
|
|
225
|
+
|
|
226
|
+
### Offline Development
|
|
227
|
+
|
|
228
|
+
Agentuity CLI works offline by default:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
# No account required to start building
|
|
232
|
+
agentuity create --offline
|
|
233
|
+
|
|
234
|
+
# Deploy when ready
|
|
235
|
+
agentuity deploy
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### JSON Output for Automation
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
# Get agent info as JSON
|
|
242
|
+
agentuity agent list --json
|
|
243
|
+
|
|
244
|
+
# Deploy with JSON output
|
|
245
|
+
agentuity deploy --json
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Schema Discovery
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
# Discover available schemas
|
|
252
|
+
agentuity schema list
|
|
253
|
+
|
|
254
|
+
# Validate agent schemas
|
|
255
|
+
agentuity schema validate
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
## Deployment Options
|
|
259
|
+
|
|
260
|
+
### Standard Cloud Deployment
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
# Deploy to Agentuity managed infrastructure
|
|
264
|
+
agentuity deploy
|
|
265
|
+
|
|
266
|
+
# Features:
|
|
267
|
+
# - Global edge network
|
|
268
|
+
# - Sub-100ms cold starts
|
|
269
|
+
# - Automatic scaling
|
|
270
|
+
# - Built-in SSL/DNS
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Custom Domain
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
# Configure custom domain
|
|
277
|
+
agentuity domain add example.com
|
|
278
|
+
|
|
279
|
+
# SSL certificates managed automatically
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Rollback
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
# List deployments
|
|
286
|
+
agentuity deployments list
|
|
287
|
+
|
|
288
|
+
# Rollback to previous version
|
|
289
|
+
agentuity rollback [deployment-id]
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## Monitoring and Debugging
|
|
293
|
+
|
|
294
|
+
### View Logs
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
# Stream live logs
|
|
298
|
+
agentuity logs --follow
|
|
299
|
+
|
|
300
|
+
# Filter by agent
|
|
301
|
+
agentuity logs --agent chat
|
|
302
|
+
|
|
303
|
+
# View last 100 lines
|
|
304
|
+
agentuity logs --tail 100
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Inspect Agent
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
# Get agent details
|
|
311
|
+
agentuity agent inspect [name]
|
|
312
|
+
|
|
313
|
+
# View agent configuration
|
|
314
|
+
agentuity agent config [name]
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## Best Practices
|
|
318
|
+
|
|
319
|
+
1. **Use Templates**: Start with `agentuity create` templates for best practices
|
|
320
|
+
2. **Environment Variables**: Never commit secrets; use `agentuity env` commands
|
|
321
|
+
3. **Test Locally**: Always test with `agentuity dev` before deploying
|
|
322
|
+
4. **Version Control**: Commit `agentuity.yaml` and agent code to Git
|
|
323
|
+
5. **Dry Run**: Use `--dry-run` to validate before actual deployment
|
|
324
|
+
|
|
325
|
+
## Troubleshooting
|
|
326
|
+
|
|
327
|
+
### CLI Not Found After Installation
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
# Add to PATH (macOS/Linux)
|
|
331
|
+
export PATH="$HOME/.agentuity/bin:$PATH"
|
|
332
|
+
|
|
333
|
+
# Reload shell
|
|
334
|
+
source ~/.zshrc # or ~/.bashrc
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Deployment Fails
|
|
338
|
+
|
|
339
|
+
```bash
|
|
340
|
+
# Check auth status
|
|
341
|
+
agentuity auth status
|
|
342
|
+
|
|
343
|
+
# Validate configuration
|
|
344
|
+
agentuity deploy --dry-run --explain
|
|
345
|
+
|
|
346
|
+
# Check logs
|
|
347
|
+
agentuity logs --tail 50
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
### Port Already in Use
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# Use different port
|
|
354
|
+
agentuity dev --port 4000
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
## Upgrading the CLI
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
# Upgrade to latest version
|
|
361
|
+
agentuity upgrade
|
|
362
|
+
|
|
363
|
+
# Or reinstall
|
|
364
|
+
curl -fsS https://agentuity.sh | sh
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
## Next Steps
|
|
368
|
+
|
|
369
|
+
- **Add Frontend**: Deploy React frontend with `@agentuity/react`
|
|
370
|
+
- **Multi-Agent**: Coordinate multiple agents with type-safe calls
|
|
371
|
+
- **Production Evals**: Enable evaluations on live traffic
|
|
372
|
+
- **VPC Deployment**: See `via-vpc.md` for private cloud deployment
|
|
373
|
+
- **CI/CD**: Automate with `via-github-actions.md`
|
|
374
|
+
|
|
375
|
+
## References
|
|
376
|
+
|
|
377
|
+
- [CLI Documentation](https://agentuity.dev/CLI)
|
|
378
|
+
- [CLI GitHub Repository](https://github.com/agentuity/cli)
|
|
379
|
+
- [Getting Started Guide](https://agentuity.dev/Introduction/getting-started)
|
|
380
|
+
- [Agent Commands Reference](https://agentuity.dev/CLI/agent)
|