bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 22쪽 중 3쪽
erators, integrating the power of AI with the transparent and interoperable infrastructure of web3. By bringing scientific agents on-chain, we can create a more cohesive, trustworthy, and economically-aligned ecosystem.
This section provides a comprehensive look into the world of BioAgents. Here's what you'll find:
* [**Conceptual Overview**](/bio/introduction/bioagents/bioagents-conceptual-overview)**:** A high-level look at *why* BioAgents are needed, how they will change the world of science, and how you can contribute.
* [**How BioAgents Work**](/bio/introduction/bioagents/about-bioagents)**:** A closer look at the BioAgents framework, its core components, and the data-to-discovery workflow.
* [**The Agentic Science Map**](/bio/introduction/bioagents/agentic-science-map)**:** An overview of the broader scientific AI ecosystem, showing how different layers-from data sources to scientist-facing platforms-fit together and where BioAgents operate.
* [**Technical Deep Dive**](/bio/introduction/bioagents/bioagents-technical-deepdive)**:** A look under the hood at the technical architecture of BioAgents, how they are built, and how they interact with on-chain protocols.
* [**Example BioAgent: AubrAI**](/bio/introduction/bioagents/example-bioagent-aubrai)**:** A case study of a real-world BioAgent, illustrating its specific function and how it contributes to the ecosystem.
# Conceptual Overview
This page explores the core vision behind BioAgents. While other pages explain *what* they are and *how* they work, this section focuses on *why* they matter.
## Why are BioAgents Needed?
Modern science is at a crossroads. We are generating data at an unprecedented rate, and powerful AI models have emerged that can process this information in novel ways. However, this progress is siloed. Scientific knowledge remains locked behind paywalls, proprietary tools don't talk to each other, and the incentives are often misaligned with open, collaborative discovery.
This fragmentation creates a massive bottleneck, slowing down the pace of innovation and keeping breakthroughs out of reach. We need a new model-one that is open, interoperable, and owned by the community it serves.
## How Will BioAgents Change the World?
BioAgents represent a fundamental shift in how science is done. By creating a network of autonomous, on-chain AI agents, we can:
* **Democratize Access to Research:** BioAgents can act as tireless, expert research assistants, available to anyone in the world. This breaks down the barriers between institutions and empowers a global community of citizen scientists and independent researchers.
* **Drastically Reduce Costs:** By automating data analysis, hypothesis generation, and other repetitive tasks, BioAgents can significantly lower the cost of research and development, making it possible to explore more ideas with fewer resources.
* **Create a Verifiable, Open Knowledge Graph:** When agents operate on-chain, their actions and findings are recorded on a transparent, immutable ledger. This creates a shared, trustworthy knowledge graph that grows with every new discovery, combating the reproducibility crisis and fostering genuine collaboration.
### The Need for a High-Precision Knowledge Graph
Scientific knowledge is built on precision. However, most of this knowledge is currently stored in unstructured formats like PDF articles. For a human expert, the context and nuance are clear, but for a machine, this format is ambiguous. An AI trying to parse a sentence like "Protein A may affect Gene B under certain conditions" can easily misinterpret the relationship, the certainty, and the context. This ambiguity is a major barrier to reliable automated science.
Knowledge graphs solve this problem by representing information in a structured, machine-readable format. Instead of unstructured text, information is stored as a network of precisely defined entities and their relationships—for example, `(Protein A) -[inhibits]-> (Gene B)` with an associated confidence score and a link to the source data. This high-precision representation is essential for AI agents to perform complex reasoning, identify subtle patterns across different domains, and generate novel hypotheses that are grounded in a verifiable chain of evidence. By building this knowledge graph on a decentralized infrastructure, we ensure that this foundational layer of modern science is open, transparent, and collectively owned.
## How Do BioAgents Help the Protocol?
BioAgents are not just tools; they are the engine of a new, self-sustaining economy for science.
* **Economic Flywheel:** Each BioAgent can be launched as its own independent project, complete with its own token and governance. They can earn revenue by charging fees for their services, creating a direct economic incentive to build useful, open-source scientific tools.
* **Driving Protocol Value:** As these agents are launched and traded on the Bio Protocol, they generate fees that flow back to the treasury. They also create a constant demand for the `$BIO` token, which is used to access, launch, and provide liquidity for these agent-based services.
## How Can You Contribute?
BioAgents are a community-driven initiative, and there are two primary pathways to get involved in creating them:
#### For Researchers: The Standardized Pathway
You don't need to be a developer to build a powerful BioAgent. Our standardized pathway allows researchers and domain experts to create a new agent simply by curating a collection of scientific manuscripts in a Google Drive. The framework will automatically process these documents, extract the knowledge, and use it to bootstrap a new, specialized AI agent. This is the easiest way to turn a body of research into an interactive, intelligent tool.
#### For Developers: The Custom Pathway
For those with a technical background, the possibilities are limitless. Our agentic framework is open-source, allowing developers to build entirely new scientific agents from the ground up. You can design custom workflows, integrate novel data sources, and create specialized tools that solve a specific problem. Once built, these custom agents can be containerized, organized, and launched through our platform, allowing you to share your creation with the world and build a community around it.
Both pathways are essential to growing the ecosystem. Whether you are curating knowledge or coding new tools, your contribution helps build a more open and intelligent future for science.
# How BioAgents Work
BioAgents are autonomous AI agents designed to automate and accelerate the scientific discovery process. They are built on a robust, plugin-based framework that allows them to perform complex tasks like processing scientific literature, generating novel hypotheses, and interacting with decentralized knowledge graphs.
While the [core concept](/bio/introduction/bioagents/bioagents-conceptual-overview) page explains the "why" behind BioAgents, this page offers a closer look at the "how."
## The BioAgents Framework
At its core, the BioAgents system is built on top of **Eliza v2**, an open-source agentic framework. This provides a modular and extensible architecture where specific functionalities are encapsulated into plugins.
This framework allows a BioAgent to:
* **Ingest Data:** Connect to various data sources like Google Drive to automatically pull in new scientific papers and documents.
* **Process Information:** Use a pipeline of tools like Grobid and custom scripts to parse documents, extract structured data (JSON-LD), and store it in a local knowledge graph (Oxigraph).
* **Generate Insights:** Leverage large language models (like Anthropic's Claude) to query the knowledge graph, synthesize information, and generate novel, testable hypotheses.
* **Ensure Provenance:** Store generated hypotheses and their supporting evidence in a structured database (PostgreSQL) and publish key assets to a decentralized knowledge graph (OriginTrail DKG) for permanent, verifiable record-keeping.
## Core Workflow: From Data to Discovery
The primary workflow of a BioAgent can be simplified into a three-stage pipeline:
1. **Ingestion & Processing:** A new scientific paper (e.g., a PDF) is detected. The agent retrieves the paper and uses specialized services to parse its contents, breaking it down into structured, machine-readable data.
2. **Knowledge Synthesis:** The structured data is added to a knowledge graph. The agent then uses AI models to analyze the new information in the context of the existing knowledge, looking for novel connections and insights.
3. **Hypothesis Generation:** Based on its analysis, the agent formulates a new, structured hypothesis. This hypothesis, along with its evidence trail and an AI-generated evaluation score, is stored and can be published to the community for further review and validation.
This automated pipeline creates a powerful flywheel for scientific discovery, allowing for the rapid, continuous, and transparent generation of new ideas. For a more detailed technical breakdown, see the [BioAgents Technical Deep Dive](/bio/introduction/bioagents/bioagents-technical-deepdive).
# The Agentic Science Map
A Cambrian explosion of Scientific AI is unfolding, as once-separate components of scientific discovery become interoperable, API-accessible, and agent-operable. To navigate this fast-moving frontier, we can organize the landscape into five key layers. This map provides an overview of the tools and platforms that make up the modern autonomous science stack, from foundational data sources to scientist-facing applications.
Understanding this ecosystem is key to understanding the role of BioAgents, which are designed to operate across these layers, bridging gaps and accelerating discovery.
## 1. Knowledge & Data Sources
At the base are the vast knowledge and data repositories that AI systems feed on. Biology and chemistry have an explosion of publicly available data, from millions of papers on PubMed to the millions of chemical compounds in databases like ChEMBL and PubChem. These databases are the raw ingredients for AI-driven science.
**Key Examples:**
* **PubMed** – The central biomedical literature database.
* **Protein Data Bank (PDB)** – Repository of 3D structures for proteins and nucleic acids.
* **UniProt** – A comprehensive protein sequence and functional annotation database.
* **ChEMBL** – Curated bioactive drug-like molecules and targets.
* **bioRxiv** – Preprint server for biology.
## 2. Foundation & Domain Models
On top of the data layer sit the foundation models and domain-specific AI that can interpret it. These include general-purpose LLMs (like GPT-4) and specialized models for biology and chemistry, such as AlphaFold 2 for protein structure prediction. These models serve as the workhorses of the ecosystem, transforming raw data into actionable insights.
**Key Examples:**
* **AlphaFold 2 (DeepMind)** – AI for protein 3D structure prediction.
* **RFdiffusion (Baker Lab)** – A generative diffusion model that creates novel protein designs.
* **ESM-3 (Meta)** – A large language model trained on protein sequences for structure & function prediction.
* **General LLM backbones** – GPT-4, Claude 3, etc., which provide broad reasoning and coding skills.
## 3. Agentic Orchestration Layer
This layer contains the AI agents and frameworks that coordinate tools, reason about problems, and drive workflows. These "AI scientists" glue together models, data sources, and execution platforms. This layer includes frameworks for running multi-agent systems and protocols for decentralized compute.
**Key Examples:**
* **ChemCrow** – A GPT-4 chemistry agent that uses \~18 expert tools for synthesis and analysis.
* **Model Context Protocol (MCP)** – An open interface that allows agents to query biomedical databases (genes, pathways, literature) in a standardized way.
* **elizaOS** – A Web3-native agent operating system.
* **Prime Intellect** – A decentralized protocol for pooling compute to train models.
## 4. Experiment & Simulation Execution
This layer executes experiments and simulations, closing the loop of scientific discovery. It includes both physical lab automation and virtual simulation engines. By automating lab protocols and simulations, this layer makes the feedback loop between AI planning and experimental results fast and scalable.
**Key Examples:**
* **Opentrons** – Open-source liquid-handling robots programmable via Python API.
* **Cloud Labs (Emerald Cloud Lab, Strateos)** – Platforms that allow researchers to run bio and chem assays on demand from a laptop.
* **INDRA** – A framework that assembles causal and dynamical models from literature and database statements.
* **Cloud Molecular Simulation (OpenMM)** – Platforms for protein folding and dynamics simulations.
## 5. Scientist-Facing Platforms & Assistants
The top layer consists of the interfaces and AI assistants that scientists use directly. These products often package many of the underlying tools into user-friendly applications, chatbots, or other intuitive interfaces.
**Key Examples:**
* **Consensus & Elicit** – AI-powered research assistants that synthesize answers from the literature.
* **BioAgents** – On-chain scientific agents equipped with web3 features like decentralized storage and verifiable knowledge graphs.
* **Iris.ai & Scite** – AI platforms for semantic paper search and evidence mapping.
## The Future: A Connected Ecosystem
The true power of scientific AI will be unlocked through network effects. Despite rapid progress, most of these tools remain fragmented. By introducing decentralized identity, on-chain data provenance, and smart contract-based incentives, we can bridge these islands and enable transparent, tamper-resistant coordination. This creates a global biology engine where humans and machines can co-create knowledge in an open and scalable manner-the core vision behind the Bio Protocol.
# Technical Deep Dive
BioAgents is an agentic framework for biological research and analysis, built on top of the Eliza v2 platform. This system provides intelligent automation for scientific paper processing, hypothesis generation, and knowledge graph integration.
## 1. Core Architecture
### Framework Foundation
* **Base Platform**: Built on [Eliza v2](https://github.com/elizaOS/eliza) agentic framework
* **Language**: TypeScript with modern ES modules
* **Architecture**: Plugin-based system with modular services
* **Runtime**: Node.js with pnpm package management
### High-Level System Design
```
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Data Sources │ │ Core Services │ │ Storage Layer │
│ │ │ │ │ │
│ • Google Drive │───▶│ • Hypothesis │───▶│ • PostgreSQL │
│ • PDF Papers │ │ Generation │ │ • Oxigraph │
│ • SPARQL KG │ │ • Paper Process │ │ • OriginTrail │
└─────────────────┘ │ • DKG Interface │ │ DKG │
└─────────────────┘ └─────────────────┘
```
### Key Components
* **Agent Core**: Central orchestration through Eliza runtime (`src/index.ts`)
* **Plugin Manager**: DKG plugin registration and lifecycle management
* **Services**: Shared functionalities for hypothesis generation, document processing, and knowledge graph integration
* **Data Flow**: Scientific papers → Processing → Knowledge extraction → Hypothesis generation → Knowledge graph storage
## 2. Project Structure
```
BioAgents/
├── src/
│ ├── bioagentPlugin/ # Core plugin containing main logic
│ │ ├── actions/ # Available actions (DKG insert)
│ │ ├── routes/ # HTTP endpoints and webhooks
│ │ ├── services/ # Core business logic services
│ │ │ ├── anthropic/ # AI-powered hypothesis generation
│ │ │ ├── gdrive/ # Google Drive integration
│ │ │ └── kaService/ # Knowledge Assembly processing
│ │ ├── constants.ts # DKG explorer links and config
│ │ ├── templates.ts # Memory templates for DKG
│ │ └── types.ts # TypeScript definitions
│ ├── db/
│ │ └── schemas/ # Database schemas with Drizzle ORM
│ ├── config.ts # Environment configuration management
│ ├── index.ts # Main entry point
│ └── scholar.ts # Agent definition
├── drizzle/ # Database migration files
├── scripts/ # Utility scripts (JSON-LD processing)
├── sampleJsonLds/ # Sample scientific paper data
├── Dockerfile # Production container config
└── docker-compose.yml # Local development services
```
## 3. The Plugin System
### Plugin Architecture
BioAgents implements a single comprehensive plugin (`dkgPlugin`) that provides:
**Plugin Lifecycle** (`src/bioagentPlugin/index.ts`):
1. **Initialization**: Environment validation and service setup
2. **Service Registration**: Hypothesis generation, Google Drive sync
3. **Route Mounting**: API endpoints for webhooks and manual operations
4. **Action Registration**: DKG insert functionality
### Plugin Components
#### Actions (`src/bioagentPlugin/actions/`)
* **DKG Insert** (`dkgInsert.ts`): Processes scientific papers into Knowledge Assets and publishes to OriginTrail DKG
#### Services (`src/bioagentPlugin/services/`)
* **HypothesisService**: Orchestrates paper processing and hypothesis generation
* **Anthropic Service**: AI-powered research operations using Claude 3.7 Sonnet
* **Google Drive Service**: Document synchronization and monitoring
* **KA Service**: Knowledge Assembly for structured paper processing
#### Routes (`src/bioagentPlugin/routes/`)
* **Health Monitoring**: System status endpoints
* **Google Drive Webhooks**: Real-time file change notifications
* **Manual Sync**: Trigger synchronization operations
* **Agent Metrics**: Performance and status reporting
## 4. Database & Schemas
### Database Setup
* **Client**: PostgreSQL with pgvector extension for embeddings
* **ORM**: Drizzle ORM for type-safe database operations
* **Schema**: `biograph` namespace for all biological research data
### Core Schemas (`src/db/schemas/`)
#### Hypotheses Table (`hypotheses.ts`)
```typescript
{
id: uuid (primary key)
hypothesis: text (generated hypothesis content)
filesUsed: text[] (source scientific papers)
status: enum (pending, evaluated, published)
judgellmScore: numeric (AI evaluation score 0-100)
humanScore: numeric (human validation score)
research: text (supporting research context)
evaluation: text (detailed assessment)
citations: text[] (referenced paper DOIs)
createdAt: timestamp
updatedAt: timestamp
}
```
#### File Metadata Table (`fileMetadata.ts`)
* Tracks Google Drive file processing status
* Manages PDF processing pipeline state
* Links files to generated knowledge assets
#### Drive Sync Table (`driveSync.ts`)
* Google Drive API synchronization state
* File change detection and processing queues
* Webhook notification management
## 5. Configuration & Deployment
### Environment Variables (`src/config.ts`)
#### Database Configuration
```typescript
POSTGRES_URL: Required PostgreSQL connection string
PROD_POSTGRES_URL: Production database endpoint
```
#### AI Services
```typescript
OPENAI_API_KEY: Required for OpenAI integration
ANTHROPIC_API_KEY: Required for Claude integration
```
#### Knowledge Graph Integration
```typescript
DKG_ENVIRONMENT: development|testnet|mainnet
DKG_HOSTNAME: OriginTrail node endpoint
DKG_PUBLIC_KEY: DKG wallet public key
DKG_PRIVATE_KEY: DKG wallet private key
DKG_BLOCKCHAIN_NAME: Target blockchain network
```
#### External Services
```typescript
UNSTRUCTURED_API_KEY: Document processing service
BIONTOLOGY_KEY: Biological terminology API
GCP_JSON_CREDENTIALS: Google Cloud service account JSON
GROBID_URL: PDF parsing service (default: localhost:8070)
```
### Local Development Setup
1. **Start Supporting Services**:
```bash
# Oxigraph SPARQL database
docker run --rm -v $PWD/oxigraph:/data -p 7878:7878 \
ghcr.io/oxigraph/oxigraph serve --location /data --bind 0.0.0.0:7878
# Grobid PDF processing
docker run --rm --init --ulimit core=0 -p 8070:8070 \
lfoppiano/grobid:0.8.2
# PostgreSQL with vector support
dock프로젝트로 돌아가기