neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
The open-source brain for personal AI agents. One agent for every user of your app, with memory, schedules, tools and approvals, on a hyperscale serverless architecture where idle agents cost only sto
翻譯準備中
開發工具TypeScript · JavaScriptGitHub @AgentForEach自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
The open-source brain for personal AI agents. One agent for every user of your app, with memory, schedules, tools and approvals, on a hyperscale serverless architecture where idle agents cost only storage.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
An agent for every user. On your cloud.
Give every user an agent that remembers them, follows up while they're away and uses tools on their behalf. You build the experience. AgentForEach supplies the memory, schedules, approvals and private workspaces. Run the shared platform on Azure, Cloudflare or AWS , with state and work scoped to each user.
Memory → an approval → a reminder → remembered context. Recorded on a deployed Azure stack using the web chat sample .檢視完整 README ↗Next: local development without an Azure account, a starter app you can rebrand, and a Google Cloud pack. Roadmap
One shared runtime. An agent for every user. Your choice of cloud. The gateway, agent loop, workflows and client use six platform contracts; Azure, Cloudflare and AWS implement them with their own services.
Open the full diagram · Cloud services and capabilities
A tenant here is a canonical userId. Users share compute and infrastructure; the runtime carries the authenticated owner's identity through their work:
Deploy one cloud pack in your account. Model providers are configured independently of the hosting cloud, and backend capabilities differ. Azure · Cloudflare · AWS, preview · Security model
The Azure implementation uses Functions, Durable Functions, Cosmos DB or PostgreSQL, Web PubSub and Container Apps. The other packs fill the same roles with the services shown above.
Architecture details · Sessions · Approvals
An agent is a user's state and work, with compute allocated when needed. You don't provision an always-on brain process for every user. Independent users can run on different instances; a conversation keeps its own lease.
Cloud quotas, the database and your configuration set capacity. The scaling guide explains the limits; cloud packs map the same runtime to Cloudflare and AWS.
Measured on Azure: 1,000 users arriving over three minutes completed 3,000/3,000 turns, with about 0.1 s p50 to accept a message. In a separate GPT-5.6 Luna run, 120 users completed 4,799/4,800 turns at about $2 of model cost per 1,000 turns. Method and raw results
Validated on AWS: application, durable jobs, sandbox, S3, realtime and browser contracts on a fresh deployment, with targeted resilience checks. This is functional validation, not an AWS load benchmark. Validation record
On the Azure cost model, the platform is estimated at about 1–2¢ per user a month, plus model tokens, and an inactive user's 3 MB of storage at about $0.0008 a month.
These are estimates with documented assumptions and a script for your own numbers. The comparison uses the smallest VM per user. Cloudflare and AWS have different pricing and minimum infrastructure costs; see the Cloudflare and AWS deployment guides.
You bring the interface, brand, sign-in, agent personality and skills. AgentForEach supplies the runtime and keeps each user's state separate. Azure, Cloudflare and AWS implement the same six platform contracts. The expandable illustration shows an Azure deployment.
It runs in your cloud account, using the model providers you configure. For one person's own agent, there is single-user mode.
Give it a personality. Configure shared defaults; profiles and memories hold what the agent learns about each user. Dynamic prompts can also let each user's agent update its own documents (Configuration):
// Excerpt from gateway/config/agentforeach.json
"templates": {
"IDENTITY": { "name": "Tara", "emoji": "📚", "role": "Study coach", "vibe": "Patient and encouraging" },
"SOUL": { "coreTruths": ["Find out what the student already knows before explaining anything."] }
}
Teach it a skill. A Markdown file describes the tool and the user's connection. The platform handles host-bound credentials; sandbox injection capabilities depend on the cloud (Skills, Sandboxes):
---
id: courses
name: Courses
description: Look up the student's courses, grades and deadlines
category: education
credentials: [{"key":"LMS_TOKEN","label":"Your LMS token","hosts":["lms.example.com"],"header":"Authorization","format":"Bearer {value}"}]
---
Call `https://lms.example.com/api/me/courses` with `Authorization: Bearer $LMS_TOKEN`.
Connect your app. Send a message as the signed-in user. Background work owns the turn, so the HTTP request can return immediately:
const response = await fetch(`${API}/api/chat`, {
method: "POST",
headers: { authorization: `Bearer ${token}`, "content-type": "application/json" },
body: JSON.stringify({ message: "Remind me to revise chapter 3 at 7pm" }),
});
const { runId, sessionId } = await response.json(); // 202 Accepted
The portable realtime client streams events on all three clouds. Follow the turn with GET /api/chat/runs/{runId}; the web chat sample shows chat, approvals, reconnects and browser handoffs together.
Capabilities such as sandbox credential injection vary by backend. Platforms and Sandboxes describe those differences.
| A machine per user | An agent framework | AgentForEach | |
|---|---|---|---|
| Built for | One person's own agent | Writing agent logic | Running an agent for every user |
| An idle user costs | A machine that stays on | Up to your hosting | User storage, plus shared cloud infrastructure |
| Memory, schedules and sandboxes | For the one owner | You build them | Built in, scoped to each user |
| Channels and identity linking | The owner's own accounts | You build them | Web, apps, Telegram and WhatsApp, with pairing |
| Deployment | A fleet you operate | Infrastructure you design | Shared runtime and a cloud pack |
More detailed comparisons: Cloudflare Agents, Letta, LangGraph, Mastra and the OpenAI Agents SDK.
Choose where to run it. Your agent code and client API stay the same.
| Cloud | Runs on | Start here |
|---|---|---|
| Azure | Functions, Cosmos DB or PostgreSQL, Web PubSub and Container Apps | ./scripts/quickstart.sh · Guide |
| Cloudflare | Workers, Durable Objects, PostgreSQL through Hyperdrive, R2 and Containers | ./scripts/quickstart-cloudflare.sh · Guide |
| AWS · preview | Lambda, Lambda durable functions, PostgreSQL, S3, AppSync Events and AgentCore | Guided deployment · Live validation |
Fastest way to try the Azure sample: open Codespaces, then run the quickstart. It asks for an Azure sign-in and an OpenAI API key, creates a trial stack and prints a login for the web chat.
./scripts/quickstart.sh
The Azure and Cloudflare quickstarts use test sign-in. The cloud guides cover prerequisites, real authentication and teardown. Getting started also covers local setup and Azure OpenAI.
Preview. Tested on real deployments and covered by 2,100+ tests on Node 22 and 24. Production experience is still limited; check the cloud capabilities and security model for your deployment.
You need Node 22, Azure Functions Core Tools 4 (4.15.2 or newer), the Azure CLI, Pulumi, and an Azure subscription where you can assign roles (Owner, or Contributor plus User Access Administrator): the stack grants its own identities access to storage, Key Vault and Cosmos DB.
1. Create the Azure resources
npm ci && az login
cd infra && pulumi stack init dev
pulumi config set azure-native:location eastus
pulumi config set agentforeach:nameSuffix $(openssl rand -hex 3)
pulumi config set --secret agentforeach:openaiApiKey sk-...
pulumi up && cd ..
2. Choose how your users sign in. Set auth.providers in gateway/config/agentforeach.json: App Service authentication, JWT, API keys or a trusted proxy. A fresh stack trusts no one, so every API call returns 401 until you do. The web chat sample sends a bearer token, so use JWT to try it (a test token in two steps); API keys suit server-to-server calls.
3. Deploy the gateway. The config file ships with the code, so run this again whenever you change it:
./scripts/deploy-gateway.sh dev
4. Say hi. Open the web chat sample with your Function App URL and a token from the provider you chose.
Try a deployment, show what you're building, or tell us where you got stuck. Deployment reports, reproducible bugs and focused fixes are especially useful while the project is in preview.
Created by Mohit Garg · Updates
Apache-2.0. Copyright 2026 Mohit Garg and AgentForEach contributors. Third-party notices are in NOTICE.
AgentForEach and the AgentForEach logo are trademarks of Mohit Garg. The license covers the code, not the name or logo (Apache-2.0, section 6): a fork or a product built on AgentForEach needs its own name.