You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance README with detailed value proposition and JavaScript tool calling examples
• Clarify core differentiators: transparency, programmatic control, extensibility, and vendor independence
• Add "Why Construct?" section highlighting advantages over black-box AI assistants
• Expand overview to emphasize API-first architecture and open-source nature
• Document JavaScript-based tool calling with practical multi-step example
• Show how agents can write loops, conditionals, and complex data processing logic
Co-authored-by: construct-agent <noreply@construct.sh>
Most AI coding tools are black boxes. You interact through a web interface or thin CLI wrapper, with limited visibility and minimal control over the system.
18
+
19
+
Construct is different:
20
+
21
+
-**Full transparency**: See every tool call, export all data, understand costs
22
+
-**Programmatic control**: Script every operation, integrate with existing workflows
23
+
-**Extensibility**: Build custom agents, access everything via API
24
+
-**Vendor independence**: Self-host, switch models, no lock-in
6
25
7
26
## Overview
8
27
9
-
Construct is a next-generation coding assistant that breaks away from traditional black-box AI assistants. Built with an API-first approach, it offers unparalleled customization and extensibility while supporting multiple collaborative agents that can work together on complex tasks.
28
+
Construct is an open-source AI coding assistant with an API-first architecture. Everything—agents, tasks, conversations, tool calls—is accessible programmatically. The CLI is just one client of the daemon's ConnectRPC API.
10
29
11
30
## Key Features
12
31
13
-
### API-first Architecture
14
-
Everything in Construct can be configured via API, making it highly customizable and integrable with existing workflows and tools. This is in stark contrast to traditional coding assistants that operate as black boxes with limited configuration options.
32
+
### Agents Write JavaScript to Call Tools
33
+
34
+
Instead of rigid JSON schemas, agents write executable JavaScript code to call tools. This enables loops, conditionals, and complex data processing in a single execution.
35
+
36
+
**Example:** Systematically checking and fixing route files:
Build your own IDE plugins, Slack bots, or automation scripts. Full programmatic control over agents, tasks, messages, models, and providers.
94
+
95
+
Language SDKs for Python, TypeScript, and Go coming soon.
96
+
97
+
### Multiple Specialized Agents
98
+
99
+
Three built-in agents optimized for different phases of work:
15
100
16
-
### Multi-Agentic System
17
-
Construct supports multiple agents by default that can work together on a task. The system handles agent handoffs and delegations automatically, allowing for specialized agents to tackle different aspects of a problem.
Construct uses CodeAct tool calling with JavaScript for superior tool call performance. This approach provides more reliable and efficient tool execution compared to traditional methods.
105
+
Switch between agents seamlessly. All agents share conversation history and workspace context.
21
106
107
+
**Create custom agents:**
108
+
109
+
```bash
110
+
construct agent create reviewer \
111
+
--model claude-opus \
112
+
--prompt "You review Go code for race conditions..."
113
+
```
114
+
115
+
### Full Terminal Experience
116
+
117
+
-**Persistent tasks**: Every conversation saved with full history and workspace context
118
+
-**Resume anywhere**: `construct resume --last` instantly picks up where you left off
119
+
-**Non-interactive mode**: `construct exec` for scripting and CI/CD pipelines
-**Multiple Model Providers**: Support for various AI models including Anthropic, OpenAI, DeepSeek, and more
26
-
-**Language SDKs**: SDKs available for multiple programming languages
27
-
-**Model Context Protocol**: Enhanced context management for improved model performance
28
-
-**Parallel Tool Use**: Execute multiple tools simultaneously for faster operations
29
-
-**Checkpoints**: Save and restore the state of your work at any point
124
+
-**Cost transparency**: Track token usage and cost per task
125
+
-**Zero dependencies**: Single Go binary, just download and run
126
+
-**Flexible deployment**: Local daemon, remote server, or your own infrastructure
127
+
-**Open source**: Inspect the code, self-host, no vendor lock-in
30
128
31
129
## Architecture
32
130
@@ -38,61 +136,51 @@ Construct is built with a modular architecture that separates concerns between:
38
136
39
137
The multi-agent system allows for specialized agents to collaborate on tasks, with the runtime managing message passing and coordination between agents.
40
138
41
-
## Getting Started
42
-
43
-
### Prerequisites
44
-
45
-
- Go 1.19 or later (for building from source)
46
-
- A supported operating system (macOS, Linux)
139
+
## Quick Start
47
140
48
141
### Installation
49
142
50
143
```bash
51
-
# Clone the repository
144
+
# Clone and build
52
145
git clone https://github.com/furisto/construct
53
-
cd construct
54
-
55
-
# Build the CLI
56
-
cd frontend/cli
146
+
cd construct/frontend/cli
57
147
go build -o construct
58
148
59
-
# Install the daemon
60
-
./construct daemon install
149
+
# Install to PATH (optional)
150
+
sudo mv construct /usr/local/bin/
61
151
```
62
152
63
-
### Quick Start
64
-
65
-
1.**Install and start the daemon**:
66
-
```bash
67
-
construct daemon install
68
-
```
69
-
70
-
2.**Create a model provider** (required before creating agents):
0 commit comments