{"id":47709125,"url":"https://github.com/askalf/askalf","last_synced_at":"2026-04-06T16:04:11.157Z","repository":{"id":344696733,"uuid":"1164208915","full_name":"askalf/askalf","owner":"askalf","description":"The first self-healing AI workforce. Autonomous agents with a nervous system, immune system, and collective memory. Self-hosted or standalone (npx create-askalf). Open source.","archived":false,"fork":false,"pushed_at":"2026-04-03T01:49:35.000Z","size":20585,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T04:45:01.780Z","etag":null,"topics":["agent-framework","ai","ai-agents","ai-workforce","autonomous-agents","claude","collective-memory","docker","llm","mcp","multi-agent","nervous-system","ollama","open-source","self-healing","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"https://askalf.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/askalf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"askalf","custom":["https://askalf.org"]}},"created_at":"2026-02-22T19:52:02.000Z","updated_at":"2026-04-03T01:49:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/askalf/askalf","commit_stats":null,"previous_names":["sprayberrylabs/askalf","askalf/askalf"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/askalf/askalf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askalf%2Faskalf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askalf%2Faskalf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askalf%2Faskalf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askalf%2Faskalf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/askalf","download_url":"https://codeload.github.com/askalf/askalf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askalf%2Faskalf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31403952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-framework","ai","ai-agents","ai-workforce","autonomous-agents","claude","collective-memory","docker","llm","mcp","multi-agent","nervous-system","ollama","open-source","self-healing","self-hosted","typescript"],"created_at":"2026-04-02T18:21:23.410Z","updated_at":"2026-04-06T16:04:11.150Z","avatar_url":"https://github.com/askalf.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n# AskAlf\n\n### The First Self-Healing AI Workforce\n\nAutonomous agents with a nervous system, immune system, and collective memory. They communicate, heal, learn overnight, and evolve through natural selection.\n\n**Not a chatbot. An organism.**\n\n[![Version](https://img.shields.io/badge/v2.9.9-00ff88?style=flat-square\u0026label=version\u0026labelColor=020612)](https://github.com/askalf/askalf/releases)\n[![npm](https://img.shields.io/npm/v/@askalf/agent?style=flat-square\u0026color=00ff88\u0026label=agent\u0026labelColor=020612)](https://www.npmjs.com/package/@askalf/agent)\n[![License](https://img.shields.io/badge/MIT-00ff88?style=flat-square\u0026label=license\u0026labelColor=020612)](LICENSE)\n[![CI](https://img.shields.io/github/actions/workflow/status/askalf/askalf/ci.yml?style=flat-square\u0026label=CI\u0026labelColor=020612)](https://github.com/askalf/askalf/actions)\n[![Discord](https://img.shields.io/badge/Join-00ff88?style=flat-square\u0026label=discord\u0026labelColor=020612)](https://discord.gg/fENVZpdYcX)\n\n**[askalf.org](https://askalf.org)** · **[Demo](https://demo.askalf.org)** · **[Discord](https://discord.gg/fENVZpdYcX)** · **[@ask_alf](https://x.com/ask_alf)** · **[Changelog](CHANGELOG.md)**\n\n\u003cbr\u003e\n\n\u003cimg src=\"https://askalf.org/demo.gif\" alt=\"AskAlf — Tell it what you need, it builds the team\" width=\"100%\"\u003e\n\n\u003c/div\u003e\n\n---\n\n## Get Started\n\n### Standalone\n\n```bash\nnpx create-askalf\n```\n\nOne 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.\n\n### Docker (Production)\n\n```bash\ncurl -fsSL https://get.askalf.org | bash\n```\n\nFull stack: PostgreSQL + pgvector, Redis, Ollama, SearxNG. 6 core containers + 3 optional. Running at `localhost:3001` in 60 seconds.\n\n### Migrate: Standalone → Docker\n\nOutgrew standalone? One command to migrate — keeps your data, secrets, and config:\n\n```bash\nbash scripts/migrate-to-docker.sh\n```\n\nExports PGlite database, generates Docker `.env` with your existing secrets, imports data into PostgreSQL. Your standalone install stays untouched.\n\n---\n\n## Always Running\n\nPick any 8-hour window. This is what you'll find.\n\n```\n09:12 AM  Analytics    pulls weekly traffic report. Engagement up 23%.              $0.03\n09:45 AM  Support      resolves 4 tickets. Avg response time: 3 minutes.           $0.06\n10:30 AM  Writer       drafts blog post on Q1 results. 2,400 words.                $0.11\n11:15 AM  Watchdog     catches API latency spike. Creates ticket.\n11:17 AM  Builder      claims ticket, traces root cause, deploys fix.              $0.14\n01:20 PM  Social       schedules 6 posts across 3 platforms.                       $0.04\n02:00 PM  Researcher   competitive analysis complete. 3 opportunities flagged.     $0.18\n02:30 PM  Fleet Chief  Dream Cycle. Replays 31 executions. 4 patterns extracted.\n04:00 PM  Fleet Chief  Rewrites Support prompt — resolution quality up 12%.\n05:12 PM  Watchdog     All clear. 8 agents, 24 executions, 8 hours.               $0.71\n```\n\n---\n\n## The Organism\n\nSix biological systems working together.\n\n**Nervous System** — Agents signal each other in real time. Confidence, urgency, stuck status propagate across the fleet. Fleet Chief auto-intervenes on critical signals.\n\n**Immune System** — When something breaks, agents form response teams. After fixing, antibodies prevent the same issue from recurring.\n\n**Collective Memory** — Shared knowledge graph that grows with every execution. Agents query it for context before acting.\n\n**Dream Cycles** — 2–6 AM: the fleet replays its day, extracts patterns, writes procedural memories, generates predictions.\n\n**The Watcher** — Learns your daily patterns. Pre-runs tasks 30 minutes before you ask.\n\n**Natural Selection** — Every agent scored on completion, cost, consistency, quality. Top performers promoted. Underperformers retrained. The fleet evolves itself.\n\n---\n\n## The Fleet\n\n| Agent | Role | Model | Schedule |\n|-------|------|-------|----------|\n| Fleet Chief | Meta-Agent | Sonnet | 6hr |\n| Builder | Engineer | Sonnet | On tickets |\n| Watchdog | Monitor | Haiku | Hourly |\n| Security Auditor | Security | Sonnet | 6hr |\n| Cost Optimizer | Analyst | Haiku | 12hr |\n| GitHub Manager | DevOps | Haiku | 2hr |\n| Discord Manager | Community | Haiku | 2hr |\n| Analytics Tracker | Metrics | Haiku | 6hr |\n| KB Writer | Documentation | Haiku | 12hr |\n\nFleet Chief creates new agents when gaps are found. The fleet grows on its own.\n\n---\n\n## Try the Demo\n\n**[demo.askalf.org](https://demo.askalf.org)** — Tell Alf what you need. Watch it design an agent team in real time.\n\n---\n\n## Any Industry\n\n| | | | | |\n|---|---|---|---|---|\n| Software Dev | DevOps | Marketing | Support | E-Commerce |\n| Research | Personal | Agency | Finance | Custom |\n\n109 templates across 16 categories.\n\n---\n\n## Connect Any Device\n\n```bash\nnpm i -g @askalf/agent\naskalf-agent connect \u003ckey\u003e --url ws://server:3005 --name prod-box --install\n```\n\nInstalls as a service (systemd / launchd / Windows). Runs on boot. Auto-reconnect. See [@askalf/agent](https://www.npmjs.com/package/@askalf/agent).\n\n---\n\n## Under the Hood\n\n| | |\n|---|---|\n| **Templates** | 109 across 16 categories |\n| **Tools** | 70 MCP tools |\n| **Channels** | 16 — Slack, Discord, Telegram, WhatsApp, Teams, Email, Twilio, and more |\n| **Integrations** | 47 across 13 categories |\n| **AI Models** | Claude, GPT, Gemini, Llama, Mistral, DeepSeek, Ollama — any OpenAI-compatible API |\n| **Federation** | Cross-instance learning (opt-in) |\n\n**Stack:** TypeScript · Node.js 22 · React 18 · Fastify 5 · PostgreSQL 17 · pgvector · Redis 8 · PGlite · Docker\n\n---\n\n## Why AskAlf\n\n| | AskAlf | AutoGPT | CrewAI | Relevance AI | n8n |\n|---|:---:|:---:|:---:|:---:|:---:|\n| Open source + self-hosted | ✓ | ✓ | ✓ | ✗ | ✓ |\n| Standalone (no infra needed) | ✓ | ✗ | ✗ | ✗ | ✗ |\n| Autonomous 24/7 fleet | ✓ | ~ | ✗ | ~ | ~ |\n| Agent-to-agent communication | ✓ | ✗ | ~ | ✗ | ✗ |\n| Self-healing (immune system) | ✓ | ✗ | ✗ | ✗ | ✗ |\n| Overnight learning (dream cycles) | ✓ | ✗ | ✗ | ✗ | ✗ |\n| Collective memory / knowledge graph | ✓ | ✗ | ✗ | ✗ | ✗ |\n| Natural selection / reputation | ✓ | ✗ | ✗ | ✗ | ✗ |\n| 109 pre-built templates | ✓ | ✗ | ~ | ~ | ✓ |\n| Remote device execution | ✓ | ✗ | ✗ | ✗ | ✗ |\n| Any AI model (bring your own) | ✓ | ~ | ✓ | ✗ | ✓ |\n\n---\n\n## Releases\n\n| Version | Name | Highlights |\n|---------|------|-----------|\n| **v2.9.9** | Natural Selection | Standalone mode, reputation economy, federation |\n| **v2.9.5** | The Immune System | Self-healing response teams, antibodies |\n| **v2.9.0** | The Nervous System | Agent-to-agent signals, collective memory |\n| **v2.8.0** | Self-Evolving | Dream cycles, The Watcher, webhook triggers |\n| **v2.7.0** | Autonomous Fleet | Fleet Chief, Builder, unified dispatcher |\n\nSee [CHANGELOG](CHANGELOG.md) for full history.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**[askalf.org](https://askalf.org)** · **[Demo](https://demo.askalf.org)** · **[Discord](https://discord.gg/fENVZpdYcX)** · **[npm](https://www.npmjs.com/package/@askalf/agent)** · **[@ask_alf](https://x.com/ask_alf)**\n\nMIT — [askalf.org](https://askalf.org)\n\n\u003c/div\u003e\n","funding_links":["https://github.com/sponsors/askalf","https://askalf.org"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskalf%2Faskalf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faskalf%2Faskalf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskalf%2Faskalf/lists"}