Skip to content
Agentmart
Submit a tool

AGENTS.md · Eigenwise/atomic-agents

AGENTS.md from Eigenwise/atomic-agents: 418 lines covering What is this Repository?, Monorepo Structure, Package Details, Core Architecture and more.

Template by Eigenwise

IndexedMIT★ 6,304
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/Eigenwise/atomic-agents/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 Eigenwise/atomic-agents (6,302 stars) keeps for coding agents. It has 418 lines in 12 sections: What is this Repository?; Monorepo Structure; Package Details; Core Architecture; Technologies & Frameworks; Development Setup; Key Design Patterns; Version 2.0+ Features; Community & Resources; Quick Start; Philosophy Summary; Skill system (self-improving). Use it as a model for your own project's instructions.

Use cases: prompt-engineering

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
418 lines
File
AGENTS.md

Sections

  1. What is this Repository?
  2. Monorepo Structure
  3. Package Details
  4. Core Architecture
  5. Technologies & Frameworks
  6. Development Setup
  7. Key Design Patterns
  8. Version 2.0+ Features
  9. Community & Resources
  10. Quick Start
  11. Philosophy Summary
  12. Skill system (self-improving)

First lines (shown under the repo's MIT license)

# Atomic Agents Monorepo

## What is this Repository?

**atomic-monorepo** is the development repository for **Atomic Agents**, a lightweight and modular Python framework for building Agentic AI applications. The framework is built around the principle of **atomicity** - creating single-purpose, reusable, and composable components for AI pipelines.

### Core Philosophy

Atomic Agents bridges the gap between flexibility and reliability in production AI applications by providing:

- **Predictable AI Behavior**: Controlled, schema-driven agent construction vs. autonomous but unpredictable multi-agent systems
- **Modular Development**: Build AI applications using familiar software engineering principles (LEGO-like composability)
- **Type Safety**: Consistent input/output contracts through Pydantic schemas
- **Developer Control**: Full visibility and control over AI behavior with no hidden abstractions

Built on top of [Instructor](https://github.com/jxnl/instructor) (for structured LLM outputs) and [Pydantic](https://docs.pydantic.dev/) (for data validation).

---

## Monorepo Structure

This repository contains four main packages/projects:

```
atomic-monorepo/
├── atomic-agents/          # Core framework library (main package)
├── atomic-assembler/       # CLI tool for managing components
├── atomic-examples/        # Example projects and use cases
├── atomic-forge/           # Collection of downloadable tools
├── docs/                   # Sphinx documentation
├── guides/                 # Development guides
├── .github/workflows/      # CI/CD pipelines
├── pyproject.toml          # Project configuration
└── README.md              # Main documentation
```

---

## Package Details

### 1. atomic-agents/ - Core Framework

**Published as:** `atomic-agents` on PyPI (version lives in the root `pyproject.toml`)
**Purpose:** Main Python package containing all core framework components

**Key Components:**
- `agents/` - AtomicAgent class and agent configuration
- `base/` - Base abstractions (BaseIOSchema, BaseTool, BaseToolConfig)
- `context/` - ChatHistory, SystemPromptGenerator, dynamic context providers
- `connectors/` - External integrations (MCP support)
- `utils/` - Shared utilities (token counting, formatting)

**Installation:**
```bash
pip install atomic-agents
```

### 2. atomic-assembler/ - CLI Tool

**Command:** `atomic`
**Purpose:** Terminal UI application for browsing, downloading, and managing tools from atomic-forge
**Built With:** [Textual](https://textual.textualize.io/) (TUI framework)

**Features:**
- Interactive tool exploration
- Download tools directly into your project
- Manage tool dependencies

**Usage:**
```bash
atomic  # Launch interactive TUI
```

### 3. atomic-examples/ - Example Projects

**Purpose:** Complete, runnable example implementations demonstrating framework capabilities

**Available Examples:**
- `quickstart/` - Basic getting started examples
- `deep-research/` - Research agent implementations
- `web-search-agent/` - Web search integration
- `rag-chatbot/` - RAG (Retrieval Augmented Generation)
- `youtube-summarizer/` - Video transcript summarization
- `orchestration-agent/` - Multi-agent orchestration patterns
- `mcp-agent/` - Model Context Protocol integration
- `fastapi-memory/` - API with memory/state management
- And 5+ more examples...

Each example is self-contained and demonstrates specific patterns and capabilities.

### 4. atomic-forge/ - Tool Repository

**Not a Python package** - This is a downloadable tool collection that users integrate into their projects.

**Philosophy:** Tools are NOT bundled with the framework. Instead, users download individual tools for full control and customization.

**Available Tools:**
- `arxiv_search/` - Academic paper search via the public arXiv API
- `bocha_search/` - BoCha web search
- `calculator/` - Mathematical computation tool
- `datetime_tool/` - Timezone-aware now / parse / convert / shift / diff
- `fia_signals/` - Crypto market intelligence (regime, signals, yields, gas, trending, wallet risk)
- `firecrawl_search/` - Web and news search via the Firecrawl API, with optional page content as Markdown
- `fxmacrodata/` - Macroeconomic releases, release calendars, FX rates, and COT positioning via the FXMacroData API
- `hackernews_search/` - Hacker News search via the free Algolia API
- `pdf_reader/` - PDF text + metadata extraction (local file or URL, page-range support)
- `searxng_search/` - Privacy-focused search integration
- `serply_search/` - Google web, news, and scholar search via the Serply API
- `tavily_search/` - Tavily API search tool
- `weather/` - Current conditions and daily/hourly forecast via Open-Meteo (no key)
- `webpage_scraper/` - Web scraping capabilities
- `wikipedia_search/` - Wikipedia search in any language edition (no key)
- `youtube_transcript_scraper/` - YouTube transcript extraction

**Benefits:**
- Only install what you need (reduces dependency bloat)
- Full control to modify tools for your specific use case
- Tools become part of your codebase (no black boxes)

---

## Core Architecture

### Agent Anatomy

Every Atomic Agent consists of:

1. **System Prompt** - Defines agent behavior and purpose
2. **Input Schema** (Pydantic model) - Validates and structures input
3. **Output Schema** (Pydantic model) - Ensures consistent output format
4. **Chat History** - Maintains conversation context
5. **Context Providers** - Injects dynamic runtime context
6. **Tools** (optional) - Function calling capabilities

### Schema-Driven Development

All data flows through typed Pydantic schemas:

```python
from atomic_agents import BaseIOSchema
from pydantic import Field

class CustomOutputSchema(BaseIOSchema):
    """Response with follow-up suggestions."""

    chat_message: str = Field(..., description="The response message")
    suggested_questions: list[str] = Field(..., description="Follow-up questions")
```

Every `BaseIOSchema` subclass requires a non-empty docstring — the framework enforces this at class-definition time, and the docstring plus field descriptions flow into the LLM prompt via Instructor.

### Composability Pattern

Agents can be chained by connecting output schemas to input schemas:

```
Agent A (OutputSchemaA) → Agent B (InputSchemaB) → Agent C (OutputSchemaC)
```

This creates predictable data flow pipelines with type safety at each step.

Signals

Stars
6,304
Forks
557
Open issues
2
Last commit (this folder)
Oct 11, 2026 (17 days ago)
Last release
Oct 21, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Eigenwise

Cite this page

AGENTS.md · Eigenwise/atomic-agents. Agent Mart. https://agentmart.dev/templates/eigenwise-atomic-agents-agents-md (last updated 2026-10-24)