AI Skill Hub 推荐使用:智能代理 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
智能代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
智能代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install agent-oss
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install agent-oss
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/quarqlabs/agent-oss
cd agent-oss
pip install -e .
# 验证安装
python -c "import agent_oss; print('安装成功')"
# 命令行使用
agent-oss --help
# 基本用法
agent-oss input_file -o output_file
# Python 代码中调用
import agent_oss
# 示例
result = agent_oss.process("input")
print(result)
# agent-oss 配置文件示例(config.yml) app: name: "agent-oss" debug: false log_level: "INFO" # 运行时指定配置文件 agent-oss --config config.yml # 或通过环境变量配置 export AGENT_OSS_API_KEY="your-key" export AGENT_OSS_OUTPUT_DIR="./output"
local_memory/<AGENT_ID>/.IndexFlatIP cosine-style similarity.deep mode for aggregation, timelines, broad categories, and recommendations; stricter standard mode for point facts.Create a virtual environment:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Create .env:
OPENAI_API_KEY=your_api_key
USER_ID=local_user
AGENT_ID=local_agent
LOCAL_MEMORY_ROOT=local_memory
Run the terminal agent:
python agent.py
Run the API server:
uvicorn main:app --reload
Call the API:
curl -X POST http://127.0.0.1:8000/api/chat \
-H "Content-Type: application/json" \
-d '{"prompt": "What do you remember about me?", "channel_type": "web"}'
For faster iteration on prompt and retrieval changes, use the sample runner:
python run_dataset_evals_sample.py
It reuses the parallel evaluator, selects a deterministic sample, writes a manifest of sampled questions, keeps per-worker checkpoints, and merges results into a sample-specific report. Useful environment variables:
EVAL_SAMPLE_NAME=prompt_regression
EVAL_SAMPLE_SIZE=60
EVAL_SAMPLE_SOURCE_LIMIT=500
EVAL_SAMPLE_SEED=test6
EVAL_SAMPLE_QUESTION_IDS=<comma-separated ids>
EVAL_SAMPLE_FRESH=1
EVAL_WORKERS=20
To monitor live results across both the main and worker result files:
python monitor_results.py
Current local report files:
reports/longmemeval_results.json
reports/longmemeval_results.worker*.json
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | yes | Used for generation, retrieval planning, learning, and embeddings. |
AGENT_ID | no | Selects the local memory namespace. Defaults to local_agent. |
USER_ID | API only | Required by main.py for the FastAPI worker. |
LOCAL_MEMORY_ROOT | no | Root folder for local memory. Defaults to local_memory. |
AGENT_NAME | no | Runtime persona name. |
AGENT_PERSONALITY | no | Runtime tone/personality. |
AGENT_USE_CASES | no | Comma-separated use-case description. |
AGENT_CUSTOM_PROMPT | no | Extra custom behavior instructions. |
Quarq does not simply embed the latest user prompt and hope for the best.
The retrieval node first asks a lightweight model to produce a structured search plan:
{
"vector_queries": [
"User total driving duration and travel history",
"User vehicle, road trip, transit records",
"User travel milestones, driving time calculation",
"hours, road trip, destinations"
],
"keywords": "driving, hours, total",
"search_mode": "deep"
}
Then it performs:
Search modes:
standard: strict retrieval for point facts, threshold 0.38deep: wide recall for totals, timelines, histories, recommendations, and broad categories, threshold 0.28This is why Quarq can answer questions that require multiple memories rather than only nearest-neighbor recall.
After every normal response, Quarq starts background learning.
Benchmark memory-ingestion prompts are the exception. They are learned synchronously before the ingestion response returns, so run_dataset_evals.py does not feed the next history chunk until the previous chunk has been learned and committed.
The learning model extracts:
It can issue:
{
"actions": [
{"action": "ADD", "content": "New memory"},
{"action": "UPDATE", "id": "uuid", "content": "Updated memory"},
{"action": "DELETE", "id": "uuid"}
]
}
Important learning behaviors:
ADD, UPDATE, and DELETE actions in RAM between pairsBackground learning is protected by:
Local memory. Hybrid retrieval. Self-correcting reasoning. Benchmark-grade recall.
Quarq Agent is a memory-first AI agent built by QuarqLabs for long-context personal intelligence, grounded recall, temporal reasoning, quantitative reasoning, and tool use.
It is designed as an open, inspectable alternative to memory agents such as Hermes or OpenClaw, with a stronger emphasis on durable local memory, strict attribution, self-correcting retrieval, and benchmark-grade long-term recall.
The current local implementation keeps normal semantic, episodic, and procedural learning in agent.py. Deterministic structured-artifact extractor code exists in the repo, but it is disabled in the active learning path while benchmark memory quality is being tuned.
Local LongMemEval-S reports are checkpoints while learning and generation behavior is being validated. Treat checked-in report files as local progress snapshots, not final published benchmark numbers.
Benchmark cost warning: a full 500-question LongMemEval-S run with the current model mix has cost about $2,500 in practice, or about $5 per average question. Run a 1-question or small-sample benchmark first before starting the full dataset.
高质量的开源AI工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,智能代理 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | agent-oss |
| 原始描述 | 开源AI工作流:A recursive evidence-gated cognitive runtime for memory-native AI agents, combin。⭐195 · Python |
| Topics | AI工作流Python |
| GitHub | https://github.com/quarqlabs/agent-oss |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-02 · 更新时间:2026-06-02 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端