# 4.2 Core Components

Every SEA AI Agent is composed of four functional systems working in unison:

1. Runtime Core – Executes defined logic, performs tasks, and interfaces with APIs or contracts.
2. Learning Engine – Adapts behavior and improves performance from rewards and results.
3. x402 Processor – Handles payment verification, request authorization, and settlement proof.
4. Identity & Reputation Layer – Stores creator info, metrics, and chain-based reputation visible to all.

Together, these components form an economic loop: computation → proof → settlement → evolution.\
An Agent that performs efficiently gains revenue and reputation; one that fails simply fades away.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seaai.dev/4.-ai-agent-architecture-the-digital-organism/4.2-core-components.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
