neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
Sample code that explores an architecture for using language models to build a personal agent that can work with application agents.
翻譯準備中
開發工具TypeScript · JavaScriptGitHub @microsoft自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗NOTE: For the Python port see microsoft/typeagent-py.
TypeAgent is sample code that explores an architecture for building a single personal agent with natural language interfaces leveraging current advances in LLM technology.
The goal of the TypeAgent team is to explore how to get work done by safely and efficiently combining stochastic systems like language models with traditional software components. Three principles have emerged during this investigation. They are listed below along with examples of how the principles apply to actions, memory and plans.
We are trying to create human-like memory with super-human precision and recall for agent conversations. We are using a new indexing and query processing approach called Structured RAG as the basis for agent memory. Structured RAG does substantially better than Classic RAG at answering questions about past conversations such as "what were the books we talked about?" and "what step were we on in building the photo montage?"
We are trying to build a single personal agent that can apply to any application. To apply agent interfaces to all applications, we need to map user requests to actions at much lower cost and latency than current systems. To make this possible, we have created a system that can distill language models into logical systems that can handle most user requests.
Actions and memories flow together. Actions like "add to my calendar pickle ball game 2-3pm on Friday" yield memories that can become parameters of future actions like "put in an hour of recovery time after my pickle ball game." We are working on an architecture, AMP, that enables this natural information flow by integrating actions, memories, and plans
We are applying AMP to the web by creating a browser that enables web sites to register actions through a JavaScript interface.
TypeAgent Shell example is the starting point to explore the single personal agent with natural language interfaces we have built so far. It is an Electron application for interacting with multiple registered agents using a single unified user interface. TypeAgent Shell includes:
Follow these step-by-step instructions to quickly setup tools and environments from scratch to build, run, explore, and develop.
For more detailed setup instructions, see the README.md in the TypeScript code directory
Explores applying structured prompting and LLM to route user requests to agents whose typed contract best matches user intent. Main component of the personal agent.
Explores how to implement agent memory using the ideas of Structured RAG.
Explores how LLM with structured prompting can be used to cache action translation, minimizing the need to go the LLM.
Storage, registration, chat, memory and other state maintained by examples is typically stored locally in your user folder on your development machine. State is typically saved as ordinary text or JSON files in sub-folders below your user folder.
Example agents that use the Microsoft Graph or similar external services may store state in those services.
Code in this repo does not collect telemetry by default.
TypeAgent is early stage sample code. TypeAgent is not a framework. All code in this repo is intended for building examples (apps, agents, and dispatcher hosts) only.
This repo contains the personal agent and example application agents, along with internal packages used to build them. TypeAgent uses structured prompting with LLM technique for many of the components, to build a set of application agents that take actions. Agents define actions using TypeChat schemas.
TypeAgent Shell's functionality can be extended by installing/registering additional agents. For developers who are interested in experimenting adding action dispatch for their own scenarios, they can create a custom agents that plugs into the TypeAgent Shell example to explore using the dispatcher to route actions to their custom agents. The Echo agent tutorial is a starting point to create a plugin agent, and TypeAgent SDK provides the interface definitions between dispatcher and the agent.
For developers who want to modify TypeAgent or contribute to our repo.
Microsoft TypeAgent Repo is a mono-repo, with components organized with the following root folders based on language used.
ts TypeScript code (Readme)python Python code (Readme)dotnet Dotnet (C#) code (Readme)android Android (Kotlin/Java) code (Readme)See more information about working with the repo here.
Application agents with natural language interfaces integrated with TypeAgent Shell and TypeAgent CLI
If you have any questions about our project, you can post them in our Q&A discussion section.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.