Skip to content
Agentmart
Submit a tool

AGENTS.md · liquidos-ai/AutoAgents

AGENTS.md from liquidos-ai/AutoAgents: 70 lines covering Project Structure & Module Organization, Code Quality, Build, Test, and Development Commands, Testing…

Template by liquidos-ai

IndexedApache-2.0★ 765
Write a review

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/liquidos-ai/AutoAgents/main/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that liquidos-ai/AutoAgents (765 stars) keeps for coding agents. It has 70 lines in 8 sections: Project Structure & Module Organization; Code Quality; Build, Test, and Development Commands; Testing Guidelines; Commit & Pull Request Guidelines; Security & Configuration Tips; Agent-Specific Notes; Python Bindings. Use it as a model for your own project's instructions.

Use cases: agent-orchestration, code-generation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
70 lines
File
AGENTS.md

Sections

  1. Project Structure & Module Organization
  2. Code Quality
  3. Build, Test, and Development Commands
  4. Testing Guidelines
  5. Commit & Pull Request Guidelines
  6. Security & Configuration Tips
  7. Agent-Specific Notes
  8. Python Bindings

First lines (shown under the repo's Apache-2.0 license)

# AutoAgents Repository Guidelines

## Project Structure & Module Organization
- Workspace layout: `crates/*` (core libraries), `examples/*` (runnable crates), `docs/` (documentation), `assets/` (images), `demo_models/` (sample models).
- Key crates: `autoagents` (entry), `autoagents-core`, `autoagents-llm`, `autoagents-derive`, `autoagents-toolkit`. 
- Tests live alongside code (`mod tests`) and as integration tests under each crate’s `tests/`.

## Code Quality
- Code should be production ready and modular
- Should not implement half baked work or TODO.
- The code whould be fully functional

### Naming conventions
- `snake_case` for functions, variables, modules.
- `CamelCase` for types, traits, enums.
- `SCREAMING_SNAKE_CASE` for constants.
- Use descriptive, domain-focused names; avoid abbreviations.

### Error handling
- Propagate errors with `?` and define meaningful error types.
- Add context to errors when it helps debugging.
- Avoid panics in library code; in binaries, panic only for truly fatal states.

### Logging and diagnostics
- Use structured logging when a logging crate is introduced.
- Do not print with `println!` in library code; reserve for examples or CLI output.


## Build, Test, and Development Commands
- Build workspace: `cargo build --workspace --features full`
- Lint: `cargo clippy --all-features --all-targets -- -D warnings`
- Format: `cargo fmt --all`
- Test fast (CI-like): `cargo test --workspace --features default --exclude autoagents-burn --exclude autoagents-mistral-rs --exclude wasm_agent`
- Docs: `cargo doc --all-features --no-deps`
- Run examples: `cargo run -p basic-example` or `cargo run -p coding_agent`
- Git hooks: install once with `lefthook install`; run locally via `lefthook run pre-commit`

## Testing Guidelines
- Use Rust’s built-in test harness; async tests with `#[tokio::test]` where needed.
- Place integration tests in `crates/<name>/tests/` with descriptive `snake_case` filenames.
- Coverage (optional): `cargo install cargo-tarpaulin && cargo tarpaulin --all-features --out html`.

## Commit & Pull Request Guidelines
- Commit style follows existing history: `[FEATURE]`, `[BUG]`, `[MAINT]`, `[TASK]` + concise subject. Example: `[FEATURE]: Add MCP Support (#79)`.
- PRs must include: clear description, linked issues, tests for new behavior, updated docs/examples where relevant, and passing hooks (fmt, clippy, tests).

## Security & Configuration Tips
- Never commit secrets. Configure providers via env vars (examples): `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GROQ_API_KEY`, `AZURE_OPENAI_API_KEY`.
- Example run with key: `OPENAI_API_KEY=... cargo run -p basic-example`.
- Use provider-specific feature flags only where required; keep defaults minimal.

## Agent-Specific Notes
- Reusable tools belong in `autoagents-toolkit`; project-specific tools can live within examples or crate-local modules.
- Derive macros: `#[agent]`, `#[tool]`, `#[derive(AgentOutput, ToolInput)]` are preferred for consistency and type safety.

## Python Bindings
Python bindings are available as a thin wrapper around the rust crates to give ability for users to quickly prototype agents. The python bindings must be simple and clean. It must not complicate and add additional stuff which is not required.

```sh
uv venv --python=3.12
source .venv/bin/activate          # Windows: .venv\Scripts\activate
uv pip install -U pip maturin==1.13.3 pytest pytest-asyncio pytest-cov

# Clean, build, and install all CPU bindings into the active venv
make python-bindings-build

# Clean, build, and install CPU + CUDA bindings
make python-bindings-build-cuda
```

Signals

Stars
765
Forks
91
Open issues
27
Last commit (this folder)
Jun 23, 2026 (4 months ago)
Last release
Jul 8, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

AGENTS.md · liquidos-ai/AutoAgents. Agent Mart. https://agentmart.dev/templates/liquidos-ai-autoagents-agents-md (last updated 2026-10-24)