agentleFS
AppleKnown publisherapple/servicetalk/AGENTS.md

servicetalk

AGENTS.md1k starsChanged 2 months agoApache-2.0View on GitHub

Guidance for AI coding agents working in the ServiceTalk repository. Humans should start with README.adoc and CONTRIBUTING.adoc. ServiceTalk is a JVM networking framework built on Netty, providing HTTP/1.1, HTTP/2, and gRPC clients and servers over an asynchronous Publisher/Single/ Completable core, with blocking and streaming programming models layered on top. It is a Gradle multi-project build of ~90 modules named servicetalk-<area>[-<impl>]: - servicetalk-<area>-api — public interfaces and types (e.g. http-api). - servicetalk-<area>-netty — the Netty-backed implementation (e.g. http-netty). - *-internal —…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 1 mentionApr 2026: 1 mentionMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 2 mentionsAug 2026: 3 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the apple/servicetalk repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about apple/servicetalk

The biggest 5 of 46 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 46

Talked about on GitHub and Hacker News (46 times).

On GitHub · 41

36 more on GitHub

The file

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

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When changing behavior, check whether the change belongs in the -api module (contract) or the -netty module (implementation).

    line 22
  2. Very specific:

    Run quality before you claim a change is finished.

    line 35
  3. Very specific:

    Use the current year for a new file.

    line 72
  4. Very specific:

    All tests live in src/test/java and end in Test.java.

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

AGENTS.md

Guidance for AI coding agents working in the ServiceTalk repository. Humans should start with README.adoc and CONTRIBUTING.adoc.

What this repo is

ServiceTalk is a JVM networking framework built on Netty, providing HTTP/1.1, HTTP/2, and gRPC clients and servers over an asynchronous Publisher/Single/ Completable core, with blocking and streaming programming models layered on top.

It is a Gradle multi-project build of ~90 modules named servicetalk-<area>[-<impl>]:

  • servicetalk-<area>-api — public interfaces and types (e.g. http-api).
  • servicetalk-<area>-netty — the Netty-backed implementation (e.g. http-netty).
  • *-internal — not part of the public API. Breaking changes are allowed.
  • servicetalk-examples — runnable sample applications, one Gradle subproject per example (servicetalk-examples:http:helloworld, and so on).

When changing behavior, check whether the change belongs in the -api module (contract) or the -netty module (implementation).

Build and verify

./gradlew build                  # compile, test, and run all quality gates
./gradlew test                   # tests only, all modules
./gradlew :servicetalk-http-api:test                     # one module
./gradlew :servicetalk-http-api:test --tests "io.servicetalk.http.api.HeaderUtilsTest"
./gradlew quality                # checkstyle, PMD, SpotBugs, javadoc, dependency analysis

Run quality before you claim a change is finished. It fails on things test does not catch.

Constraints that break the build

ConstraintWhere it is enforced
Java 8 bytecode by default, including test code (options.release = 8): no var, List.of, Map.of, text blocks, or other Java 9+ APIs. A minority of modules opt into a higher level — the jersey3-*, jersey4-* and *jakarta* variants, servicetalk-concurrent-jdkflow, and servicetalk-data-jackson3. Check the module's build.gradle for sourceCompatibility.servicetalk-gradle-plugin-internal/src/main/groovy/io/servicetalk/gradle/plugin/internal/ServiceTalkLibraryPlugin.groovy
Every new file needs the Apache 2.0 header (see below).Checkstyle RegexpHeader
Lines wrap at 120 characters.Checkstyle LineLength
Imports ordered: io.servicetalk → third-party → java.* → static, alphabetical within each group.Checkstyle CustomImportOrder
No System.out/System.err in src/main.Checkstyle ConsolePrint
Every package-info.java carries @ElementsAreNonnullByDefault.Checkstyle
An unused or undeclared dependency fails the build. Adding an import means adding the matching Gradle dependency.dependency-analysis plugin, root build.gradle

CI compiles and runs tests on JDK 8, 11, 17, 21, and 25.

License header for a new file

/*
 * Copyright © 2026 Apple Inc. and the ServiceTalk project authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

Use the current year for a new file. When editing an existing file, replace its years with a single range from its first year to the current year. In 2026, 2019 becomes 2019-2026, and 2018-2019, 2021 becomes 2018-2026.

Skills

Detailed, task-specific guidance lives in .agents/skills/. Read the relevant SKILL.md before you start that kind of task, not after something fails.

SkillRead it when
.agents/skills/servicetalk-testing/SKILL.mdAdding or changing any test, or diagnosing a failing or hanging test.
.agents/skills/servicetalk-commit-messages/SKILL.mdWriting a commit message, or a pull request title and description.

Some modules also carry their own AGENTS.md with guidance specific to that module. When one exists next to the code you are editing, it applies in addition to this file.

Testing

All tests live in src/test/java and end in Test.java. There is no separate integration-test source set, task, or tag — a test that binds a real socket sits beside one that does not.

Before you add or change any test, read .agents/skills/servicetalk-testing/SKILL.md. The conventions here are not the JUnit defaults, and guessing produces code that fails review.

Contributing

Before you write a commit message or a pull request description, read .agents/skills/servicetalk-commit-messages/SKILL.md. Pull requests are squash-merged, so the pull request description becomes the commit message.

CONTRIBUTING.adoc covers the project's communication standards. Follow it for anything you write for a human to read.

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.