agentleFS
intersystems-communityintersystems-community/iris-agentic-dev/AGENTS.md

iris-agentic-dev

AGENTS.md49 starsChanged 24 days agoMITView on GitHub

MCP server that gives Claude Code tools for IRIS development — execute ObjectScript, query globals, inspect productions, run tests, search code, manage skills, and more. Written in Rust (2021 edition), two crates: iris-agentic-dev-core (tools + MCP server) and iris-agentic-dev-bin (CLI entry point). iris-dev-iris on port 52780. Verify it's running before any IRIS-dependent work: For integration/e2e tests always use --test-threads=1: IRIS is the only valid test object. - Always use a live IRIS container for tests. Never mock IRIS, mock the…

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always use a live IRIS container for tests: Never mock IRIS, mock the Atelier HTTP client, or stub IRIS responses in unit tests.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

iris-agentic-dev

MCP server that gives Claude Code tools for IRIS development — execute ObjectScript, query globals, inspect productions, run tests, search code, manage skills, and more.

Written in Rust (2021 edition), two crates: iris-agentic-dev-core (tools + MCP server) and iris-agentic-dev-bin (CLI entry point).

Local dev container

iris-dev-iris on port 52780. Verify it's running before any IRIS-dependent work:

docker ps --filter name=iris-dev-iris

Commands

cargo build                          # build
cargo clippy -- -D warnings          # lint (CI enforces clean)
cargo fmt --all                      # format (CI enforces clean)
cargo test                           # unit tests (no IRIS required)
cargo test -- --include-ignored      # full suite (requires live container)

For integration/e2e tests always use --test-threads=1:

cargo test --test '*' -- --test-threads=1 --include-ignored

Testing Philosophy — NON-NEGOTIABLE

IRIS is the only valid test object.

  • Always use a live IRIS container for tests. Never mock IRIS, mock the Atelier HTTP client, or stub IRIS responses in unit tests. Mocked IRIS tests lie — they pass when the real implementation is broken.
  • Coverage goals require --include-ignored against a live container. Unit tests covering pure logic (parsers, guards, gates) are fine, but anything that touches IRIS behaviour must run against real IRIS.
  • --test-threads=1 is required for all IRIS integration/e2e test runs to prevent env-var race conditions across test binaries.

Where to Look

WhatWhere
MCP tool implementationssrc/tools/ (one file per tool group)
CLI entry pointsrc/bin/iris-agentic-dev.rs
Connection + discoverysrc/connection/
Skill systemsrc/skills/ + skills/ (skill files)
Error codessrc/errors.rs
Integration teststests/ (require --include-ignored + container)

Ecosystem

iad is the MCP hub. These packages integrate with it:

PackageRoleIntegration pattern
iris-devtesterContainer lifecycleconnection_info().to_toml_snippet() → .iris-agentic-dev.toml
iris-vector-graphTemporal graph + Cypherpip install iris-vector-graph[ai] + ivg skills
iris-vector-rag-privateRAG pipelinepip install iris-vector-rag[ai] + ivr skills
iris-pgwirePostgreSQL wire protocolpip install iris-pgwire[ai] + iris-pgwire skill
iris-aiAI Hub SDK + strategyiris-ai skills/ covers full stack
iris-ai-examplesCareConnect + KG Ticket Resolver demosReference AGENTS.md for full-stack patterns
ai-hub-eapIRIS AI Hub EAP docs + ObjectScript SDKiris-ai-hub skill, NoPWS containers

For ecosystem integration patterns see docs/ecosystem-integration.md.

Docs

  • docs/connecting.md — connection config (toml file, env vars)
  • docs/tools.md — tool reference
  • docs/skills.md — skill system
  • docs/troubleshooting.md — common issues
  • docs/ecosystem-integration.md — how to integrate your package with iad

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.