Skip to content

Commit 8807d06

Browse files
adding agents
1 parent 174c375 commit 8807d06

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Agents.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Agent Guidelines
2+
3+
This document provides guidelines and useful information for AI agents contributing to the Pioreactor codebase.
4+
5+
## Search and navigation
6+
7+
- **Always use `rg`** for searching and grepping instead of `grep` or `ls -R`. It is much faster and respects `.gitignore`.
8+
- **Ignore** the `migration_scripts/` and `update_scripts/` directories when searching.
9+
- **Use `pytest`** to run the test suite.
10+
- The Pioreactor CLI is invoked via `pio`. For example:
11+
```bash
12+
pio run stirring
13+
```
14+
Some `pio` commands are available without a webserver running (hosted on the "leader"); these can be ignored.
15+
16+
## Important filesystem locations
17+
18+
Below is a list of important filesystem locations and files in the Pioreactor project:
19+
20+
### Storage
21+
22+
- `.pioreactor/storage/` holds the main database, backups, and persistent caches.
23+
- `/tmp/pioreactor_cache/` holds temporary caches (cleared between reboots).
24+
25+
### Configuration
26+
27+
- `config.dev.ini` contains development configuration parameters.
28+
29+
### Plugins
30+
31+
- `.pioreactor/plugins/` is where Python plugin files can be added.
32+
33+
### Experiment profiles
34+
35+
- `.pioreactor/experiment_profiles/` stores experiment profiles in YAML format.
36+
37+
### Calibrations
38+
39+
- `.pioreactor/storage/calibrations/` stores calibration data.

0 commit comments

Comments
 (0)