跳到主要内容
PentAGI
概念

架构

PentAGI 运行的服务、它们之间的通信方式以及可选组件。

PentAGI 由一组 Docker 服务组成。核心技术栈足以运行 flows;knowledge graph 和可观测性技术栈为可选附加组件。

系统上下文

System context of PentAGI with its users, targets, LLM providers, search engines, monitoring and the update server

HTTPS

monitors

monitors

tests

queries

searches

reports

reports

checks for updates

Security engineer

PentAGI

Langfuse

Grafana

Target systems

LLM providers

Search engines

update.pentagi.com

PentAGI 还会在启动后两分钟内以及之后每三小时检查 update.pentagi.com 以获取更新的构建版本,并在请求中发送安装摘要;更新检查 列出了其中包含的内容以及如何关闭它。

服务

分组服务Compose 文件
核心pentagi(包含 REST 和 GraphQL 的 Go 后端、React UI)、pgvector(带 pgvector 的 PostgreSQL)、pgexporter(PostgreSQL 指标)、scraper(隔离浏览器)docker-compose.yml
Knowledge graphgraphiti、neo4jdocker-compose-graphiti.yml
LLM 可观测性langfuse-web、langfuse-worker、clickhouse、redis、minio、postgresdocker-compose-langfuse.yml
系统可观测性grafana、otel、victoriametrics、jaeger、clickstore、loki、node-exporter、cadvisordocker-compose-observability.yml

Tools 绝不会在 pentagi 容器本身内部运行:每个 flow 都会获得其专属的 sandbox 容器,该容器基于为 flow 的目标所选定的镜像(如 Kali Linux)构建。

容器

Containers of the core stack and the optional knowledge graph

Knowledge graph

Core

HTTP/WS

telemetry

LLM traces

Web UI

Backend API

PostgreSQL + pgvector

Agents

Sandboxed tools

Isolated browser

Graphiti

Neo4j

OpenTelemetry

Langfuse

  • 后端 API — Go 语言实现,提供 REST 和 GraphQL 接口,并支持 Bearer Token 访问以实现自动化。
  • Vector store — 带 pgvector 的 PostgreSQL,用于保存每条命令、输出和嵌入向量。
  • Agents — 负责规划与执行工作的多智能体系统;请参阅 Agents。
  • Sandbox — 与宿主机隔离的 tool 容器;在生产环境中,它们可以部署在独立的 worker node 上。

最后更新于