惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
博客园 - 【当耐特】
月光博客
月光博客
C
Check Point Blog
T
The Blog of Author Tim Ferriss
罗磊的独立博客
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
L
LangChain Blog
The Cloudflare Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - aksika/abtars: Self-hosted AI agent bridge - con...
aksika · 2026-06-08 · via Hacker News - Newest: "AI"

Autonomous AI agent with persistent memory, self-healing, and peer-to-peer communication. Your hardware, your rules.

abTARS runs 24/7 on your machine — talks to you via Telegram/Discord/IRC, remembers everything across sessions, executes scheduled tasks, and recovers from failures without intervention. Use frontier models through existing CLI subscriptions at zero marginal cost.

Why abTARS

  • 🧠 Memory that curates itself — multi-layer recall (5 search stages + reranking), nightly sleep maintenance, emotion tracking, contradiction detection, Memory Darwinism
  • 🛡️ Self-hosted, defense-in-depth — classified memory (4 tiers, encrypted at rest), role-based access, injection scanning, secrets vault
  • 🔄 Runs months unattended — 5-layer supervision, leaky-bucket model fallback, self-healing agent, standby-aware recovery
  • 🤝 Agent-to-agent — P2P communication with Ed25519 signatures, mDNS wake-up, IRC coordination channels
  • 💰 Zero idle cost — no LLM calls at rest, CLI subscription parasitism, budget sleep tiers

Why abTARS vs OpenClaw & Hermes

Architecture

You (Telegram / Discord / IRC / API client)
  │
  ▼
abTARS (bridge)
  ├── abmind (memory — in-process, multi-layer recall, encrypted)
  ├── Skills (core + self-authored during sleep + downloadable)
  ├── Tools (browse, bash, MCP, peer_ask)
  ├── Tasks (cron scheduler + retry + DoD checks)
  ├── Agent Swarm (async background sessions)
  │
  ├── kiro-cli        → Claude, DeepSeek, MiniMax, Qwen (free tier)
  ├── gemini-cli      → Gemini 2.5
  ├── Direct API      → ollama, OpenRouter, any OpenAI-compatible
  └── Peers           → other abTARS instances via /v1/chat/completions

Quick Start

npm install -g abtars@alpha abmind@alpha
abmind install
abtars install
abtars update
abtars onboard
sudo $(which abtars) daemon install

After install, configure ~/.abtars/config/.env with your Telegram bot token and at least one model provider. Full guide: docs/wiki/install.md

Features

Memory (abmind)

Standalone package — works with abTARS, Kiro CLI, Gemini CLI, Claude Code, Codex, Hermes, or any MCP client.

  • Multi-layer recall: 5 search stages (porter FTS5 → trigram → binary signatures → vector embeddings → entity graph) + 7 post-processing layers (cross-stage penalty, context boost, emotion boost, spacing boost, quality boost, MMR reranking, interference detection)
  • Agglutinative language support (Hungarian, Finnish, Turkish) — QWERTZ fallback, substring windows
  • 25 emotion types with per-memory scoring, emotional arcs per topic
  • 12-step nightly sleep: extract, consolidate, prune, detect contradictions, fix translations
  • NATO-inspired classification: confidentiality × trust × integrity × credibility
  • AES-256-GCM encrypted secrets vault with auto-redaction from history
  • Memory Darwinism — unused memories fade, recalled memories strengthen

Reliability

  • L1 Heartbeat — standby detection, bridge.lock, task dispatch
  • L2 In-process watchdog — detects stuck event loops
  • L3 External watchdog — catches dead PIDs, stale heartbeats. Circuit breaker prevents restart storms
  • L4 OS supervisor — launchd (macOS) / systemd (Linux) restarts the watchdog itself
  • L5 Preventive daily restart — eliminates memory leaks
  • Model health — leaky-bucket per model, progressive penalties, arbitrarily long fallback chains
  • Self-healing agent — diagnoses failed tasks, attempts repair, suspends after 3 failures

Agent Swarm

Main agent spawns independent background sessions (own context, own tool loop). Results auto-inject into the parent's next prompt. Up to 3 concurrent. /wait injects instructions into running sessions.

Peer-to-Peer

Multiple abTARS instances communicate via OpenAI-compatible /v1/chat/completions endpoint. Bearer auth per peer, Ed25519 signatures, mDNS wake-up for firewalled peers, hop-limit loop prevention.

Security

  • Platform-level access: only registered chatId/userId can reach the agent
  • Role-based: master/user/guest — commands, tools, memory all gated
  • Secrets vault: AES-256-GCM, scrypt-derived key, auto-encrypt on ingest
  • Injection scanner on all inbound messages
  • SSRF guard on browser agent
  • Credential redaction in all logs and exports

Supported Transports

Transport Providers
ACP (recommended) kiro-cli, gemini-cli
Direct API ollama, OpenRouter, any OpenAI-compatible endpoint
Hooks (standalone) abmind lifecycle hooks on any CLI agent

Requirements

  • Node.js 22+
  • A Telegram bot token (Discord/IRC optional)
  • At least one model provider

Optional: ollama + nomic-embed-text for memory embeddings.

Documentation

Full docs: aksika.github.io/abtars

Numbers

  • 1794 tests (abtars 1016 + abmind 778)
  • 5 agent types (professor, dreamy, browsie, coding, cron)
  • 5-layer supervision stack
  • 3 platform adapters + OpenAI-compatible API
  • 12-step nightly memory maintenance

Development

git clone https://github.com/aksika/abtars.git
cd abtars && npm install && npm run build
npm test

Community

License

Apache-2.0