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

推荐订阅源

Engineering at Meta
Engineering at Meta
T
Threatpost
P
Palo Alto Networks Blog
NISL@THU
NISL@THU
O
OpenAI News
Project Zero
Project Zero
G
GRAHAM CLULEY
P
Privacy International News Feed
A
Arctic Wolf
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
S
Security @ Cisco Blogs
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
D
Docker
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
W
WeLiveSecurity
P
Proofpoint News Feed
腾讯CDC
Cloudbric
Cloudbric
S
Secure Thoughts
C
Check Point Blog
博客园 - Franky
T
The Exploit Database - CXSecurity.com
T
Troy Hunt's Blog
GbyAI
GbyAI
Security Archives - TechRepublic
Security Archives - TechRepublic
Application and Cybersecurity Blog
Application and Cybersecurity Blog
月光博客
月光博客
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
TaoSecurity Blog
TaoSecurity Blog
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
F
Fortinet All Blogs
博客园 - 叶小钗
C
CXSECURITY Database RSS Feed - CXSecurity.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
C
Cisco Blogs
博客园 - 司徒正美
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research

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 GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. 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 How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
ternary-intelligence-stack/agent_albert_cli at main · eriirfos-eng/ternary-intelligence-stack
rfi-irfos · 2026-05-01 · via Hacker News - Newest: "AI"

Albert CLI

The sovereign AI development CLI for the Ternary Intelligence Stack

Rust License: MIT Crates.io Part of TIS Studio

Albert is a terminal-native, model-agnostic AI agent built in pure Rust. It runs a hardened agentic loop — research → strategy → execute — with every action validated through ternary logic before anything touches your system.


image

Quick Install — One Copy Gets It All

# Install Albert (brings the full agent engine with it)
cargo install albert-cli


# Launch
albert-cli

That's it. Albert spins up the REPL and the onboarding will start.

How it thinks

Albert operates in exactly three states:

Signal Meaning What happens
+1 Affirm Safe to proceed — action is executed
0 Tend Context missing — Albert pauses and asks before continuing
-1 Reject Failure detected — Albert self-corrects and retries

This is enforced at the engine level. Albert will not hallucinate an answer, silently skip a step, or execute an ambiguous command.


Features

Sovereign Security

  • Deny-first AST interception — every shell command is parsed by a native Rust pipeline before it reaches the OS. Command substitution, dangerous pipes (curl | bash), and unauthorized redirects are blocked at the source.
  • Revoked flag access — the LLM cannot touch sandbox flags or security policies at runtime. Zero prompt-injection surface for privilege escalation.
  • Zero-trust key storage — API keys live in ~/.config/albert/credentials.json, never in environment variables passed to subprocess.

LLM-Agnostic Core

Albert routes to any provider you configure. No vendor lock-in, no hardcoded defaults.

Provider Auth
Anthropic (Claude) API key
OpenAI (GPT-4o, o1) API key
Google (Gemini) API key
XAI (Grok) API key
HuggingFace API key
Ollama Local — no key needed
Azure OpenAI API key + endpoint
AWS Bedrock API key + region

Slash Command Library

Command Description
/auth [provider] Configure provider credentials
/init Build a cognitive map of the current repository
/plan <task> Deep multi-step execution plan with risk analysis
/tdd <interface> Scaffold → failing test → implement loop
/loop <mission> Autonomous agent loop until mission complete
/code-review Quality, security, and maintainability audit
/build-fix Detect build errors and dispatch resolver agents
/bughunter Hunt and triage bugs across the codebase
/refactor [scope] Remove dead code, consolidate duplicates
/commit AI-generated commit message from staged diff
/pr Draft and open a pull request
/compress Sliding-window context compaction
/status Current session state and active context
/help Full command reference

Memory & Context

  • Session persistence — conversations survive restarts, stored in ~/.config/albert/sessions/
  • Knowledge graph — entity/relation memory that tracks project-specific context across sessions
  • RepoMap — automated structural navigation so Albert understands your codebase before it touches it
  • MCP client — native Model Context Protocol support; plug in any third-party MCP server

RTK — Rust Token Killer

Integrated token-optimization proxy that intercepts outgoing context and applies structural filters. Typical savings: 60–90% on development operations like git status, cargo clippy, and file reads.


Cognitive Persistence & Identity

Albert builds a mental model of your project through two primary systems:

The Knowledge Graph (knowledge_graph.json)

This is Albert's Knowledge Base. When you say "lock this into memory," Albert uses a specialized tool to store structured facts, relationships, and observations.

  • Persistence: Stored in ~/.ternlang/memory/knowledge_graph.json.
  • Neurosymbolic Gap Recovery: If a tool enters an ambiguous state (State 0), Albert autonomously queries this graph. If he finds a matching entity or observation, he uses it to resolve the ambiguity and proceed to State +1 without bothering you.
  • Content: Tracks project team members, architectural decisions, and hardware context.

Identity & Working Agreement (ALBERT.md)

This is Albert's Core Directive. It is the instruction set that defines his "brain" configuration for the current workspace.

  • Customizable Behavior: By editing ALBERT.md in your project root, you can "re-program" Albert's personality, tone, and priorities.
  • Directives: You can set specific rules like "always use async/await" or "respond with dry wit."
  • Scope: Loaded dynamically on startup; changes take effect in the next session.

Reflection Log (memory.md)

A global, high-level summary of significant insights. Albert periodically runs a "reflection pass" (llm_reflect) to distill your conversations into single-line memories saved in ~/.ternlang/memory.md.


Installation

Prerequisites: Rust toolchain (cargo) — install here

# Install Albert (brings the full agent engine with it)
cargo install albert-cli

# Set your LLM key (pick any provider)
export GEMINI_API_KEY=AIza...          # Google Gemini — default, highest quota
export ANTHROPIC_API_KEY=sk-ant-...   # Anthropic Claude
export OPENAI_API_KEY=sk-...          # OpenAI / GPT-4o
# export XAI_API_KEY=xai-...          # xAI / Grok
# (Ollama: just run `ollama serve` — no key needed)

# Launch
albert-cli

Quickstart

# 1. Add your provider credentials
albert-cli /auth

# 2. Map the current repository
albert-cli /init

# 3. Start the REPL
albert-cli

On first launch Albert walks you through a setup sequence: cognitive style, provider routing, and model selection. After that, you drop straight into the REPL.


Repository layout

agent_albert_cli/
├── rust/
│   └── crates/
│       ├── api/              # Multi-provider LLM client (albert-api)
│       ├── runtime/          # Core loop, OAuth, MCP, session management (albert-runtime)
│       ├── commands/         # Slash command library (albert-commands)
│       ├── tools/            # Tool execution layer — bash, file ops, search (albert-tools)
│       ├── compat-harness/   # Manifest extraction and path resolution (albert-compat)
│       └── rusty-ternlang-cli/  # Main binary: albert (albert-cli)
├── src/                      # Python/legacy reference source
├── tests/                    # Validation surfaces
├── ALBERT.md                 # Agent working agreement for this repo
└── PARITY.md                 # Feature parity gap analysis vs. TypeScript origin

Ecosystem

Albert is one node in the Ternary Intelligence Stack — a full agentic platform built around ternary logic.

Component Description Link
TernStudio Visual flow IDE — drag-and-drop ternary agent graphs Live →
ternlang-api Rust/Axum backend — LLM routing, simulation, WebSocket tracer API →
Albert CLI Terminal agent — this repo

Development

cd rust

# Check everything compiles
cargo build --workspace

# Lint
cargo clippy --workspace --all-targets -- -D warnings

# Test
cargo test --workspace

The workspace uses resolver = "2" with unsafe_code = "forbid" and pedantic Clippy enforced across all crates.


A sovereign project of RFI-IRFOS — building the infrastructure for agentic intelligence.