Skip to content
@agent-formation

Agent Formation

Open format for declarative AI agent systems

Agent Formation

Open standard for declarative AI agent systems.

Define your agents, tools, and multi-agent orchestration in portable AFS files. Run them on any compliant runtime.


Why Agent Formation?

AI agent configurations are fragmented. Every framework has its own format, locking you into a specific runtime. Agent Formation changes that:

  • Write once - Declarative schemas for agents, MCP tools, and A2A services
  • Run anywhere - Portable across any compliant runtime
  • Validate consistently - Standard tooling for linting and validation
  • Extend safely - Namespaced extensions for vendor-specific features

Think of it as infrastructure-as-code for AI agents.


The Formation Schema

A Formation is a complete AI agent system defined in AFS (or YAML):

# formation.afs
schema: "1.0.0"
id: my-formation
description: Customer support system

llm:
  models:
    - text: openai/gpt-4o

agents:
  - id: support-agent
    role: Customer Support
    tools: [knowledge-base, ticketing]

mcp:
  - id: knowledge-base
    command: npx @company/kb-server

Agents, tools, memory, knowledge, workflows - all declared, all portable.

File Extensions: Use .afs (Agent Formation Schema) or .yaml - both are fully supported.


Projects

Repository Description
afs-spec Core schemas, specs, and templates
afs-cli Validator, linter, and formatter tool
afs-vscode VS Code extension
afs-assets Logos, icons, badges, and brand guidelines

Get Started

# Clone the formation templates
git clone https://github.com/agent-formation/afs-spec.git
cp -r afs-spec/schemas my-project
cd my-project

# Customize and deploy with any compliant runtime

Implementations

  • MUXI - Reference implementation

Building a runtime? We'd love to list it. Open an issue or PR.


Contributing

Agent Formation is developed in the open. We welcome contributions to schemas, specs, tooling, and documentation.


License

Apache License 2.0


Portable agents. Open standard. Community driven.

Pinned Loading

  1. afs-spec afs-spec Public

    Open standard for declarative AI agent systems. Define once, run anywhere

    Python 3

  2. afs-cli afs-cli Public

    Tooling for validating, linting, and formatting Agent Formation files

  3. afs-vscode afs-vscode Public

    VS Code extension for Agent Formation files: syntax highlighting, validation, linting, and IntelliSense

    JavaScript

  4. afs-assets afs-assets Public

    Official logos, icons, badges, and brand guidelines for Agent Formation.

    1

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…