neuro-san-studio
AGENTS.md1.1k starsChanged 16 months agoApache-2.0View on GitHub
Rules for coding agents in Neuro-san-studio. Neuro SAN Studio is a multi-agent orchestration framework built on the neuro-san library. Agent networks are defined declaratively in HOCON files under registries/. Custom Python tools live in coded_tools/. - Check the toolbox before writing Python. toolbox_info.hocon already provides web search, RAG, code execution, Gmail, Jira and more. - Every network sets max_steps and max_execution_seconds; never leave them unbounded. Older networks that lack them are not precedent. - No secrets in HOCON: use the…
- Reads credentials
Trending
Quiet since September.about the whole repository
Who's talking about cognizant-ai-lab/neuro-san-studio
- A Hacker News story“Cognizant Open-Sources Neuro AI Multi-Agent Accelerator”Hacker News · May 22, 2025 · 3 points
- cognizant-ai-lab/neuro-san“Expand the MCP server URL definition”GitHub · May 31, 2026 · 1 reactions
- cognizant-ai-lab/neuro-san-ui“#259 Disable all next-auth functionality when authentication is off”GitHub · May 15, 2026 · 1 reactions
- cognizant-ai-lab/build-common“Add test-os matrix input to quality gate”GitHub · Sep 30, 2026
- cognizant-ai-lab/neuro-san“Run the CI unit tests with Python 3.12, 3.13 and 3.14”GitHub · Sep 3, 2026
The biggest 5 of 31 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 31
Talked about on GitHub and Hacker News (31 times).
On GitHub · 30
- May 31, 2026Expand the MCP server URL definition — cognizant-ai-lab/neuro-san1 reaction
- May 15, 2026#259 Disable all next-auth functionality when authentication is off — cognizant-ai-lab/neuro-san-ui1 reaction
- Sep 30, 2026Add test-os matrix input to quality gate — cognizant-ai-lab/build-common0 reactions · 1 comment
- Sep 3, 2026Run the CI unit tests with Python 3.12, 3.13 and 3.14 — cognizant-ai-lab/neuro-san0 reactions · 1 comment
- Sep 3, 2026Run the CI unit tests with Python 3.12, 3.13 and 3.14 — cognizant-ai-lab/leaf-common0 reactions
25 more on GitHub
- Jun 16, 2026NS-1059 sly_data_schema merging with global basis for BYOK — cognizant-ai-lab/neuro-san0 reactions · 1 comment
- May 31, 2026Catch type error when cannot find external agents — cognizant-ai-lab/neuro-san0 reactions
- May 31, 2026Catch HOCON parsing error when reading MCP info file — cognizant-ai-lab/neuro-san0 reactions
- May 28, 2026Fix front-man detection to include coded tool down-chains — cognizant-ai-lab/neuro-san0 reactions · 1 comment
- May 21, 2026Allow for stop_on_error to return early from CompositeDictionaryValidator — cognizant-ai-lab/neuro-san0 reactions
- May 13, 2026Upgrade `openai` dependency to 2.x — cognizant-ai-lab/neuro-san0 reactions · 1 comment
- May 7, 2026#773 Refactor documentation, clean up — cognizant-ai-lab/neuro-san-ui0 reactions
- Apr 20, 2026Add Metadata — Abhishek007-pixel/DARC-Project0 reactions · 1 comment
- Apr 16, 2026Graph not showing until the very end — cognizant-ai-lab/nsflow0 reactions
- Apr 11, 2026Fix agent instruction and description — kaushik-cognizant/neuro-san-mcp-examples0 reactions
- Mar 26, 2026Remove ChatPromptTemplate — cognizant-ai-lab/neuro-san0 reactions
- Mar 23, 2026Upgrade leaf-common to 1.2.37 — cognizant-ai-lab/neuro-san0 reactions
- Mar 17, 2026Summarization Middleware — cognizant-ai-lab/neuro-san0 reactions
- Feb 13, 2026Drop support for gRPC — cognizant-ai-lab/nsflow0 reactions
- Feb 12, 2026ApiKeyErrorCheck: return exception if key fails — cognizant-ai-lab/neuro-san0 reactions · 2 comments
- Feb 3, 2026Tweak manifest doc to inform about server-startup warnings about agents not being served. — cognizant-ai-lab/neuro-san0 reactions
- Dec 28, 2025Integration Tests - Logic Issue: Instruction Compliance vs. Test Assertions — cognizant-ai-lab/neuro-san0 reactions
- Dec 23, 2025Audio fixes and enhancements — cognizant-ai-lab/nsflow0 reactions · 5 comments
- Dec 18, 2025Upgrade langchain-openai to a minimum of 1.0.0 to match langchain and langchain-core — cognizant-ai-lab/neuro-san0 reactions
- Dec 15, 2025Use llm_config.hocon in place of llm_config field — cognizant-ai-lab/neuro-san0 reactions
- Nov 15, 2025`AbstractClassActivation` should keep looking up for a class — cognizant-ai-lab/neuro-san0 reactions
- Oct 20, 2025Allow file uploads (PDF, image etc) — cognizant-ai-lab/neuro-san-ui0 reactions · 1 comment
- Oct 16, 2025Update run.py to make Ctrl+C work on Windows — cognizant-ai-lab/neuro-san-cc0 reactions
- Oct 9, 2025418 Validate agent hocon. Skip files that fail validation. — cognizant-ai-lab/neuro-san0 reactions
- Sep 16, 2025Agent Network Designer UI — cognizant-ai-lab/nsflow0 reactions
On Hacker News · 1
- May 22, 2025Cognizant Open-Sources Neuro AI Multi-Agent Accelerator3 points · 1 comment
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- name-analyticsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Check the toolbox before writing Python.
- Very specific: line 13
Every network sets max_steps and max_execution_seconds.
- Very specific: line 15
No secrets in HOCON: use the environment or .env.
- Very specific: line 16
Add optional dependencies in coded_tools/<group>/<agent_network>/requirements.txt, and keep the network disabled by default in the manifest.
- Very specific: line 19
Keep the diff focused: no unrequested refactors and no reformatting of untouched files.
- Distinctive: line 27
Verify every link in the documents you touch to check for broken links.
- Distinctive: line 28
Use US spelling for English words.
- Distinctive: line 33
Keep things simple, to the point, readable, maintainable and individually testable.
- Distinctive: line 39
Use type hints on all parameters and return values, and annotate variable assignments when the type isn't obvious from the right-hand side.
- Very specific: line 42
Use snake_case for functions, methods, variables, parameters and attributes, PascalCase for classes, and UPPER_CASE for constants.
- Very specific: line 48
Use async_invoke in a CodedTool, since invoke() blocks the event loop, and wrap blocking I/O in asyncio.to_thread().
- Distinctive: line 52
Never fail silently. Report a missing or unreadable file, malformed input or an unknown choice with the full exception, and log enough to …
- Very specific: line 54
Prefer logging over print, with lazy % formatting (logger.info("Loaded %s", name)) rather than f-strings.
- Distinctive: line 55
Keep messages easy to interpret.
- Very specific: line 56
Use accessors, not internals.
- Very specific: line 61
Use long-form flags (--force, not -f)
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.
Files
AGENTS.md
Rules for coding agents in Neuro-san-studio.
Neuro SAN Studio is a multi-agent orchestration framework built on the
neuro-san library.
Agent networks are defined declaratively in HOCON files under registries/.
Custom Python tools live in coded_tools/.
1. Contribution rules
- Check the toolbox before writing Python. toolbox_info.hocon already provides web search, RAG, code execution, Gmail, Jira and more.
- Every network sets
max_stepsandmax_execution_seconds; never leave them unbounded. Older networks that lack them are not precedent. - No secrets in HOCON: use the environment or
.env. Never log or printsly_data. - Add optional dependencies in
coded_tools/<group>/<agent_network>/requirements.txt, and keep the network disabled by default in the manifest. - Review any internet-sourced agent skill before use; a
SKILL.mdcan reference untrusted tools. - Keep the diff focused: no unrequested refactors and no reformatting of untouched files. Review it before creating a
PR and remove debug prints, commented-out code, stray
TODOs and files touched by accident. - Documentation ships in the same PR. A curated example (
basic/,industry/,tools/) requiresmetadata, documentation asdocs/examples/<group>/<agent_network>.md, a line and a TOC entry in examples.md, and a registered fixture. A feature updates its own reference document instead: toolbox.md, plugins.md, search_tools.md, or user_guide.md → Middleware. A network ingenerated/is git-ignored and personal. Verify every link in the documents you touch to check for broken links. - Use US spelling for English words.
2. Coding style
- Clean Code Standards: follow Robert C. Martin’s (Uncle Bob) Clean Code and The Clean Coder recommendations
- Keep things simple, to the point, readable, maintainable and individually testable.
- Line length: 119 characters, both for .py and .md files.
2.1 Python
- Use Python 3.12+ syntax.
- Use type hints on all parameters and return values, and annotate variable assignments when the type isn't obvious from the right-hand side.
- Imports: ES-style single-line imports, sorted by isort (
force-single-line = true). - Use
snake_casefor functions, methods, variables, parameters and attributes,PascalCasefor classes, andUPPER_CASEfor constants. Comment the reason if an external API forcescamelCase. - Linting: ruff (format + isort + pycodestyle + pyflakes) then pylint. Config in
pyproject.toml. - Everything lives in a class. No standalone helpers, including in tests.
main()is a static method, and no nesteddefs without a comment stating why. Data-only classes carry no policy methods. One class per file, named after it. - Use
async_invokein aCodedTool, sinceinvoke()blocks the event loop, and wrap blocking I/O inasyncio.to_thread(). - Dictionary access uses
.get(), neverdict[key]. - Catch specific exceptions that can be handled at that level; never a generalized
Exception. - Never fail silently. Report a missing or unreadable file, malformed input or an unknown choice with the full exception, and log enough to act on.
- Prefer logging over
print, with lazy%formatting (logger.info("Loaded %s", name)) rather than f-strings. Keep messages easy to interpret. - Use accessors, not internals. Do not read another class's attributes and do not
isinstanceagainst a concrete class; check the interface, or add an interface method that answers the question. - Comment the non-obvious: which
_methods are overrides, threading and lifecycle behavior, design decisions, and a breadcrumb to related code or documentation. Order lifecycle methods logically,start()beforestop(). - Docstrings required on classes and functions/methods.
- Use long-form flags (
--force, not-f) - Cover new behavior with a test: a unit test for a coded tool, an integration fixture for a network.
2.2 Markdown
- Markdown: linted with pymarkdown (config
.pymarkdownlint.yaml). Scan coversdocs/andREADME.md.
3. Framework behavior
- The Front Man must be an LLM agent, never a coded or toolbox tool.
- Network-level
tools(agent definitions) is not an agent'stools(down-chain agents it may call). function.descriptionstates what an agent does, so other agents know when to call it, whileinstructionsstate how. Do not mix them.sly_datareaches external or other-network agents only under an explicitallowpolicy, and its schemas are Front-Man-only by default.- Short-form
classresolves viaAGENT_TOOL_PATH(defaultcoded_tools/) plus the network's path, sobasic/my_network.hoconwith"class": "order_lookup.OrderLookup"loadscoded_tools/basic/my_network/order_lookup.py. Fully qualify anything underneuro_san_studio/coded_tools/. - A subfolder prefixes the runtime name, so
"generated/my_network.hocon"is addressed asgenerated/my_network. Use the prefixed name inns chatand in test fixtures. - In a manifest,
serveloads the network,publiclists it in/list, andmcpexposes it as an MCP tool. Paths resolve relative toregistries/.
4. Build & test commands
- Main commands are in the Makefile. Run them from the repo root, with the venv activated:
make lint # Format (ruff) then lint (ruff + pylint + pymarkdown)
make test # Lint + run pytest (unit tests only, excludes integration)
python -m pytest tests/path/to/test_file.py -v # Run a single test file
python -m pytest -s -m "integration_basic" # Run integration tests for a specific marker
make test-integration # Run integration tests (needs API keys + server env vars)
python -m neuro_san_studio validate registries/path/to/agent_network.hocon # Validate an agent network's HOCON file
python -m neuro_san_studio run # Start the full app (server + UI)Notes:
make lintscans only./docsand./README.mdfor Markdown. Any other.md, this file included, needspymarkdown --config ./.pymarkdownlint.yaml scan <path>run by hand.
5. Opening a PR
Details in CONTRIBUTING.md.
- Branch as
feature/short-name,fix/short-nameordocs/short-name, and never commit tomain. - A commit is a one-line summary, prefixed with the issue number like '#123: Add retry handling to order lookup coded tool'.
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
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.

