Skip to main content

sage-vida

Vida Agent — 24/7 持久化自主 Agent,SAGE 生态 L4 应用层包。

概述

Vida (Virtually Intelligent Daemon Agent) 是 SAGE 生态中负责 7×24 小时持续运行的自主 Agent 框架。整合三层记忆(工作/情节/语义)、周期性自我反思与多源触发管理。

层次关系

sage.vida (L4)
  └── sage.middleware (L3)  — VidaMemoryBridge 通过 sage.middleware.components.sage_mem
  └── isage-neuromem (L3)   — 三层记忆服务(可选,动态加载)
  └── sage.common (L1)

核心组件

组件 说明
VidaAgent 24/7 守护进程,统一编排事件循环、记忆联动与反思
VidaMemoryBridge 三层记忆接入(工作/情节/语义)
VidaReflectionEngine 周期性自我反思与语义记忆整合
TriggerManager 多源触发器管理(定时/Webhook/文件/自定义)

快速开始

pip install isage-vida
# 含记忆后端(需要 isage-neuromem)
pip install "isage-vida[neuromem]"
from sage.vida import VidaAgent, VidaMemoryBridge, VidaReflectionEngine

bridge = VidaMemoryBridge(config={"data_dir": "/tmp/vida"})
agent = VidaAgent(react_loop=my_loop, memory_bridge=bridge)

await agent.start()
result = await agent.ask("user1", "今天天气如何?")
print(result.answer)
await agent.shutdown()

开发环境

./quickstart.sh        # 安装 hooks + pip install -e .[dev]
./quickstart.sh --doctor

测试

pytest tests/ -v

注意:VidaMemoryBridge 相关测试需要 isage-neuromem 已安装,否则自动跳过。

许可证

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isage_vida-0.1.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isage_vida-0.1.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file isage_vida-0.1.0.tar.gz.

File metadata

  • Download URL: isage_vida-0.1.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for isage_vida-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a8773e904e13a0969bebddfe040c9927b1735fc7a505ec2ac17c7c10beef517
MD5 af5204c929bc4cd8d7d840c4db244bbf
BLAKE2b-256 67f443894a5b03fb307b7ba9e77c5fbadbfa5287d58d0034cd7969ca231e9930

See more details on using hashes here.

File details

Details for the file isage_vida-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: isage_vida-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for isage_vida-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd91e433cce2e4434db59916f745311d019a753591931acdb14b25616039b2d
MD5 faf1e7a7f608969d7be2c32f3ca724d5
BLAKE2b-256 c44260c8170c5775676cded9c7a54d819a6412c05dcb3b615c1f22a3d4b2f9f2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page