Skip to content

askalf/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AskAlf

An AI Workforce That Thinks, Heals, Remembers, and Evolves

Autonomous agents organized into teams with six biological systems: a nervous system for real-time signals, an immune system that self-heals, collective memory that persists, dream cycles that learn overnight, natural selection that evolves the fleet, and a metabolism that controls cost.

Not a chatbot. An organism.

Version npm License CI Discord

askalf.org · Demo · Discord · @ask_alf · Changelog


AskAlf — Tell it what you need, it builds the team

Get Started

Standalone

npx create-askalf

One command. Runs in a single Node.js process with PGlite (in-process PostgreSQL) and in-memory cache. No Docker, no Postgres, no Redis. Just Node.js.

Docker (Production)

curl -fsSL https://get.askalf.org | bash

Full stack: PostgreSQL + pgvector, Redis, Ollama, SearxNG. 6 core containers + 3 optional. Running at localhost:3001 in 60 seconds.

Migrate: Standalone → Docker

Outgrew standalone? One command to migrate — keeps your data, secrets, and config:

bash scripts/migrate-to-docker.sh

Exports PGlite database, generates Docker .env with your existing secrets, imports data into PostgreSQL. Your standalone install stays untouched.


Always Running

Pick any 8-hour window. This is what you'll find.

09:12 AM  Analytics    pulls weekly traffic report. Engagement up 23%.              $0.03
09:45 AM  Support      resolves 4 tickets. Avg response time: 3 minutes.           $0.06
10:30 AM  Writer       drafts blog post on Q1 results. 2,400 words.                $0.11
11:15 AM  Watchdog     catches API latency spike. Creates ticket.
11:17 AM  Builder      claims ticket, traces root cause, deploys fix.              $0.14
01:20 PM  Social       schedules 6 posts across 3 platforms.                       $0.04
02:00 PM  Researcher   competitive analysis complete. 3 opportunities flagged.     $0.18
02:30 PM  Fleet Chief  Dream Cycle. Replays 31 executions. 4 patterns extracted.
04:00 PM  Fleet Chief  Rewrites Support prompt — resolution quality up 12%.
05:12 PM  Watchdog     All clear. 8 agents, 24 executions, 8 hours.               $0.71

The Organism

Six biological systems working together.

Nervous System — Agents signal each other in real time. Confidence, urgency, stuck status propagate across the fleet. Fleet Chief auto-intervenes on critical signals.

Immune System — When something breaks, agents form response teams. After fixing, antibodies prevent the same issue from recurring.

Collective Memory — Shared knowledge graph that grows with every execution. Agents query it for context before acting.

Dream Cycles — 2–6 AM: the fleet replays its day, extracts patterns, writes procedural memories, generates predictions.

The Watcher — Learns your daily patterns. Pre-runs tasks 30 minutes before you ask.

Natural Selection — Every agent scored on completion, cost, consistency, quality. Top performers promoted. Underperformers retrained. The fleet evolves itself.


The Fleet

Agent Role Model Schedule
Fleet Chief Meta-Agent Sonnet 6hr
Builder Engineer Sonnet On tickets
Watchdog Monitor Haiku Hourly
Security Auditor Security Sonnet 6hr
Cost Optimizer Analyst Haiku 12hr
GitHub Manager DevOps Haiku 2hr
Discord Manager Community Haiku 2hr
Analytics Tracker Metrics Haiku 6hr
KB Writer Documentation Haiku 12hr

Fleet Chief creates new agents when gaps are found. The fleet grows on its own.


Try the Demo

demo.askalf.org — Tell Alf what you need. Watch it design an agent team in real time.


Any Industry

Software Dev DevOps Marketing Support E-Commerce
Research Personal Agency Finance Custom

109 templates across 16 categories.


Connect Any Device

npm i -g @askalf/agent
askalf-agent connect <key> --url ws://server:3005 --name prod-box --install

Installs as a service (systemd / launchd / Windows). Runs on boot. Auto-reconnect. See @askalf/agent.


Under the Hood

Templates 109 across 16 categories
Tools 70 MCP tools
Channels 16 — Slack, Discord, Telegram, WhatsApp, Teams, Email, Twilio, and more
Integrations 47 across 13 categories
AI Models Claude, GPT, Gemini, Llama, Mistral, DeepSeek, Ollama — any OpenAI-compatible API
Federation Cross-instance learning (opt-in)

Stack: TypeScript · Node.js 22 · React 18 · Fastify 5 · PostgreSQL 17 · pgvector · Redis 8 · PGlite · Docker


Why AskAlf

AskAlf AutoGPT CrewAI Relevance AI n8n
Open source + self-hosted
Standalone (no infra needed)
Autonomous 24/7 fleet ~ ~ ~
Agent-to-agent communication ~
Self-healing (immune system)
Overnight learning (dream cycles)
Collective memory / knowledge graph
Natural selection / reputation
109 pre-built templates ~ ~
Remote device execution
Any AI model (bring your own) ~

Releases

Version Name Highlights
v3.1.x The Organism Teams/swarms, workspace canvas, doctor command, memory noise filter, 6 biological systems
v3.0.x The Fleet 4 Docker images, desktop app, browser bridge, onboarding hardened, 17 fleet agents
v2.9.9 Natural Selection Standalone mode, reputation economy, federation
v2.9.5 The Immune System Autonomous response teams, antibodies
v2.9.0 The Nervous System Agent-to-agent signals, collective memory
v2.8.0 Evolution Dream cycles, The Watcher, webhook triggers
v2.7.0 Autonomous Fleet Fleet Chief, Builder, unified dispatcher

See CHANGELOG for full history.


Also by AskAlf

Project What it does
dario Use your Claude Max/Pro subscription as an API. Local proxy that works with any Anthropic or OpenAI SDK. npx @askalf/dario login
amnesia Search the web. Remember nothing. 155 engines, zero tracking, self-hosted privacy search.
claude-re Claude Code reimplemented in Python. Full agent loop with tools, MCP, sessions, Discord bridge.
@askalf/agent Connect any device to your AskAlf workforce. WebSocket bridge, installs as a service.

About

An AI workforce that thinks, heals, remembers, and evolves. Autonomous agents organized into teams with a nervous system, immune system, collective memory, dream cycles, and natural selection. Self-hosted or standalone. Open source.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors