bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 22쪽 중 4쪽
er run --name BioAgents-db -e POSTGRES_PASSWORD=123 \
-p 5432:5432 -d ankane/pgvector
```
2. **Database Setup**:
```bash
pnpm db:migrate # Apply database migrations
pnpm db:studio # Open database management UI
```
3. **Data Loading**:
```bash
# Load sample scientific papers into knowledge graph
pnpm run script scripts/jsonldToTriple.ts
```
4. **Development Server**:
```bash
pnpm run dev # Start with hot reload
```
### Production Deployment
* **Container**: Multi-stage Dockerfile with TypeScript compilation
* **Database**: PostgreSQL with pgvector extension
* **Services**: Grobid and Oxigraph as separate containers
* **Environment**: All configuration via environment variables
## 6. Key Dependencies
### Core Framework
* **@elizaos/core**: Agent runtime and plugin system
* **@elizaos/cli**: Command-line interface and development tools
* **@elizaos/plugin-anthropic**: Claude AI integration
* **@elizaos/plugin-discord**: Social platform integration
### Database & Storage
* **drizzle-orm**: Type-safe SQL query builder
* **pg**: PostgreSQL client
* **dkg.js**: OriginTrail DKG integration library
### Document Processing
* **pdf2pic**: PDF to image conversion
* **libxmljs**: XML parsing for TEI documents
* **cheerio**: HTML/XML manipulation
* **jsonld-streaming-parser**: JSON-LD processing
### AI & Language Processing
* **@anthropic-ai/sdk**: Claude API client
* **openai**: OpenAI API integration
* **@instructor-ai/instructor**: Structured output from LLMs
### External Integrations
* **googleapis**: Google Drive API client
* **axios**: HTTP client for external APIs
* **n3**: RDF/SPARQL triple processing
* **zod**: Runtime type validation
## 7. Data Processing Pipelines
### Scientific Paper Processing Pipeline
```
PDF Upload → Google Drive Webhook → File Processing Task →
Grobid Parsing → TEI XML → Structured Extraction →
Knowledge Assembly → JSON-LD Generation → Triple Store →
DKG Publication
```
### Hypothesis Generation Pipeline
```
1. SPARQL Query → Extract Research Findings
2. LLM Selection → Choose 2 Relevant Findings
3. Context Building → Gather Related Papers & Keywords
4. Claude 3.7 → Generate Structured Hypothesis
5. Evaluation → Score for Novelty & Plausibility
6. Storage → Save to PostgreSQL
7. Publication → Discord/Social Media Integration
```
### Knowledge Graph Integration
```
Scientific Papers → JSON-LD → Local Oxigraph → SPARQL Queries →
Research Context → Hypothesis Generation → DKG Assets →
Persistent Knowledge Graph
```
This architecture enables BioAgents to efficiently process scientific literature, generate novel research hypotheses, and maintain a comprehensive, decentralized knowledge graph of biological research findings.
# Example BioAgent: Aubrai
AUBRAI is an on-chain AI agent designed to accelerate longevity research. Built in collaboration with Dr. Aubrey de Grey and his team at the LEV Foundation, AUBRAI generates novel hypotheses, synthesizes scientific papers, and critiques experimental study designs.
At the heart of AUBRAI’s mission is the **Robust Mouse Rejuvenation (RMR2) project-**an ambitious effort to double the remaining lifespan of middle-aged mice. If successful, this would be aging’s “AlphaFold moment”: clear proof that multi-target rejuvenation can work, paving the way for scalable interventions in humans.
#### Community & Research Interaction
AUBRAI engages directly with users on **X** (formerly Twitter), answering questions and generating fresh hypotheses in longevity science. These hypotheses are registered on-chain as **Proofs of Invention (POIs)**, which can later evolve into **IP-NFTs (intellectual property NFTs)** and **IPTs (intellectual property tokens)**.
Behind the scenes, the agent leverages a mix of **state-of-the-art LLM models from frontier labs, custom fine-tuned models, scientific databases** (e.g. knowledge graphs), and **private research documents**.
#### Key Features
* **Real-time Analysis:** AUBRAI connects to a repository of RMR experiment data, transforming new results into actionable insights and real-time community updates.
* **Expert Terminal (beta, invite-only):** Researchers and community members can query AUBRAI about specific intervention combinations, request analyses of unexpected outcomes, or receive recommendations for improved study designs.
* **Community Updates:** The AI provides progress reports on ongoing experiments, tracks milestone achievements, and flags breakthrough findings as they emerge.
* **Failure Database (planned):** A dedicated repository of failed scientific experiments will further strengthen AUBRAI’s output and prevent redundant efforts.
# BioDAOs
This section provides detailed guidance on building and operating BioDAOs - community-owned scientific research networks that democratize access to biotech funding and development.
## What You'll Learn
* **Operations** - Day-to-day management, treasury handling, and organizational structure
* **Community Building and Awareness** - Strategies for growing engaged scientific communities
* **Deal Flow Process** - How to evaluate, select, and fund promising research projects
BioDAOs represent a new model for scientific collaboration that combines the expertise of global communities with the transparency and efficiency of Web3 technologies.
# Operations
The DAO Operations is a working group within the DAO that is responsible for the day-to-day operations of the DAO. The DAO Operations is responsible for organizing, maintaining, and executing the DAO ongoing activities. The DAO Operations supports the following tasks:
* Organizing and maintaining the DAO's work calendar and workflows
* Developing and maintaining the DAO's communication channels
* Collaborating cross-functionally with other Working Groups to maintain DAOs alignment and to improve their processes and implement tools
* Managing DAOs finances: expenses and Contributors payments
* Implementing and maintaining DAO’s tools
* Onboarding new members to the organization
* Measuring and Coordinating the DAO's Contributors
* Reviewing and approving task submissions
* Maintaining the DAO's task repository and workflows
* Organizing and conducting the DAO's weekly Contributors meetings
* Planning and organizing DAO’s travels to conferences, on-sites, etc.
#### Contributors <a href="#contributors" id="contributors"></a>
The DAO needs to identify the main working groups and the different tasks and projects within them that are ripe for contributing efforts by the broader community. The Contributors Program is designed to grow and engage the DAO community by inviting those with specialized skills and backgrounds to contribute to DAO's mission. The program is open to individuals and organizations with expertise in a variety of areas, including but not limited to: science, dealflow, technology, law, finance, governance, tech, design and marketing. The program will offer opportunities for contributors to engage with the DAO community through a variety of activities, including but not limited to: writing articles or blog posts, speaking at events, participating in online forums and chats, and providing feedback on DAO proposals. In exchange for their contributions, contributors will receive DAO tokens that can be used to vote on proposals and participate in DAO governance.
#### Finance <a href="#finance" id="finance"></a>
**Treasury Management**
A percentage of the total supply of DAO tokens is allocated to the DAO. The assets are held in a gnosis safe multi-signature wallet. In the initial stages, an internal governance council governs the multi-sig wallet. Treasury funds are highly secure and locked in smart contracts, requiring multiple approvals for each transaction.
DAO core members are long-standing members of the core team who are known for their engagement and ethical behavior.
DAO Treasury is stored in digital wallets requiring the use of two private keys, with each private key held by a different DAO member.
Multi-signature wallets
Safe is a smart contract wallet running on a[ number of blockchains](https://help.gnosis-safe.io/en/articles/6227806-supported-networks) that requires a minimum number of people to approve a transaction before it can occur. If for example you have 3 main stakeholders in your business, you are able to set up the wallet to require approval from 2 out of 3 (2/3) or all 3 people before the transaction is sent. This assures that no single person could compromise the funds.
**Treasury Wallet vs. Operational Wallets**
The Main Treasury Wallet (capital and asset holding - i.e. IP-NFTs) should have a higher signing threshold (5 out of 9) in order to have enough signers that you can operate when people travel or are on vacation. For the daily operations and expenses you should set up an Operations Wallet which receives limited allocations from the Main Wallet. The Operations Wallet should be used to pay for all services and bounties. It should have a lower signing threshold (3 out of 5) to allow for faster execution.
**Accounting**
Web3 tools are not yet up to the standard of trad-fi tools (i.e. there is no solution that is the equivalent to Quickbooks for web3), but hope is on the horizon in the upcoming years.
Current best tool stack options:
* Utopia Labs (crypto payment management) - utopialabs.com
* Cryptio Accounting - cryptio.co
* Other options like Parcel (payment management) are available
Always be prepared to weather the crypto ups and downs:
Maintain a buffer of 6 months of operational costs in fiat or stablecoins at all times (once you have funding). Assume 70% of your budget costs will be contributor bounties and payouts. People are your greatest resource and your greatest cost. Budgets are only as useful as the policies that drive them - agree on your governance around expense management (travel, compensation, etc.). If you don’t have governance you can’t enforce a budget.
Crypto tokens are not cash (even stablecoins) - they are assets.
* Accounting Policy
* IFRS Compliance
* Blockchain Reconciliation
**Payouts and Compensation**
The contributions made to the development of the DAO are being rewarded. Incentives consist of three main types: Bounties, Personal Services Contracts and Payout Governance.
**Bounties**
DAO’s main force is its contributors. An incentives program aims to reward the contributions made to the DAO’s development and also to grow the number of active contributors. The working group can put up a task on a bounty board (like Dework) and allow the contributors to pick it up. For more information, see Contributos Program section.
**Personal Services Contracts**
For its most active contributors, DAO will offer ongoing compensation to incentivize proactive, long-term contributions. Typical services provided are: design, tech, deal-flow advisory (like projects evaluation and project management), etc.
**Payout Governance**
Core contributors are those who define the DAO’s strategy and are the most active members and have the strongest commitment to the DAO. They demonstrated their engagement by creating the groundwork for the DAO, like governance structure, tokenomics scheme, fundraise, etc. They are typically the first members of the DAO and they have a vested interest in the success of the DAO. Each core contributor is compensated on a monthly basis with DAO tokens. The amount is determined in the Governance charter.
**Banking**
* How to use fiat currency as a DAO - tackling payments IRL
* KYC/AML policy and liability
* Legal requirements for banking off-ramps for your DAO.
**Jurisdictional Issues and Tax Status**
* Agency Model
* K.I.S.S. - how not to invoke the ire of regulators.
#### Tools <a href="#tools" id="tools"></a>
1. [Substack](https://substack.com/) or [Revue](https://www.getrevue.co/) for newsletters and the most important announcements.
2. Google Meet/Zoom, Discord Voice channels or Twitter Spaces for Community Calls occasional talks and discussions.
3. [Airtable](https://airtable.com/) for project and task management.
4. [Notion](https://www.notion.so/) for project and task management, staff directory, organizational chart and the knowledge base.
5. [Dework](https://dework.xyz/) for managing Contributors program: adding and working on tasks, contributors payments, etc.
6. [X (Twitter](https://twitter.com/bio_xyz)) - To make the most of it: engage with other accounts by replying to tweets, creating tweet threads of your own to establish your DAO as a thought leader in the space, and joining or hosting your own Twitter Space voice conversation. Then enable [Twitter Analytics ](https://analytics.twitter.com/about)to keep track of your growth and how to best engage with your audience.
7. [Discord](https://discord.gg/RmS5zYJnt5) - is a forum communications platform where many DAOs host their communities. It is great for internal and external communication, all announcements, community building activities, questions and suggestions, sharing events, general discussions and, of course, memes. To make the most of it: roles/tags can be assigned to members giving them gated access to different channels, bots/integrations can help automate processes (onboarding, metrics, member mapping, etc), and there are multiple different channel types to engage your audience (voice, forums, etc) which are good places to hold discussions. Many DAOs use a voice channel for their working group or community calls. Check out Discord Settings → Community → Server Insights to learn more about your community’s engagement.
8. [Telegram](https://t.me/BlockchainForScience) - is a messaging platform that the broader web3 ecosystem frequently uses for 1:1 messages and group chats centered around various goals or subjects. It can be a great place to coordinate around an event or across organizations, especially for selected announcements, short questions and directing new joiners into better communication channels.
9. [Reddit](https://www.reddit.com/) - is a public forum that has a strong crypto community and niche topics community. It can be a great place to connect with others who have similar interests to the work of your DAO to drive collaborations.
10. [Youtube](https://www.youtube.com/c/Molecule_dao) - is a video sharing platform that can be a great place to repost recordings of Twitter Spaces, podcasts, events, and talks. Creating both long form and short form content in playlists can appeal to different audiences to drive awareness and understanding. Education is key in DeSci and Youtube is a great platform to explain complex topics.
11. [Podcasts](https://mobile.twitter.com/thedescipodcast) - podcasts are a powerful way to connect with experts and leaders in your field. Post recording, each podcast can be turned into a ton of pieces of content (Youtube video, snippets, quotes, discussion topics, community calls, etc) that can drive deeper engagement with your community while establishing yourself as a thought leader. Joining other podcasts as a guest speaker is a great way to expand awareness of your DAO too. A great tool to record podcasts remotely is [Riverside](https://riverside.fm/).
12. [Discourse](https://gov.vitadao.com/) - Discourse is a community forum used by VitaDAO and many other DAOs for proposals and their evaluation before moving to on-chain voting.
13. Newsletters - are a great place to update your broader community on happenings within your DAO or sector. A few popular web2 platforms are [Substack](https://moleculeto.substack.com/) and [Medium](https://medium.com/molecule-blog), and web3 platforms are Mirror and Paragraph.
14. In Person Events - are a great way to drive connection within your community and forge connections across organizations. [DeSci Global ](https://www.desci.global/)- is a collaborative hub that showcases all DeSci events across the globe. It’s a good platform to list and discover all upcoming DeSci events. [DeSci Luma Community](https://lu.ma/desci) - is an event platform that is well suited to list 1 off events to the broader ecosystem and collaborate at events across organizations.
#### DeSci Events <a href="#desci-events" id="desci-events"></a>
The DeSci event is a combination of talks, interactive workshops, and discussions encouraging attendees to self-organize and explore collaborations in the Decentralized Science topics.
Examples of DeSci events:
* <https://www.desci.global/>
* <https://www.desci.berlin/>
* <https://www.desci.london/>
* <https://www.desciboston.com/>
**Hackathons**
DeSci Hackathon is a code and no-code hackathon event focused on decentralized science (DeSci) to help drive innovation. Participants are forming teams with people who have a range of skill sets from traditional science backgrounds and web3 backgrounds and knowledge. It helps participants to expand and diversify their current networks. Teams are experimenting with web3 tools (e.g. SNARKs, knowledge graphs, NFTs) to solve specific problems in modern science. Teams are encouraged to think through risks and follow the values of Science as a public good and improve the quality of science.
Examples of DeSci Hackathons:
* <https://www.phas3.io/desci-hack>
* <https://desci-london.devfolio.co/projects>
# Community Building and Awareness
#### Community building 101 <a href="#community-building-101" id="community-building-101"></a>
The community is the heartbeat of any DAO. With BioDAOs specifically, having a strong community of scientists, developers, legal experts, designers, science communicators and investors will play a crucial role in achieving the purpose of the BioDAO. Important to note is that, because web3 is so new to most people, a strong emphasis should be placed on creating **educational content** as far as possible. Onboarding new members is equally important. Without educational content a decent onboarding process, retention will be low and awareness efforts will generally be wasted.
Without a community of people who strongly believe in, and are aligned with the purpose of the DAO, it will not be easy to bootstrap the project for long, unless you and a handful of core contributors are happy going at it alone for quite some time or if you have the resources to pay contributors to help you launch the project. The latter is not the ideal scenario, because the vision and purpose is the strongest driving force for the long term success of the DAO and if you can’t get a community to back that, you should evaluate why.
There is no one-size-fits-all solution to building a BioDAO community. However, a key principle is that you need to create a shared space that will enable collaboration and open communication between members. This can be done in a number of ways, such as Discourse, Discord, Twitter Spaces, community calls or organizing in-person events. Starting out, it might be worth picking just one or two of these, ideally engaging contributors on the platforms they are already using and being consistent on those platforms, this could include your routine of, for example, when you have your community calls. This will reduce anxiety of new members and help them to plan and get into your routine, giving them a sense of control and making them feel valued and respected.
**Actionable tips:**
* Position and communicate the purpose of the DAO as concise as possible. Communicate the purpose of the DAO consistently and repeatedly across all platforms.
* There is a high likelihood that the community already exists, and you are merely creating a platform to facilitate communication within it. Meet the community where they are.
* Make sure the communication/content is interesting (quality over quantity).
* Encourage all core contributors to post, it’s not only up to the community & awareness working group.
* Have a rhythm - some communities need daily high quality posts, some live off the weekly newsletter - determine your audience.
* Be nice, especially to newcomers.
* Effectively manage spamm프로젝트로 돌아가기