HUB
Sign inSign up
openarch-agent logo

angelborroy/openarch-agent

By angelborroy

•Updated 5 days ago

One Docker Agent, many users: answers only from the Hyland OpenArch documents each user may read.

Agent
Machine learning & AI
Content management system
0

211

angelborroy/openarch-agent repository overview

⁠One agent, two users

A Docker Agent that answers questions from documents in Hyland OpenArch. Run it as two users and ask the same question: each user gets a different answer, because Hyland OpenArch returns only the documents that the user may read. The permissions come from the server, not from the prompt.

  • The model runs on your machine with Docker Model Runner: no cloud model and no API key.
  • The agent searches through openarch mcp, the MCP server of the CLI for OpenArch.
  • It has four read-only tools and logs in as the user in OPENARCH_CONTEXT. The tools take no user, URL or password, so the agent cannot search as anyone else.

Not an official Hyland product: an AlfrescoLabs project that Hyland does not officially support.

⁠Quick start

You need Docker Desktop with Docker Model Runner (host TCP on), Docker Agent and the CLI for OpenArch⁠. Plan for about 25 GB of free memory.

docker desktop enable model-runner --tcp 12434
docker model pull ai/mxbai-embed-large
docker model pull glm-4.7-flash:31B

openarch init --dir oa-agent --context-name agent --port 18089 --non-interactive
openarch demo users --dir oa-agent
openarch up --dir oa-agent
openarch demo load --dir oa-agent --embeddings

OPENARCH_CONTEXT=agent-alice docker agent run angelborroy/openarch-agent --exec \
  "How much is the pay for each job level?"
OPENARCH_CONTEXT=agent-bob docker agent run angelborroy/openarch-agent --exec \
  "How much is the pay for each job level?"

alice may read the HR folder, so her answer names "Salary bands 2026". bob may not, so his answer does not. Delete the demo with openarch clean --dir oa-agent --yes.

⁠Source

Agent file, test script and full guide: https://github.com/AlfrescoLabs/openarch-cli/tree/main/examples/docker-agent/two-users⁠

Questions: the Hyland OpenArch group on Hyland Community, https://community.hyland.com/group/26-hyland-openarch⁠

License: Apache-2.0.

Tag summary

Content type

Agent

Digest

sha256:668bcb117…

Size

1.1 kB

Last updated

5 days ago

docker agent run angelborroy/openarch-agent