BasisOS
  • INTRODUCTION
    • What is BasisOS
    • Key Concepts in Basis Trading
    • Vision and Value Proposition
  • Basis Vaults
    • Architecture Overview
    • Components and Interactions
    • Managed Approach
    • Execution Flow
  • BASISOS AGENT
    • Overview
    • Core Components
    • System Design and Interactions
    • Agentic Roadmap
      • Stage 0: Assistant
      • Stage 1: Maintainer
      • Stage 2: Curator
      • Stage 3: Sovereign
  • TOKENOMICS
    • Token Distribution
    • Liquidity Mining
      • Distribution Mechanics
      • Rewards Schedule
    • Mindshare Mining
      • Distribution Mechanics
      • Rewards Schedule
  • CORE PROTOCOL
    • LogarithmVault
    • BasisStrategy
    • SpotManager
    • OffchainPositionManager
    • GmxV2PositionManager
    • LogarithmOracle
      • Oracle Provider
    • Contract Addresses
  • RISK MANAGEMENT
    • Funding Risk
    • Liquidity Risk
    • Risk Framework
      • Margin Treasury
      • Maximum Leverage
      • Asset Clustering
      • Strategy Capacity
    • Backtests
Powered by GitBook
On this page
  • 1. Environment
  • 2. Chain
  • 3. Core Agent
  • 4. Character Layer
  1. BASISOS AGENT

Core Components

1. Environment

An Environment represents any real-world application or system that the agent can interact with. Examples include:

  • An EVM wallet

  • A Telegram client

  • A Twitter client

Every Environment implements two key methods:

  • pull() – Returns a set of observations (events, data, messages) to pass to the agent.

  • push() – Provides an abstract way for the agent to interact back with the environment (e.g., send transactions, post tweets, reply to messages).

2. Chain

A Chain is a predefined sequence of steps describing how the Environment and the agent should interact. Each step typically includes:

  • An action prompt or instruction telling the agent what to do next (e.g., call a specific tool, query a database, or send a message).

  • The expected outcome or context transition (e.g., from pulling observations to returning results to the Environment).

3. Core Agent

The Core Agent is the central orchestrator of the system. It can be seen as an agent graph itself or as a node in a larger graph of sub-agents. Its responsibilities include:

  • Executing tasks specified by the Chain using available tools or sub-agents.

  • Interacting with internal data sources such as DWH (data warehouse) or RAG (retrieval-augmented generation) systems.

  • Consolidating and returning the final result of each task.

4. Character Layer

The Character Layer is a “swarm” of sub-agents that specialize in how to respond or interact with observations from the Environment. These agents may embody different personas, communication styles, or decision-making strategies. Their collective input shapes the final response that goes back to the Environment.

Example Flow

  1. Environment → sends observations to Core Agent

  2. Core Agent → processes the data and may delegate tasks to sub-agents or tools

  3. Character Layer → refines or styles the response

  4. Environment → the final output (e.g., a message, transaction, or update)

PreviousOverviewNextSystem Design and Interactions

Last updated 3 months ago