コンテンツへスキップ
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 はまた、起動後2分以内およびその後3時間ごとに update.pentagi.com をチェックして新しいビルドの有無を確認し、リクエストとともにインストールの概要を送信します。Update check には、その内容と無効化する方法が記載されています。

サービス

グループサービス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には、Kali Linuxなどflowの目的に合わせて選択されたイメージからビルドされた、独自のsandboxコンテナが用意されます。

コンテナ

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トークンアクセスをサポートします。
  • Vector store — pgvectorを搭載したPostgreSQLが、すべてのコマンド、出力、エンベディングを保持します。
  • Agents — 作業の計画と実行を行うマルチエージェントシステムです。詳細はAgentsをご覧ください。
  • Sandbox — ホストから隔離されたtool用コンテナです。本番環境では、これらを別のworker nodeに配置することも可能です。

最終更新日