Alfred Agent — autonomous AI agent framework. Multi-provider LLM, tool-calling, persistent sessions. https://gositeme.com
Go to file
Commander b7785c106b Alfred Agent v2.0 — production-grade runtime with 14 service modules
Core rewrite:
- agent.js: streaming, mid-loop compaction, context tracking, skill matching
- providers.js: streamQuery() method with SSE events for Anthropic
- index.js: v2 HTTP server with 12 endpoints (/health, /chat/stream, /tokens, etc.)
- cli.js: --stream flag, /tokens, /context, /skills commands

New services:
- tokenEstimation.js: multi-strategy token counting with context warnings
- messages.js: typed message system (user/assistant/system/compact/tombstone)
- compact.js: 4-tier compaction engine (micro → auto → memory → cleanup)
- contextTracker.js: file/git/error/discovery tracking with scoring
- steering.js: per-tool safety rules (OWASP-aligned)
- skillEngine.js: SKILL.md parser with keyword triggers and hot reload
- agentFork.js: sub-agent spawning with persistent task tracking
- redact.js: Aho-Corasick secret scrubbing from tool outputs
- intent.js, memory.js, permissions.js, costTracker.js, modelRouter.js, doctor.js
2026-04-08 19:01:30 -04:00
src Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00
.gitignore Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00
consolidate-workspace.sh Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00
ecosystem.config.cjs Initial commit: Alfred Agent - multi-provider AI agent harness 2026-04-07 11:39:57 -04:00
package-lock.json Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00
package.json Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00
upgrade.sh Alfred Agent v2.0 — production-grade runtime with 14 service modules 2026-04-08 19:01:30 -04:00