@aman_asmuei/aman-agent 0.17.1 → 0.18.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/README.md +73 -32
- package/dist/index.js +3338 -2543
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
|
|
44
44
|
---
|
|
45
45
|
|
|
46
|
-
## What's New in v0.
|
|
46
|
+
## What's New in v0.18.0
|
|
47
47
|
|
|
48
|
-
> **
|
|
48
|
+
> **Personalized onboarding, showcase templates, and 10 runtime reliability fixes.**
|
|
49
49
|
|
|
50
50
|
| Feature | What it does |
|
|
51
51
|
|:---|:---|
|
|
52
|
-
| **
|
|
53
|
-
| **
|
|
54
|
-
| **
|
|
55
|
-
| **
|
|
56
|
-
| **
|
|
57
|
-
| **
|
|
58
|
-
| **
|
|
59
|
-
| **
|
|
60
|
-
| **
|
|
61
|
-
| **
|
|
62
|
-
| **
|
|
63
|
-
| **
|
|
52
|
+
| **User onboarding** | Interactive first-run setup — captures your name, role, expertise, and communication style |
|
|
53
|
+
| **Showcase templates** | 13 pre-built companion personalities (fitness, freelancer, Muslim, finance, etc.) from [aman-showcase](https://github.com/amanasmuei/aman-showcase) |
|
|
54
|
+
| **User profile** | `/profile me` to view, `/profile edit` to update — injected into every system prompt |
|
|
55
|
+
| **Streaming cancellation** | Ctrl+C aborts current response instead of killing the session |
|
|
56
|
+
| **Session checkpointing** | Auto-saves every 10 turns — crash-safe, no more lost conversations |
|
|
57
|
+
| **Sub-agent guardrails** | Delegated agents now enforce the same safety rules as the main agent |
|
|
58
|
+
| **Sub-agent memory** | Delegated agents recall relevant memories for better context |
|
|
59
|
+
| **MCP auto-reconnect** | Tool servers automatically reconnect on connection failure |
|
|
60
|
+
| **Token-safe tool loop** | Conversation trimming runs inside the tool loop — no more context blowups |
|
|
61
|
+
| **System prompt ceiling** | 16K token cap prevents unbounded system prompt growth |
|
|
62
|
+
| **Non-blocking extraction** | Memory extraction runs fire-and-forget — never blocks your next message |
|
|
63
|
+
| **Image-aware trimming** | Image blocks properly counted in token estimates for conversation trimming |
|
|
64
64
|
|
|
65
65
|
<a href="https://github.com/amanasmuei/aman-agent/releases">Full release history</a>
|
|
66
66
|
|
|
@@ -107,17 +107,20 @@ export OPENAI_API_KEY="sk-..." # → uses GPT-4o
|
|
|
107
107
|
|
|
108
108
|
No env var? First run prompts for your LLM provider, API key, and model.
|
|
109
109
|
|
|
110
|
-
### 2.
|
|
110
|
+
### 2. First Launch — You'll Be Asked About You
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
# Guided wizard — pick a persona preset
|
|
114
|
-
aman-agent init
|
|
112
|
+
On first run, a quick interactive setup captures who you are:
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
```
|
|
115
|
+
◆ What should I call you?
|
|
116
|
+
◆ What's your main thing? (developer, designer, student, manager, generalist)
|
|
117
|
+
◆ How deep in the game? (beginner → expert)
|
|
118
|
+
◆ How do you like answers? (concise, balanced, thorough, socratic)
|
|
119
|
+
◆ What are you working on? (optional)
|
|
120
|
+
◆ Want a companion specialty? (13 pre-built personalities from aman-showcase)
|
|
118
121
|
```
|
|
119
122
|
|
|
120
|
-
|
|
123
|
+
Takes ~30 seconds. Update anytime with `/profile edit`.
|
|
121
124
|
|
|
122
125
|
### 3. Talk
|
|
123
126
|
|
|
@@ -137,17 +140,18 @@ A step-by-step walkthrough of how to use aman-agent day-to-day.
|
|
|
137
140
|
|
|
138
141
|
### Your First Conversation
|
|
139
142
|
|
|
140
|
-
On first run,
|
|
143
|
+
On first run, you set up your profile, then the agent greets you personally:
|
|
141
144
|
|
|
142
145
|
```
|
|
143
146
|
$ aman-agent
|
|
144
147
|
|
|
145
148
|
aman agent — your AI companion
|
|
146
|
-
✓ Auto-detected Anthropic API key. Using
|
|
147
|
-
✓
|
|
148
|
-
✓
|
|
149
|
-
✓
|
|
150
|
-
|
|
149
|
+
✓ Auto-detected Anthropic API key. Using claude-sonnet-4-6.
|
|
150
|
+
✓ Profile saved for Aman
|
|
151
|
+
✓ Loaded: identity, user, guardrails (2,847 tokens)
|
|
152
|
+
✓ Memory consolidated
|
|
153
|
+
✓ MCP connected
|
|
154
|
+
✓ Aman is ready for Aman. Model: claude-sonnet-4-6
|
|
151
155
|
|
|
152
156
|
You > Hey, I'm working on a Node.js API
|
|
153
157
|
|
|
@@ -412,9 +416,45 @@ aman-agent init
|
|
|
412
416
|
|
|
413
417
|
Set any to `false` to disable.
|
|
414
418
|
|
|
415
|
-
###
|
|
419
|
+
### Showcase Templates
|
|
420
|
+
|
|
421
|
+
Give your companion a pre-built specialty from [aman-showcase](https://github.com/amanasmuei/aman-showcase):
|
|
422
|
+
|
|
423
|
+
| Template | What it does |
|
|
424
|
+
|:---|:---|
|
|
425
|
+
| **Muslim** | Islamic daily companion — prayer times, hadith, du'a |
|
|
426
|
+
| **Quran** | Quranic Arabic vocabulary with transliteration |
|
|
427
|
+
| **Fitness** | Personal trainer — workout tracking, nutrition |
|
|
428
|
+
| **Freelancer** | Client & invoice tracking for independents |
|
|
429
|
+
| **Kedai** | Small business assistant (BM/EN) |
|
|
430
|
+
| **Money** | Personal finance & budget tracker |
|
|
431
|
+
| **Monitor** | Price/website/keyword watchdog |
|
|
432
|
+
| **Bahasa** | Malay/English language tutor |
|
|
433
|
+
| **Team** | Standups, tasks, team memory |
|
|
434
|
+
| **Rutin** | Medication reminders for family |
|
|
435
|
+
| **Support** | Customer support with escalation |
|
|
436
|
+
| **IoT** | Sensor monitoring for smart homes |
|
|
437
|
+
| **Feed** | News aggregation & filtering |
|
|
438
|
+
|
|
439
|
+
Install during onboarding or anytime:
|
|
440
|
+
|
|
441
|
+
```bash
|
|
442
|
+
npx @aman_asmuei/aman-showcase install muslim
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
Each template includes identity, workflows, rules, and domain skills — all installed into your ecosystem.
|
|
446
|
+
|
|
447
|
+
### Your Profile vs Agent Profiles
|
|
448
|
+
|
|
449
|
+
**Your profile** is who YOU are — name, role, expertise, communication style. Set during onboarding, injected into every conversation:
|
|
450
|
+
|
|
451
|
+
```
|
|
452
|
+
/profile me View your profile
|
|
453
|
+
/profile edit Edit a field
|
|
454
|
+
/profile setup Re-run full setup
|
|
455
|
+
```
|
|
416
456
|
|
|
417
|
-
|
|
457
|
+
**Agent profiles** are different AI personalities for different tasks:
|
|
418
458
|
|
|
419
459
|
```bash
|
|
420
460
|
aman-agent --profile coder # direct, code-first
|
|
@@ -422,7 +462,7 @@ aman-agent --profile writer # creative, story-driven
|
|
|
422
462
|
aman-agent --profile researcher # analytical, citation-focused
|
|
423
463
|
```
|
|
424
464
|
|
|
425
|
-
Each profile has its own identity, rules, and skills — but shares the same memory. Create profiles:
|
|
465
|
+
Each agent profile has its own identity, rules, and skills — but shares the same memory. Create profiles:
|
|
426
466
|
|
|
427
467
|
```
|
|
428
468
|
/profile create coder Install built-in template
|
|
@@ -780,7 +820,7 @@ Every operation that can fail logs to `~/.aman-agent/debug.log` with structured
|
|
|
780
820
|
|:---|:---|
|
|
781
821
|
| `/help` | Show available commands |
|
|
782
822
|
| `/plan` | Show active plan `[create\|done\|undo\|list\|switch\|show]` |
|
|
783
|
-
| `/profile` |
|
|
823
|
+
| `/profile` | Your profile + agent profiles `[me\|edit\|setup\|create\|list\|show\|delete]` |
|
|
784
824
|
| `/delegate` | Delegate task to a profile `[<profile> <task>\|pipeline]` |
|
|
785
825
|
| `/team` | Manage agent teams `[create\|run\|list\|show\|delete]` |
|
|
786
826
|
| `/identity` | View identity `[update <section>]` |
|
|
@@ -811,6 +851,7 @@ On every session start, aman-agent assembles your full AI context:
|
|
|
811
851
|
| Layer | Source | What it provides |
|
|
812
852
|
|:---|:---|:---|
|
|
813
853
|
| **Identity** | `~/.acore/core.md` | AI personality, your preferences, relationship state |
|
|
854
|
+
| **User** | `~/.acore/user.md` | Your name, role, expertise level, communication style |
|
|
814
855
|
| **Memory** | `~/.amem/memory.db` | Past decisions, corrections, patterns, conversation history |
|
|
815
856
|
| **Reminders** | `~/.amem/memory.db` | Overdue, today, and upcoming reminders |
|
|
816
857
|
| **Tools** | `~/.akit/kit.md` | Available capabilities (GitHub, search, databases) |
|
|
@@ -828,7 +869,7 @@ All layers are optional — the agent works with whatever you've set up.
|
|
|
828
869
|
Layers are included by priority when space is limited:
|
|
829
870
|
|
|
830
871
|
```
|
|
831
|
-
Identity (always) → Guardrails → Workflows → Tools → Skills (can truncate)
|
|
872
|
+
Identity (always) → User (always) → Guardrails → Workflows → Tools → Skills (can truncate)
|
|
832
873
|
```
|
|
833
874
|
|
|
834
875
|
Default budget: 8,000 tokens. Override with `--budget`.
|