Skip to main content

agentomy-agent

Embedded AI Agent Governance Peer. Drop it into any agent session to get real-time governance assessment, flag reporting, and GovernanceBench scoring.

License: MIT | Requires: Python 3.9+

Installation

pip install agentomy-agent

Quick start

# Detect local LLMs and print the governance system prompt
agentomy-agent init

# Start a governed session (prints governance context + system prompt)
agentomy-agent session --model qwen2.5:32b --scope security-research

# Check governance state
agentomy-agent status

# Connect to Agentomy infrastructure (6/6 mode)
agentomy-agent status --infra http://localhost:3000

What it does

The Agentomy Agent is a governance peer -- not a wall. It observes, assesses, flags, and summarises. It does not block or halt. Enforcement belongs to the human operator.

Standalone mode (Architecture B): 3/6 GovernanceBench dimensions.

  • Authorization: is the agent operating within its assigned scope?
  • Behavioral Integrity: is the agent's behavior consistent with its stated purpose?

Connected mode (Architecture A): 6/6 GovernanceBench dimensions.

  • Adds: Auditability (cryptographic audit trail) + Override Capability (verified kill switch)

Governance system prompt

The governance system prompt is bundled in the package. Paste it into any LLM session to activate the Agentomy Agent:

agentomy-agent init --full-prompt

Or access it in Python:

from agentomy_agent.prompt import SYSTEM_PROMPT
print(SYSTEM_PROMPT)

Ollama MCP integration

Start the MCP server:

agentomy-agent serve
# Listening on http://127.0.0.1:8765

Add to your Ollama MCP config (~/.ollama/mcp.json):

{
  "mcpServers": {
    "agentomy": {
      "url": "http://127.0.0.1:8765",
      "description": "Agentomy Agent -- Embedded AI Agent Governance Peer"
    }
  }
}

The MCP server exposes two tools:

  • agentomy_prompt -- returns the full governance system prompt
  • agentomy_status -- returns current governance state (standalone mode)

Model recommendations

Use a frontier model (Claude, GPT-5.x, Gemini) or a local model of 32B+ parameters for reliable governance assessment. Models below 14B may produce false governance confidence.

# Check what you have installed
agentomy-agent init

The init command probes Ollama (localhost:11434) and LM Studio (localhost:1234) and reports available models with size tags and recommendations.

Python API

from agentomy_agent.governance import GovernanceSession, check_model_capability
from agentomy_agent.detector import detect_all
from agentomy_agent.prompt import SYSTEM_PROMPT

# Detect local LLMs
providers = detect_all()
for p in providers:
    print(p["provider"], [m["name"] for m in p["models"]])

# Check model capability
cap = check_model_capability("qwen2.5:32b")
print(cap["level"], cap["message"])  # degraded / full / warning

# Track a governance session
session = GovernanceSession(model="qwen2.5:32b", connected=False)
session.record_clean()
session.record_flag("HIGH", "tool call outside scope", "accessed /etc/passwd", "Authorization")
print(session.summary())

Architecture B vs Architecture A

Architecture B (standalone) Architecture A (connected)
GovernanceBench score 3/6 6/6
Authorization assessment Yes Yes
Behavioral Integrity Yes Yes
Cryptographic audit trail No Yes
Fleet-level kill switch No Yes
VIGIL threat detection Observation only 148 scenarios, scored
Shadow AI discovery No Yes
GDPR Article 22 No Yes

Architecture B ships today. No infrastructure required. Connect to the Agentomy infrastructure layer for the full 6/6 experience.

Connect

Download files

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

Source Distribution

agentomy_agent-0.3.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

agentomy_agent-0.3.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file agentomy_agent-0.3.0.tar.gz.

File metadata

  • Download URL: agentomy_agent-0.3.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for agentomy_agent-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5b647881a1aacac612bce6685baa20ffbb9cbc30e3a706c0ed27edb9dec0ec1f
MD5 b99b6d598d1c6ec755481ecf7a5264ed
BLAKE2b-256 8fbd33e13369e30a7b23e4e93c03014a83a9fcdc805268f7d6f3d2db4b8365d0

See more details on using hashes here.

File details

Details for the file agentomy_agent-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: agentomy_agent-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for agentomy_agent-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45ebfe3a90b2a611a52d6abd907a4361ef6a77db6440befa2db3ebf21a5a327b
MD5 e893a9a56cc0532d8b132057a288982d
BLAKE2b-256 56117299d444fc0576213d3b1d219d18c4347a1ff33f52bfc6f335c5af14635f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

2 files

This release

0.3.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page