agentleFS
LiteLLM-LabsLiteLLM-Labs/litellm-agent-control-plane/skills/skill.md

skills

Skill1.3k starsChanged 6 months agoMITView on GitHub

Use this checklist when adding a new managed-agent runtime provider. - Keep the public surface Anthropic-shaped: beta().agents().create, beta().environments().create, beta().sessions().create, beta().sessions().events().send, and beta().sessions().events().stream. - Prefix LAP-only fields with lap_. - Use lap_provider_options only for gateway-owned provider-specific fields that cannot be represented by the Anthropic-shaped contract. - Do not add database, vault, or idempotency logic to the SDK. - Use ManagedSessionRef when gateway code needs to register DB-loaded local session ids with provider ids. - Mock provider create/send/stream endpoints. - Assert exact…

28 other projects use a version of this.

Trending

Steady talk.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the LiteLLM-Labs/litellm-agent-control-plane repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Distinctive:

    Use this checklist when adding a new managed-agent runtime provider.

    line 3
  2. Very specific:

    Add SDK protocol mapping under src/sdk/agents/.

    line 7
  3. Very specific:

    Add or update the gateway provider adapter under src/managed_agents/providers/.

    line 8
  4. Very specific:

    Add runtime credentials and runtime ids under src/managed_agents/providers/base.rs and src/http/agent_runtimes.rs.

    line 9
  5. Very specific:

    Add contract tests in tests/managed_agents_sdk.rs.

    line 10
  6. Very specific:

    Add gateway tests in tests/managed_agents_support/flows.rs when HTTP routes are involved.

    line 11
  7. Very specific:

    Keep the public surface Anthropic-shaped: beta().agents().create, beta().environments().create, beta().sessions().create, …

    line 15
  8. Very specific:

    Use lap_provider_options only for gateway-owned provider-specific fields that cannot be represented by the Anthropic-shaped contract.

    line 20
  9. Distinctive:

    Do not add database, vault, or idempotency logic to the SDK.

    line 22
  10. Very specific:

    Use ManagedSessionRef when gateway code needs to register DB-loaded local session ids with provider ids.

    line 23
  11. Distinctive:

    Keep provider auth isolated to SDK request construction.

    line 29
  12. Very specific:

    Do not leak provider-specific event names from events().stream.

    line 31
  13. Distinctive:

    Add ignored live tests only when they require real provider credentials, and keep real keys out of source and logs.

    line 40

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “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
skill.md

Writing Managed-Agent Provider Integrations

Use this checklist when adding a new managed-agent runtime provider.

Files

  • Add SDK protocol mapping under src/sdk/agents/.
  • Add or update the gateway provider adapter under src/managed_agents/providers/.
  • Add runtime credentials and runtime ids under src/managed_agents/providers/base.rs and src/http/agent_runtimes.rs.
  • Add contract tests in tests/managed_agents_sdk.rs.
  • Add gateway tests in tests/managed_agents_support/flows.rs when HTTP routes are involved.

SDK Contract

  • Keep the public surface Anthropic-shaped: beta().agents().create, beta().environments().create, beta().sessions().create, beta().sessions().events().send, and beta().sessions().events().stream.
  • Prefix LAP-only fields with lap_.
  • Use lap_provider_options only for gateway-owned provider-specific fields that cannot be represented by the Anthropic-shaped contract.
  • Do not add database, vault, or idempotency logic to the SDK.
  • Use ManagedSessionRef when gateway code needs to register DB-loaded local session ids with provider ids.

Provider Mapping

  • Translate request bodies in provider-specific helpers.
  • Keep provider auth isolated to SDK request construction.
  • Normalize provider streams before exposing public SDK events.
  • Do not leak provider-specific event names from events().stream.
  • Store provider session/run ids in gateway DB rows, not in SDK state alone.

Tests

  • Mock provider create/send/stream endpoints.
  • Assert exact translated request bodies and auth headers.
  • Assert normalized event payloads, not only event type names.
  • Cover DB-loaded gateway sessions if the provider is exposed through HTTP.
  • Add ignored live tests only when they require real provider credentials, and keep real keys out of source and logs.

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.