How builderio/agent-native works
Agent-Native is a TypeScript framework for applications that combine autonomous agents with purpose-built user interfaces. The principal workflow is that a person or agent invokes a shared action; the action applies the same validation, permissions, and implementation regardless of caller, and shared application data makes the result available across the agent and UI. The README also documents chat, authentication, context awareness, persistent agent resources, automations, teams, and PostgreSQL support. Several subsystems are represented at their enclosing package or directory because their implementation was not sampled.
Main entry points: agent Agent · server Shared database · packages Purpose-built UI · use-action.ts Action client
Components 14
Application surfaces
- Agent chat
packages/core/src - Purpose-built UI
packages
Action runtime
- Shared actions
- Action client
packages/core/src/client/use-action.ts - Agent engine
packages/core/src/agent/engine/builder-engine.ts - Application context
packages/core/src
Shared application data
- Shared database
packages/core/src/server
Agent capabilities
- Agent
packages/core/src/agent - Skills and memory
packages/core/src - Automations
packages/core/src - Agent teams
packages/core/src
Platform services
- Authentication
packages/core/src/server - PostgreSQL backend
packages/core/src/server
Other components
- Person
Connections 15
- Person → Purpose-built UI: uses
README.md - Person → Agent chat: delegates work
README.md - Purpose-built UI → Action client: invokes
README.md - Action client → Shared actions: calls
README.md - Agent → Shared actions: invokes tools
README.md - Shared actions → Agent engine: executes agent work
- Shared actions → Shared database: reads and writes
README.md - Shared database → Purpose-built UI: shares results
README.md - Shared database → Agent: shares results
README.md - Application context → Agent: provides UI state
README.md - Authentication → Shared actions: controls access
README.md - Skills and memory → Agent: provides expertise
README.md - Automations → Agent: runs scheduled work
README.md - Agent teams → Agent: delegates work
README.md - PostgreSQL backend → Shared database: backs production data
README.md