4k7 alpha

Changelog

What’s new in 4k7

Every release, newest first. Download the latest; older downloads and every pull request of a release are on its page on GitHub.

0.7.0

Release on GitHub

This release checks the current and power on a board: a microcontroller pin asked to drive more than it is rated for is flagged, tracks, vias and thermal spokes are checked against the current they carry, and a heat map shows where the copper works hardest. The agent can copy a block you already built in another project into the open design, give an enclosure a clear window, and swap pins and gates, including an ATtiny85’s GPIO pins, to untangle the board. Parts can be marked do-not-populate, test points go on the power rails, and the design document can be downloaded as a file.

Checks

  • A microcontroller pin asked to drive more current than it can is flagged. An LED or relay coil wired straight to a GPIO used to pass the checks, even when it draws 30 mA from a pin the datasheet rates for 12 mA. Now, where a part’s card gives a pin’s maximum current and the net it drives has its loads stated (set_net loads), the new check SEM.PIN_CURRENT names the part, the pin, the current and the limit, and says what fixes it: a transistor or driver between pin and load, or less current. It is a warning over the limit and an error over twice it. Datasheet import now reads the per-pin current where the datasheet states one, and the bundled ATtiny85’s I/O pins carry their 40 mA. The part card’s Max column shows it. Pins without a stated limit are not checked, and supply rails stay with the existing current checks.

Layout

  • The agent can swap an ATtiny85’s GPIO pins to untangle the board, without moving a signal to a pin that cannot do its job. Swaps were offered for op-amp channels and resistor arrays only. Now the bundled ATtiny85 knows what each of PB0–PB4 can do, from its datasheet’s pin table (SPI, I²C, ADC, timer outputs, the crystal), and the agent records what each net uses: plain on/off, SCL, an ADC input. A swap that would put, say, the I²C clock on a pin without it is refused with the reason, and a net whose use is not recorded stays where it is. The reset pin, VCC and GND never move. As with every swap, it comes to you as a change to review; the firmware’s pin numbers change with it.

Part import

  • A datasheet that cannot be imported now says why and what to try next. When a datasheet link led to a product page instead of the PDF, the import said only that it was not a PDF. Now it gives the page’s title and, where the page links to a PDF, that link, so the agent can try it. A file that starts like a PDF but cannot be opened (a damaged or cut-short download) is reported as such, with the advice to download it again or download it in a browser and attach it. A scanned datasheet without a text layer is named as one: the import and read_datasheet tell the agent to read its pages as pictures instead of calling it unreadable.

Projects

  • Switch to a recent project in one click (Settings → General → Recent). Moving between two designs used to mean picking the file again with Open file… every time, and the app did not show which projects you had opened. Now the last 8 projects you opened are listed under Open file…, most recent first, without the one that is open; click one to open it. A project whose file is no longer in the projects folder (moved, renamed or deleted outside the app) is shown greyed out. A project renamed in the app keeps its place in the list.

Power

  • The agent can show you the whole power tree in one answer. Before, what feeds what came out piece by piece: the power checks, the current check and the linear regulator heat check each looked at their own part of it. Now ask the agent “what feeds what, and will anything run hot?” and it reads get_power_tree: for every supply rail, where its power comes from (a regulator, a connector, a battery, or unknown), the ferrites, fuses and resistors between, the rails it feeds, its loads and its current against its maximum current. For a linear regulator it also gives the heat, for example 0.85 W where a SOT-23 sheds 0.29 W, the same numbers as SEM.LDO_DISSIPATION. A rail without a maximum current or stated loads shows its current as unknown, never as fine.

Enclosure

  • You choose how far apart the opened enclosure is drawn. The Enclosure view’s Opened lifted every piece by the whole box’s height and 10 mm, so a box of five pieces stood so tall that each piece was a speck. Opened now draws the pieces a third as far apart, and a slider next to Closed / Opened sets the distance, shown in mm; the app remembers it.
  • An enclosure can have a clear window, and the 3D view shows what is behind it. A box with a window in front of an LED or a display, such as a bike lamp’s lid, used to show the window as solid as the rest of the box, so neither you nor the agent could see the LED behind it. Now the agent can make the window a piece in clear filament (material: 'clear' in the script’s inlays), and the Enclosure view and the agent’s pictures draw it see-through, with the LED and the board behind it in view. In the 3MF it is a part of its own in the lid’s object, as an inlay is: give it the clear filament in your slicer.

Design document

  • The design document can be downloaded as a file. Until now it only came out through the browser’s print dialog, and where that dialog did not open or was closed by mistake there was no other way to get it. Now Download ⤓, next to Design document (print / PDF) in the Layout view’s panel, saves it as one HTML file named after the project (<project>-design.html), with the 3D pictures of the board inside it. It opens in any browser, offline, and prints from there the same way, to paper or to PDF.

Agents

  • The agent can copy a block from one of your other projects into the open design. Before, the agent could list another project’s blocks but had to rebuild the one you wanted part by part. Now it copies the block in one step (import_block): the parts with their values, the nets inside the block, the block’s title and text, and its notes and drawing order. Each net that leaves the block must first be joined to a net of your design (for example the old project’s +5V to VBUS); if one is not, or a part is in neither your library nor the old project’s file, nothing is copied. Reference designators and net names that are already used get the lowest free number instead (R1 becomes R2 if your design already has an R1). The agent is told which values to check again because they were chosen for the old board, for example a resistor on a regulator’s FB pin. The copy is one change like any other: you review it and can undo it.
  • The agent can look at the blocks of your other projects. Every new board used to start from scratch: a USB-C input, a charger or a 3.3 V buck you had already built and checked in an earlier project was worked out again from the datasheets. Now the agent can ask for another project’s functional blocks by name (list_blocks) and gets each block’s parts with their values, the nets inside it and the nets it connects to the rest of the board (supplies such as +5V, signals to other parts). It only reads that project, from the projects folder, and changes nothing. Copying a block into the open design comes in a later release; for now the agent can rebuild it from the list.
  • An agent can show you its plan before a larger task (Settings → General → Plan step, off by default, set per project). With a long run from Claude Code or another coding agent in a terminal, a wrong early choice used to surface only when you reviewed the finished work, for example a placement with the connector on the wrong side. Now, with the plan step on, the agent first posts a numbered plan in the chat for any task that adds more than about 10 parts. You accept or reject it, with an optional comment such as “USB on the right edge”, and the agent starts only once you accept. The agent answering the in-app chat does not use it yet.

Assembly

  • Parts can be marked do-not-populate (DNP). Ask the agent to leave a part off the assembly, such as a 0 Ω strap, a spare pull-up or a matching network left open, and to fit it again later. Before, every part in the design was bought and assembled. Now a DNP part stays on the board with its pads and tracks, so you can still solder it by hand, but it is left out of the BOM and the pick-and-place file you upload, and out of the stock and cost checks. The schematic shows “DNP” under its value. The Layout’s 3D view leaves a DNP part out, so you see its bare pads and holes as the assembled board will have them. A DNP capacitor or resistor no longer counts for a datasheet requirement, so leaving off a decoupling capacitor or a pull-up is reported.

Schematic

  • The agent can suggest pin and gate swaps that untangle the board. On a board where an op-amp’s channel A was wired to a connector on its B side and channel B to the other, the agent could only turn and shift the small parts round it, and the crossing connections stayed. Now when it asks for suggestions at an open connection or a part, it also tries the swaps the part’s card allows (an LM358’s two channels, the four resistors of an array) and offers those that make the connections shorter or cross less, with the numbers before and after. A swap changes the schematic, so it is marked as a schematic change and comes to you for review like any other change; route again after applying it.
  • A 4-resistor array in the library. Resistor array 4× (RN, 0603×4 convex, the size of 4D03 or YC164 parts) has four isolated resistors of one value; whole resistors, and the two ends of one, can be swapped.
  • The agent can swap the two channels of a dual op-amp. Before, moving a signal from channel A to channel B of an LM358 took a disconnect and a connect for each of its three pins, and nothing stopped a half-done swap such as only the + inputs. Now one change swaps a whole channel: its + input, − input and output nets change places together, and the schematic and the board follow. The agent may only swap what the part’s card declares interchangeable, so it refuses to swap, say, an input with the supply pin or pins of two different parts. It is part of the changes you review. Only the LM358 and the new resistor array declare swappable pins so far.
  • A linear regulator that would run too hot is flagged. A 5 V → 3.3 V LDO in a SOT-23 feeding 500 mA burns 0.85 W, about three times what that package sheds, and it passed every check. Now the checks work out each linear regulator’s loss, (Vin − Vout) × the output rail’s current, and compare it with a typical limit for its package (SOT-23 about 0.3 W, SOT-223 about 1.1 W, DPAK about 1.4 W, at 25 °C ambient): an error over twice the limit, a warning over it, with a bigger package, a buck converter or less current as the fix. Where the rail has no current set, or the package is not one the check knows, it says the loss is unknown rather than letting it pass, so set the rail’s current (the agent does this). The limits are typical figures, not your part’s datasheet: a large copper area under the tab does better. The check is SEM.LDO_DISSIPATION.
  • Colour themes for the schematic (Settings → Appearance → Schematic colours): Pale yellow, Navy on cream, Green on black, Blueprint and Black on white, besides following the app’s light or dark. A theme colours only the schematic canvas: wires, symbols and their fill, text, net labels, supply symbols, the sheet and its frame. Printing and the design document stay black on white; the agent’s pictures of the schematic show the theme you see.

Sourcing

  • A part search that finds nothing says whether the house lists the part at all. Searching JLCPCB for a part it has none of in stock, such as a supercapacitor, used to answer only “no parts in stock”, and the agent could not tell an empty shelf from a part JLCPCB never carries. Now it names the matching parts JLCPCB lists with no stock (its supercapacitors are seven 2.5 V parts, none in stock), or says JLCPCB lists none under those words, and suggests what to do next: other words, another assembly house, or a part you buy and fit by hand (marked DNP). A capacitor search of 1 F or more now asks for “5F”, not “5000mF”.
  • Parts that only JLCPCB’s Standard assembly takes are named. JLCPCB marks some parts “Standard only” (WS2812-type LEDs, some electrolytic capacitors), and one such part sends the whole order to Standard: a higher setup and stencil fee, and a loading fee for every part number, not only the Extended ones. The cost check used to price these orders at the cheaper Economic service anyway: a 2-board order estimated at $80 was billed $133. Now Economic says it cannot take the order and names the parts. The stock check tags them “Standard only” and prefers replacements that Economic takes. The cost check says what replacing them would save and names a like-for-like part where it finds one.
  • The stock check no longer reads as an all-clear when nothing could be checked. With no LCSC numbers on any part, the agent’s stock check at JLCPCB said “0 part number(s) fine to order”. Now it says how many parts have no part number and that the order can’t be checked yet; when only some parts have one, it also says how many have none.

Board

  • A hand-made land pattern that doesn’t line up with itself is reported. When the agent builds a module’s footprint pad by pad from the datasheet, it can misread a dimension. In one case it moved the top and bottom pad rows of an ESP32-C3-MINI-1 but left the side pads and the centre pad where they were. Nothing in 4k7 noticed, and only JLCPCB’s footprint check stopped the order. Now a footprint with pads on all four sides (QFN, QFP, LGA modules) whose side columns aren’t centred between its top and bottom rows (or the rows between the columns) gets a warning, XCHK.LAND_OFF_CENTRE. It names the part, the pads that are off and by how much (“the left column (pads 1–11) is centred 0.7 mm above the midpoint between the top and bottom rows”). The agent then reads the land pattern again and corrects the footprint.
  • 3535 power LEDs and JST XH connectors have packages. Asked for a 3.5 × 3.5 mm power LED (the Cree XP-E/XP-G class) or a JST XH connector, the agent was refused, because no package had those names, and it had to guess. Now 3535 or LED-3535 gives an LED the usual 3535 land pattern: anode and cathode strips with an isolated thermal pad between them. Check it against your LED’s datasheet, because a few makers put the cathode on the other side. JST XH, JST-XH-2, B2B-XH-A and KiCad’s JST_XH_… names give a connector the 2.5 mm through-hole footprint, with the housing drawn as its outline. When a package name is still unknown, the refusal lists the closest known names.
  • Power tracks keep their width up to the pin: the router now runs a power net, or a net whose width you set (set_net track_mm), at that width all along, and narrows it only in a short neck of about a millimetre right at a pad too small for it, such as a QFN or SOT-23 pin. Until now one such pad made the whole connection narrow: a 0.5 mm supply track to a QFN pin was laid at the 0.25 mm signal width for its full length, 11 mm on a test board, where it is now 0.5 mm for all but the last 1.2 mm. Boards routed with an earlier version are routed again the first time you open their layout.
  • DRC.NECK also names a track that stays narrow for longer than a neck: a narrow track that ran into a small pad was let be however long it was. Now only a short neck right at such a pad is. For a track the router laid, the warning tells the agent to make room there (move or turn the parts in the way) and route again, not to lower the net’s width.

Board layout

  • The board now checks power tracks and plane vias against the net’s current. Before, a net’s maximum current only gave a suggested track width, for 1 oz outer copper, and nothing checked the copper as it was laid. A 0.25 mm track on a 2 A rail, a rail on an inner layer of thinner copper, or a pour on top joined to a plane by a single via all passed without a word. Now every track of a net with a maximum current is checked against that current, using its layer’s copper from the stack-up. Vias are checked where they are the only way the net’s copper crosses between two layers. The Issues list shows DRC.CURRENT_UNVERIFIED for tracks and DRC.VIA_CURRENT for vias. Each is a warning, or an error when the copper carries less than half the current. The check counts the whole current everywhere on the net, so a short branch to a pull-up can be flagged that in fact carries little; the message says so. A supply or ground net without a maximum current shows as DRC.CURRENT_UNKNOWN (info) and is never reported as fine. The agent reads all of this with get_current_map. How much the copper may heat is a new board rule, 10 °C by default; ask the agent for 20 or 30 °C on a dense board. The width the Inspector suggests for a net’s current now uses the board’s outer copper and this rule.
  • A heat map shows how hard the current works the power copper (Layout → layers → Current · heat map). The current check above was only a list of findings; where on the board the narrow piece or the lone via was, you had to look up by coordinates. Now the layout view can colour each power track by how much it would heat at its net’s maximum current, against the board’s allowed rise: blue and green well under it, yellow up to it, orange up to twice, red beyond (a 0.25 mm track on a 2 A rail, about +66 °C against 10 °C, is red). A track that is too narrow for the whole current, where nobody has said that much flows there, is dashed in its colour, with a “?” in its tooltip; a supply or ground net without a maximum current is grey and dashed, never blue. Vias that are the only way between two layers get a ring in the same colours with their count. Signal tracks are faint; pours and planes keep their layer colour, as their current is not worked out yet. Hover a track for its net, width, copper, current, the width it needs and its estimated heating. The map turns on by itself while a current finding is open in the Issues list; switch it off and it stays off until you reload. The agent’s pictures of the board show it too, so it can look at a spot after widening a track.
  • The agent can size a track or vias for a current with the same numbers the check uses. Before, the agent could only guess a width from a rule of thumb and find out after routing whether the current check agreed. Now its calculator gives the width a current needs on a given layer of your stack-up (a 2 A rail needs 0.8 mm on 1 oz outer copper and 1.8 mm on the 15.2 µm inner layers of JLCPCB’s 4-layer boards), the current a width carries, or how much it heats, at the board’s allowed rise, and how many vias of a given drill the current needs. The answer is what the current check will say.
  • Say what each pin draws, and the current check follows the current where it really flows. The current check counted a net’s whole maximum current in every track, so on a 2 A rail the 0.25 mm branch to a pull-up was flagged as unverified next to the real problems. Now the agent can state what the pins on a net draw, from their datasheets (set_net loads, for example 1.8 A into a regulator’s input and 1 mA into a pull-up); vias it placed at a pad for a given current count too. The board then works out how the current divides over the net’s copper, from where it comes in to each pin: the branch to the pull-up carries its milliamp and passes, and a track too narrow for the current that really flows through it shows as DRC.TRACK_CURRENT (a warning, or an error over twice what it carries), with the width it needs. Where the loads stated add up to less than the maximum current, the rest may flow anywhere and is still checked. A net fed from two places stays on the old check. On the heat map such copper is drawn solid in its colour, and its tooltip gives its current and the voltage drop along it. A ground net without its own maximum current is now checked against the sum of the rails’ maximum currents, when every rail has one.
  • The board warns when a supply rail loses too much voltage on its way to a load. The current check worked out how far the voltage drops along each track once the agent states what the pins draw, but only showed it in the heat map’s tooltip: a 3.3 V rail could lose 180 mV over a long 0.3 mm track to a 1.5 A load without a word. Now a drop of more than 3 % of the rail’s voltage from where the current comes in to a load pin shows in the Issues list as DRC.IR_DROP (99 mV on a 3.3 V rail), a warning, or an error over 6 %. It names the pin, the drop and the tracks that lose the most on the way, and the agent’s fix widens them. The rail needs its voltage set; without one the drop is not judged, and the agent’s current map says so. Pours and planes still count as lossless, so a rail fed through a narrow neck of a pour can drop more than shown.
  • The board warns when a pad’s thermal-relief spokes are too thin for its current. Where a pad or via joins a copper pour through a relief (a ring with up to four thin spokes, so it can be soldered), those spokes are often the narrowest copper on the current’s way, and the current check did not look at them: a connector pin feeding 5 A into a pour through four 0.25 mm spokes, which carry about 3.5 A, passed. Now such a joint shows in the Issues list as DRC.SPOKE_CURRENT, a warning, or an error over twice what the spokes carry, with the spoke count, their width and the current. It is only checked where the current really comes through the spokes: a decoupling capacitor on its pour is left alone, and a rail without a maximum current gets no finding. The agent’s fix drops the pad onto the pour with vias beside it, which join the pour solid, or widens the plane’s spokes. The heat map draws a ring with the spoke count round each such pad.
  • The 3D view no longer covers the board with orange boxes. Since 0.2.0 the Layout’s 3D view drew a faint orange box out of every connector, the way a plug needs, and they cluttered the board, most of all seen from above. Now they are off: turn them on with the plugs button at the bottom right of the 3D view when you want to check which way a connector faces. The Enclosure view still shows the way out of each connector its enclosure opens.
  • Test points on the power rails. When a first board came back you had to probe 0402 pads to check a supply. Now the agent adds a test point on every power rail by default, and on any net you name (GND, a reset, a clock): a bare 1.5 mm round pad next to the part that drives the net (the regulator or inductor, the input connector), named TP1, TP2 … with TP_<net> on the silkscreen, for example TP_+3V3. The pads cost nothing: they are copper only, so they stay out of the BOM, the pick-and-place file and the cost. Asking again adds none twice. A through-hole loop a probe hooks onto (generic:TP_LOOP, Keystone 5000 series) and a smaller 1.0 mm pad are in the library too.
  • A part attached to an inductor now stands beside it. A part the agent put at an inductor’s pin (or at another part that is itself at an IC) could end up on the far side of the board. It now goes next to that pin.
  • The agent can lay one connection itself and let the router do the rest. Before, the agent could only steer the autorouter from afar (where parts go, widths, planes, vias); to say “this track goes here” it had to take over the whole board’s copper and draw every track by hand. Now, while the router lays the copper, the agent’s draw_track between two pads (for a switching loop kept tight, a high-current path, a sensitive trace kept away from noise) is laid first on every route, through the points the agent gives and on the layers it asks for, and never ripped up; the router routes everything else round it. The points move with the part they are near. Where it finds no way, the router routes that connection its own way and the board check warns with DRC.TRACK_NOT_LAID, saying why and where. Boards without such connections route exactly as before.
  • The agent can give a functional block an area of the board, and its parts stay inside it. Before, keeping a block together (the feedback divider by the regulator, an analogue section away from the switcher) took a dozen “keep these parts near each other” constraints, and the next automatic placement often undid part of them. Now the agent gives the block a rectangle on the board (a room), and the placer keeps the courtyards of all the block’s parts inside it, on every later placement too; the other parts are not affected. Where the room is too small for its parts, the placer puts what fits inside and the rest next to it, and the warning DRC.ROOM names the block and the parts left outside. The room stays until the agent removes it.
  • The agent can lock a net’s routed copper so later routes leave it alone. When a route gets a net right (the switching loop tight, the power path short), the next route after some other change could lay it differently. Now the agent’s lock_copper keeps that net’s tracks and vias exactly as they lie: every route lays them first and routes the rest round them, and locking does not mark the routing out of date. If a part is moved off locked copper, the pieces it touched are left out but stay locked, and come back when the part does; the board check warns with DRC.LOCKED_BROKEN and says how much still fits. unlock_copper lets the router route the net its own way again. Where locked copper, or a track the agent laid, blocks another connection, the open connection now names that net as in the way instead of saying the pad is closed off.
  • The agent can have one net routed before the others, and keep a net to a layer. Before, the router took the connections shortest first, so a switching node or a clock got whatever way was left after the short signals, and it chose each track’s layer on its own. Now set_net route_first has the router route that net first on every route, so it gets the short, clean ways, and set_net layer makes a net’s tracks keep to one copper layer where that is about as short: a preference, not a ban, so it still changes layer where it must (a connection drawn with draw_track keeps the layers the agent gave it). Changing either routes that net again without making the routing out of date; get_net shows them. To keep copper out of an area, the keep-outs (add_keepout) already do that, and the router keeps these nets out of them too. Boards whose nets set neither route exactly as before.

Production files

  • The fab zip has fabrication notes (-fab-notes.txt): the board’s thickness and copper weights, the stack-up it was designed for with its materials, and a table of the lines at a set impedance (target, layer, width and gap, the plane each runs over). Until now the stack-up and impedances you set stayed in 4k7, and a board with a 90 Ω USB pair could be ordered without asking for impedance control. The file then says how to order at JLCPCB, PCBWay and Eurocircuits: at JLCPCB, set Impedance Control to Yes with the stack-up named in the file selected (JLCPCB reads the order form, not the file); at PCBWay, ask for impedance control and point the order’s remarks at the file; at Eurocircuits, order in the defined-impedance pool. Finish, solder mask and silkscreen colours are chosen when you order. A board with no impedance lines says so and gets no table. The design document’s Layout section shows the same stack-up, impedance table and finish.
  • The layout’s checks include the production files’ read-back. Since 0.6.1 the Gerber and drill files were read back and checked against the design only when you exported them or opened them in the Gerber viewer. Now the same check runs by itself a moment after the board is routed, and what it finds shows in Layout → Checks beside the DRC and in the issue count: two nets joined in the files (FAB.SHORT), a net in pieces (FAB.OPEN), a pad with no copper (FAB.PAD_MISSING), copper joined to nothing (FAB.FLOATING). Pick one to see the spot on the board. A finding disappears when you change the copper, and comes back only if the new files still have it. The agent gets them from get_diagnostics.
  • The agent can no longer propose a board whose production files have an error. An agent connected over MCP could hand you a routed board for review while Layout → Checks listed a short, an open net or a missing pad in its Gerber and drill files (FAB.SHORT, FAB.OPEN, FAB.PAD_MISSING). Now propose waits for the files’ check, refuses while one of these errors is open, and tells the agent where each one is so it fixes the copper first. Copper joined to nothing (FAB.FLOATING) is a warning and does not stop it.

Fixes

  • Parts you or the agent placed stay put when another part moves. Until now a part placed with place (or dragged on the board) was kept relative to the part the placer guessed it belonged with, often the main IC: when the agent moved that IC or a connector, every part placed round it moved too, and on one board the agent locked about 50 parts one by one to stop it. Now a placed part stays where it was put, with no lock needed. It follows another part only when that is said with attach (the cap belongs with its IC). Parts the placer put down itself still move with the part they belong with. Choices saved earlier are kept where they stand the next time the part they followed is moved.
  • Changing a part’s value now tells the agent when its package changes, and what the bigger land runs into. Raising a generic capacitor’s voltage rating above 25 V (or its capacitance, or a resistor’s power or an inductor’s current) quietly moves it to a bigger package, for example from 0603 to 0805. On a routed board the bigger pads can then sit over or too close to a via or track that was already there, but the edit reported no new errors, and the clearance error only showed the next time the board was checked. Now the edit’s result says so, for example “C3: package 0603 → 0805 (50V rating)”. On a routed board it also lists any DRC.SHORT, DRC.CLEARANCE or DRC.VIA_IN_PAD errors at the new pads, so the agent moves the part or routes again before it reports the board as clean.
  • The autorouter no longer lays acid traps of its own. Where a routed track ended on the side of another track of its net, it often met it at 45°, and Layout → Checks then warned about an acid trap (DRC.ACID_TRAP) on copper the router had laid itself. The agent spent turns bending tracks it never drew. On a test board of the 12 V buck with 4 ATtiny85 and their LEDs, one routing left 1 such warning, and the same board with 8 ATtiny85 left 3. Now the track turns just before the join and meets the other track at 90°, so those warnings are gone, and the router makes the same connections as before. Where there is no room for that turn the join stays as it was and the warning still shows. Route the board again to get the new joins.
  • The autorouter no longer bends a track back on itself. Where the router cut across a bend of its path, a track could run past the bend and come back at 45°, a hairpin with a narrow wedge between its two pieces, and Layout → Checks warned about an acid trap (DRC.ACID_TRAP) on the router’s own copper. On 300 small test boards of passives this happened once (the other 299 route exactly as before). Now the two pieces meet at 90° or wider, and the router makes the same connections as before. Where there is no room for that, the track stays as it was. Route the board again to get the new tracks.
  • Parts imported from a bottom-view pad drawing no longer come out mirrored. Many LED, connector and module datasheets draw the pads seen from below (“bottom view”, “pad side”). The import read every drawing as seen from above, so on a Cree XP-G3 the anode pad ended up on the cathode’s side, and nothing warned. Now the import records which way the drawing is seen and mirrors a bottom view to the top view, and the agent checks the label and the polarity mark when it reads the pads off a drawing, including when it gives a part a footprint of its own. An import whose drawing does not say which way it is seen waits for your review with a warning. Parts imported before this version keep their pads: if one came from a bottom-view drawing, compare its footprint in Parts with the datasheet and import it again if it is mirrored.
  • The agent’s search for part moves that free an open connection tries moves again on a crowded board. When routing left connections open, suggest_moves often answered that none of 0, 1 or 2 tries closed one, so the agent learnt nothing. It kept the small parts it tried 0.3 mm from their neighbours and 2 mm from the edge, further apart than the placer puts them, so on a packed board almost every move was thrown away before it was tried. Now a move only has to stay clear of the other parts and the edge clearance, as the board’s checks ask. It also tries 2 mm shifts, diagonal shifts, and shifts combined with a turn. On a 128-part test board 81 of 402 moves now pass this first check, where 9 of 50 did; the best 12 are routed in about 10 s (15 s at most, as before). When nothing can be tried, it says why: which parts stay where they are and why (for example “U1 (a main part); J1 (locked)”), that there is no room round the parts, or that every move makes the placer shift many other parts because the placement still has overlaps to fix.
  • The Gerber viewer no longer says copper reaches past the board outline when it doesn’t. On a board with a copper pour, the read-back of the production files said that top and bottom copper reach 0.8 mm past the board outline, while the board view and the edge-clearance check showed all copper inside. The read-back counted the gaps the pour keeps from the board edge, which the files draw as cut-away copper along the outline. Those gaps remove copper and add none. Now only copper that is really there counts. When something does stick out, the note names the layer, the edge and roughly where (for example “at its right edge, round x 11.0, y 5.0 mm”), so you can find it in the viewer. This goes back to 0.6.0. The files themselves were always right, so you don’t need to export them again.
  • A datasheet import waiting for your review no longer blocks the agent’s next import. While one import waited for review in Parts, the agent’s import_part for any other part was refused, and so was one while an import was running. The agent could only ask you to save or discard the first, so a design needing several new parts stalled. Now the next import is queued behind it. The agent is told what it is waiting for, and can settle the review itself (pending_import) or leave it to you. The queued import starts by itself once the review is saved or discarded.
  • A datasheet link that does not lead to a PDF says what came back. Some manufacturers’ links, Cree LED’s among them, answer with a web page or a 404 instead of the PDF, and the import failed with only “not a PDF” or “HTTP 404”. Now the message names the link, where it was redirected, and what came back (for example an HTML page and its title), so the agent can look for the direct PDF link. A PDF with a few stray bytes before its header is now accepted.
  • The agent now sees copper shorts in its design checks. Two parts whose pads touched, or a track left lying over a pad after the part’s land pattern was edited, showed in Layout → Checks as DRC.SHORT, but the agent’s get_diagnostics did not list them, so it reported a clean board and found the shorts only in the production files’ read-back (FAB.SHORT). Now get_diagnostics lists the board’s DRC.SHORT and DRC.CLEARANCE findings. Each names both pieces of copper, such as track t1 (GND) touches U1.3 (not connected), and says what to do: move or erase the track, or move the part. A pad that is not connected counts as its own net, so copper over it is a short.
  • A pin rated lower than its part’s supply is now checked against the rail it is tied to. A part imported from its datasheet only took the supply’s absolute maximum, on its supply pins; a lower limit on another pin, such as 6.5 V on the EN pin of a 32 V regulator, only went into the pin’s text. So an EN pin tied straight to a 12 V rail went unflagged and the regulator would have failed. Now the import takes each pin’s own absolute maximum from the datasheet’s ratings table, and SEM.ABS_MAX flags the pin when its net’s voltage is above it. Parts imported with an earlier version have no such limits: import a regulator or driver again to have its enable and logic inputs checked.
  • A wrong timeout_s no longer ends wait_for_review or import_part at once: when an agent connected over MCP passed a timeout that was not a number (such as "abc") or a very large one (over about 25 days), the server gave up straight away with “The app did not answer wait_for_review within NaN s”, and the agent never saw what was wrong with its call. Now the server waits as long as the app allows for that tool (5 to 600 s for a review, 30 to 900 s for an import), so the agent gets the app’s answer: the review, the imported part, or a message saying what is wrong with timeout_s. This goes back to 0.1.0.
  • The built-in ATtiny85 (ATTINY85-20SU) has the footprint of the real part. The library gave it the narrow 150 mil (3.9 mm) SOIC-8, but the ATTINY85-20SU comes in Microchip’s 8S2 package, a SOIC-8 with a 208 mil (5.3 mm) body and leads about 7.9 mm across: on a board made with the old footprint its feet do not reach the pads (pad rows 5.3 mm apart instead of about 7.3 mm). It now has the 208 mil land and 3D body, named SOIC-8-208mil as JLCPCB lists the part. This goes back to 0.1.0. A design keeps the part as it was when the part was added, so in a design made before this version, delete its ATtiny85s and add them again, place and route them again, then export the production files again. The narrow SOIC-8 ATtiny85 is the ATTINY85-20SSU.
  • Renaming a project to the same name in other case keeps the name. On macOS and Windows, renaming project “lamp” to “Lamp” made it “Lamp 2”, as if another project already had the name. It now becomes “Lamp”. A project whose name really is taken still gets a number.
  • A project opened from a copied file is named after that file. Opening a copy such as bike-lamp-rev2.twd.json from outside the projects folder (Settings → General → Open file) made the project “bike-lamp 2”, named after the design inside the file, and opening a copy you had just put into the projects folder made yet another copy. Now the project is called “bike-lamp-rev2”, and a file already in the projects folder opens in place. A number is added only when another project already has that name, so no file is overwritten. This goes back to 0.2.0. A project already called “bike-lamp 2” can be renamed in Settings → General.
  • A project folder the app cannot read is reported once, with what to do. When the server could not read the projects folder, the message “Could not read the project files” came back every four seconds for as long as the app was open. Now it shows once (and again only if the reason changes) while the app keeps trying in the background. On a Mac, where the cause is usually that macOS keeps Documents from the program that started the server, the message says so and points to System Settings → Privacy & Security → Files and Folders.

0.6.1

Release on GitHub

If you ordered boards with a USB-C connector, or any part whose pins sit in slotted holes, inside a plane of another net: a plane could short such a pin to itself, and 0.6.0 still did. The production files are now read back and checked against the design on every export, so a fault that only the files have is caught before you order.

Production files

  • Every export checks its own files: the copper is read back from the Gerbers and drill files, joined through the plated holes, and held against the design’s netlist. The export says what it found: two nets joined (a short, with the pads and where), a net left in pieces where the board has it joined, a pad with no copper, copper joined to nothing. The files still download, so you can look at them. It takes about half a second for a board of 110 × 150 mm on four layers.
  • The Gerber viewer shows the same check beside the files. Pick a finding to see its layer with the holes, and a ring round the spot. Files you open there are checked too: against the netlist that came with them, if there is one, else against this board, which is how to check the zip you sent to the fab. Parts moved since are named and left out.
  • The zip has a netlist for the fab’s electrical test (IPC-D-356A, -IPC356.ipc): every pad and via with its net, where it is, its size and hole. The fab house compares it with the netlist it reads out of the Gerbers before it builds anything, so a fault only the files have stops the order, not the boards.
  • The agent gets the check too: view_gerbers lists the findings with where they are, and the agent sees which one you picked in the viewer.
  • Each file says which version wrote it, when, and from which board: until now every Gerber said version 0.1. The board is a fingerprint of its copper, the same on every export of the same board, so two sets can be told apart.

Fixes

  • A plane could short a slotted pin of another net to itself: a pad round a slotted hole (a USB-C receptacle’s shield pins) was cut out of a plane as a circle of the pad’s narrow side, so both ends of the slot stayed in the plane. On one board, the connector’s ground pins were shorted to the +3V3 area of an inner layer. The plane is now cut round the whole pad. This goes back to 0.4.0, when slotted holes came in. A design you routed before is mended when it opens, with no routing again: export its files again before you order.
  • Pads of two nets that touch are a short: a capacitor placed so its ground pad overlapped a regulator’s +3V3 tab by 25 µm was reported only as courtyards overlapping and a thin solder mask web. The board’s checks now call it a short, an error, as soon as the parts are placed.
  • A plane its net never reaches is reported: an area plane under parts that have none of its pins, or a local pour away from its pads, went to the fab as copper joined to nothing, without a word. It is now a warning (DRC.FLOATING_PLANE).

0.6.0

Release on GitHub

If you order boards, update: with two planes or pours on one copper layer, the Gerber files could leave a plane cut off from its vias and pads, while the app showed it joined. A Gerber viewer, in the new Tools tab, now reads production files back as the fab house gets them, for you and the agent; it is how this was found.

Fixes

  • A plane could be cut off from its vias and pads in the Gerber files when it shared a layer with another plane or pour: an area plane inside a full plane (+5V across In2.Cu, +3V3 under the MCU), or local pours on an outer layer. The clearances of the one written last cut through the other’s thermal spokes and solid joints, so in the files it touched none of its vias and pads, although the board view and the checks showed them joined. A full plane set again after an area plane on its layer also wiped the area out of the files. Each plane now keeps its cuts to itself. This goes back to 0.2.0: if a board of yours has two planes or pours on one layer, export its files again and look at them in the Gerber viewer before you order.

Gerber viewer

  • A Gerber viewer, in the new Tools tab: it opens on this board’s Gerbers and drill files, made from the design as it is (as Fab files writes them), and on Gerbers, drill files and zips from any other program when you drop them on it or pick them with Open files…. Each layer is drawn in its own colour, read back from the files themselves: switch layers on and off, look from the top or from below, zoom, pan, and click twice to measure. Beside it, what the files say: which layer each file is (from its X2 attributes, else its name, as KiCad, Altium, Eagle or EasyEDA name them), the board’s size, the copper layers, the holes per drill size, the smallest drill and track, and what looks wrong, such as no outline or a layer reaching past it. Its panel shows the panel’s files.
  • The agent looks at the production files too: ask it whether the files are right before you order, or about files you opened, and it gets the same summary and a picture of the layers it asks for, the whole board or a spot. The viewer shows what it looks at.

Known problems

0.5.1

Release on GitHub

A small security update. Nothing else changes in the app, and the known problems of 0.5.0 still stand.

  • A list over its limit is refused at once: the app checks what an agent sends with the Zod library, now at 4.6.7. Up to 4.6.5, Zod went through a list’s entries before it looked at the length, so a very long list of wrong entries could use up the memory of the browser tab (GHSA-mrhx-c7xc-m3w5). Only what an agent sends goes through this check, not a design you open. A list with no limit of its own, such as the operations in one change, is still checked entry by entry.

0.5.0

Release on GitHub

A schematic is now yours to put right: F and R work on every symbol, and names, values, power symbols and whole nets go where you want them. Wires join a pin from any side and go round the parts in their way, and Issues hold only what is wrong with the circuit. Editing a big design is several times faster, and the Codex CLI can answer the chat.

Issues

  • Issues are about the circuit: how a wire or a part is drawn no longer counts as an issue. The Issues list, the counts in the top bar and on a changeset, and the design document now hold what is wrong with the design: electrical checks, ratings and values, pins against footprints. So the list is far shorter on a design you know, with nothing in it changed: on one of 124 parts, 2 entries where there were 42. The drawing checks still guide the agent, and Settings → Schematic drawing sets how much; one you set to Must fix shows under Issues if the agent leaves it open, apart from the four the layout keeps to by itself (power symbols up, ground symbols down, straight wires, no loose ends). The app no longer lists the drawing findings: ask the agent, or press Optimize.

Schematic by hand

  • F mirrors every symbol: a transistor, optocoupler, relay, TL431 or bridge is drawn turned over, where F used to do nothing but mark it as yours. A resistor, capacitor or diode swaps its ends where it stands, and a load drawn on a transistor swaps its ends too, where it used to slide down the page on each press. A design you pressed F in stays as it is drawn when you open it. F goes by the symbol’s own frame, so a transistor you turned flips up and down on screen. See also Known problems below.
  • R turns every symbol: a crystal, transistor, relay, IC or connector goes round by quarter turns with its pins, and four presses bring it back to exactly where it stood. A turned IC’s pin names run along its pins. A tall IC can land on its neighbours, which leaves some of its connections as labels, and a redraw of a sheet of functional blocks with auto_draw drops the turn.
  • R keeps which end of a two-pin part is which: turning it twice gives back what was there. It used to come back with pin 1 on top, its wires drawn round to the other end.
  • Dragging, turning and mirroring a symbol are about five times faster on a big sheet. Working out a small part’s new drawing takes about a quarter of a second on a design of 124 parts, where a drag took 1.4 s in 0.4.0, and an RP2040’s under two seconds, where a drag took five.
  • Move a power symbol: drag a rail or ground symbol to another spot on its page. It stands there on a wire from the pin or wire it stood on, still pointing its own way, so you can clear it off a wire or a name. A click still selects its net. A spot on a part or on another net is refused. The agent can do the same (move_supply). The spot is not kept when the symbol’s block is redrawn or its part turned or mirrored: it goes back to the pin.
  • Drag a name or value to move it: only that text moves, in steps of 25 mils, and with Shift its partner goes along. A click on it still selects the part. A part given a new symbol or drawn afresh gets its text back in the usual place.
  • Label or wire, per net: select a net, and its panel has a label row. label · no wires puts a label or power symbol at every pin and takes the wires away; a label can land on a neighbour on a tight connector, where dragging or swinging it clears it. no label · wires joins the pins by wires, however they have to run, keeping a label only where no wire can go (another page or sheet, no clear path), and a power net keeps one symbol. automatic draws the net afresh, wired where that is clean; Undo is what brings back the earlier drawing. The choice holds when parts move or a block is redrawn, and the agent keeps to it. As with any hand edit, the sheet then stays as drawn instead of being redrawn after every change.
  • Remove an empty sheet: a sheet with nothing on it has an × on its tab, so it no longer has to stay as a blank page in the printout. Undo brings it back.

How a schematic is drawn

  • A wire joins a pin from any side: a wire along the top of a standing part now ends on its top pin, or runs on through it with a dot, instead of hopping over the pin to come down onto it. The agent can draw these straight, and a part you drag or place is wired in more places where it used to fall back to labels. Hops already in a drawing come out when it opens, unless the agent drew that wire through corners of its own: ask it to draw the wire again.
  • A wire no longer stays hidden behind a part: put a part down on a wire, by dragging it or through the agent, and the wire goes round it. Only the stretch behind the part moves, and what it connects stays connected. Wires already behind a part come out when the drawing opens. One that cannot get round, because a pin of its own lies under the part, stays until you move the part off it.
  • A wire no longer turns into labels by running over a pin of a part drawn off the wire’s grid: it now goes round that pin.
  • A wire no longer runs through a label or a power symbol, and labelling a pin no longer deletes a straight wire to another pin that carries a label.
  • A part’s name and value keep off the wires: where a sheet is drawn by the layout they now step aside by themselves when they would run into a wire, a part or a label, going side by side where a stack does not fit between two wires. On a sheet you or the agent arranged nothing moves until you ask: Text stays readable now looks at names and values too, so the agent knows of them and can clear them.
  • Power symbols on neighbouring pins no longer pile up: where a drawing leaves a part’s power pins without their symbols, after a new pin layout for example, neighbouring pins on one rail now share one symbol on a short wire along the pins, as the layout draws them, and a symbol steps clear of what else stands there. On an RP2040, six symbols on one column, with a +1V1 stem along a +3V3 one that read like a short, become one of each. It shows as soon as the design opens, and nothing in the file changes until you draw something there yourself: drag the symbol, or have the agent wire the pins.
  • A connector shows its pins’ names: an imported connector such as a USB-C receptacle now draws each pin’s name in its symbol, next to the number, as an IC does. A plain numbered header or a single test point stays as it was. Names on the top or bottom run along the pins, and those pins move aside to make room, so the symbol is wider when you open the design; the wires that hang only on those pins go with them, so a bar joining the grounds stays one bar. A wire that also reaches another part is cut back, and that connection shows as a label.

Coding agents

  • Chat through the Codex CLI: OpenAI’s Codex can answer the app’s chat on your ChatGPT plan or API key, next to Claude Code, GitHub Copilot CLI and OpenCode. Pick it with the model button under the chat box. It gets only the 4k7 tools, like the others: no shell, no files, and your own MCP servers stay out of it. A few of Codex’s own tools cannot be switched off and have nothing to act on here, and your ~/.codex/AGENTS.md is still read. It needs Codex 0.158 or newer, and Settings shows an older one as too old. It shows its answers a whole message at a time, and it can also drive the app from its own chat (see the README).
  • Codex is new, so tell us how it goes on GitHub: so far the real Codex program has run against a stand-in for OpenAI’s service, not with a real model, and on Windows only a stand-in program has run.
  • The agent can start a design over: ask it to, with or without some parts, and clear_sheet takes a sheet’s parts off in one step, with their connections and constraints and what stood on them on the board; keep names what stays. Copper on the nets that stay remains on the board, shown as dangling, until the agent erases it. remove_sheet takes an empty sheet away, and the agent now does so itself when it moves the last parts off a sheet. As with any change, you review it first, and Undo brings it all back.
  • The agent can describe a part’s pins: ask it to fill in or correct what the pins of a part in your design do, and it writes them on the part with set_pin_descriptions, no new import needed. You review them with the rest of the change; once accepted they are in the Parts view and in your library for later designs. An imported MCU’s alternate functions stay. It writes descriptions, not pin names or types, and only on a part the open design uses. Generic parts such as a pin header take none, because one card serves all of them.
  • Optimize can fix power symbols: the agent used to report overlapping power symbols on a part you placed as something it was not allowed to touch. It was told it could only move parts, though the kernel let it do more. It now knows that it may wire, label and erase at any pin in the area, and move power symbols. On a design with open errors the agent is still told its change is refused until those are fixed, though the review card appears.
  • The agent can fine-tune names and values: place_text puts a part’s name and value on any side, stacked or side by side, at exact spots, or with auto moves only what runs into something. It does this as the last step on a sheet it arranged, and it leaves the text you dragged alone.
  • The agent can turn symbols and sees which way round they are: place_symbol rotate does what R does, get_schematic shows mirrored and rotated, and the result says where a small symbol’s pins went or that nothing changed. Asking for a crystal mirrored when it already was changed nothing and said nothing, so the agent went round it with a worse drawing. A set_symbol layout refused for a crystal or transistor now points at mirror, and a part you placed stays marked as yours when the agent gives it another symbol.
  • A wire going round a part is not a detour: the agent was told a wire “turns back on itself” wherever it formed a U, even with parts between its ends that it had to go round, and spent its time on them. It now hears only of a hump with nothing in the way, one that could run straight.
  • The model list on a first start: on a new computer the list of OpenCode’s models stayed empty until the server started again.

Layout

  • A part dragged is settled in a third of the time: the board is ready again about half a second after the drop on a design of 124 parts with drawn copper, where it took a second and a half. The Layout view opens in half the time too.
  • A click selects, whatever the zoom: a hand that wobbled by one pixel on a click could move the part and add a step to undo when the board was zoomed out. Now a press only becomes a drag after a few pixels, as on the schematic.
  • ⌘R reloads the page again with a part selected, where it turned the part; ⌘L no longer locks it either.
  • A drag that is refused goes back at once, where it stayed where it was dropped for five seconds. The same for a silkscreen graphic and a panel’s tab.
  • The errors and warnings in the header count the board’s checks too, once the board is laid. A click there opens the list they are in.

Running 4k7

  • npm run dev no longer touches your designs: what runs from a checkout now keeps to itself, with an access key of its own, projects in ~/Documents/4k7-dev, libraries in ~/.4k7-dev (a copy of yours the first time, separate after that) and a port other than 7777. Half-done code cannot change a real design, and npm run dev and the app, or npm start, run side by side in any order. Open the link npm run dev prints, as the old address is refused. To try a design in development, open it there: Settings → General → Open file… copies it in.
  • The app opens beside another 4k7 server: a server with a different access key on the same computer no longer counts as the app’s own. Opening the app used to show a page refusing its link; it now starts its own server.

Known problems

  • F can draw a connection that is not there: on a two-pin part in a tight spot, such as two resistors stacked pin on pin, F can land the wrong end or its wire on another part’s pin, so that pin looks connected to the other net. On a real design of 124 parts, 7 of the 124 presses did this. F also keeps the wires at the part’s ends, which then change net, so one can stay behind as a long lead. Only the drawing is wrong, not the connections, and Undo takes it back.
  • Some new agent tools are untried in a real chat: move_supply, a net’s draw_as and clear_sheet have only been called directly in testing, so how well a model picks them by itself is still to be seen.
  • OpenCode 2 does not work yet, on any system, as in 0.3.0 and 0.4.0: a run stops with Agent not found. Until that is fixed, use Claude Code, Copilot CLI, Codex or an API key.
  • Windows has still run only on GitHub’s test machines, not on a desktop PC, and no agent has answered a real chat there. If you try it, tell us how it goes on GitHub.

0.4.0

Release on GitHub

4k7 runs on Windows now: a download with Node inside, and your coding agent found and started from it. A cut through the enclosure now shows everything it goes through as solid.

Windows

  • A Windows download: 4k7-windows-x64.zip, a folder with Node inside. Unpack it and double-click 4k7.cmd: a console window shows for a moment, the app opens in your browser, and it stops when you close the tab. It is not signed yet, so Windows may warn the first time (More info → Run anyway). npx github:hoihu/4k7 runs on Windows too.
  • Coding agents on Windows: Claude Code and GitHub Copilot CLI are found and started whether they came from npm or as a program, with no console windows, and stopping a run stops all of it. A batch file of your own around an agent is refused, and Settings says why.
  • It is new, so tell us how it goes on GitHub: so far it has run on GitHub’s Windows test machines, not on a desktop PC, and no agent has answered a real chat there. Windows on Arm has no download of its own; the x64 zip should run under emulation, untested.

Chat and agents

  • On every system the chat now gives your agent its rules in a file and your message on stdin, because a Windows command line has no room for them. Nothing looks different, but a script of your own around claude or copilot sees other arguments.
  • OpenCode 2 does not work yet, on any system, as in 0.3.0: a run stops with Agent not found. Until that is fixed, use Claude Code, Copilot CLI or an API key.

Enclosure

  • A cut shows everything it goes through solid: the box, the board and the parts used to be hollow, with tracks, pads and the far side of the walls showing through. Now each is a flat face: a shade of orange per piece, so pieces that touch stay apart, tan for the board, grey for a part. Thin copper gets no face of its own. The agent’s section pictures show the same.
  • A cut exactly on a face stays clean: where the plane lay on a wall or on the board’s top, at a round number on the slider, that face broke up into noise. Exactly on the board’s top, pads still leave faint specks.
  • No more orange flecks on the box: uncut, its inside glinted through at shallow angles and round the holes.

Settings

  • The command for the Claude Code CLI shows where the downloaded app really is. On Linux it used to show the Mac’s path.

0.3.0

Release on GitHub

The enclosure needs nothing installed now: the agent writes it as a script that the app runs itself. Schematics are drawn as framed functional blocks with the proper symbol for each part, and you can fix a drawing by hand. The board gets copper keep-outs, pairs routed together, length tuning and more of the checks a fab makes, and what goes to the assembly house says more: polarity marks on the silkscreen, each land held against the part the house buys, and the pick-and-place in the house’s own frame.

Opening a design from 0.2

  • Enclosures keep their OpenSCAD script as text, and the render says it needs rewriting: ask the agent to do it.
  • SMD electrolytic capacitors get new pads, because the old ones fit no real part. Check the copper drawn or routed to them.
  • A symbol that is drawn differently now, such as a crystal that was a box, is made again where it stood on a sheet the agent arranged. Its connections show as labels until it is wired again or its block is redrawn. A part in your library gets its new symbol only if its card already says what it is; otherwise import it again.

Schematic

  • Functional blocks: the agent says which parts belong together and roughly where each block goes (describe blocks, place_block), and each block is drawn as one framed unit. The pins that connect face each other, the connections inside are wired, and only the nets that leave the block get net labels (the three sheets of one real board: 145 net labels down to 42). A block taller than a page continues on the next, and the frames show on the canvas, in the print and in the design document. A sheet without blocks is drawn as before.
  • The standard symbol for each kind of part, not a box: crystals, polarised capacitors, inductors with their core, ferrite beads, Schottky, Zener and TVS diodes, push buttons, relays, optocouplers, fuses, thermistors, varistors, gas discharge tubes and common-mode chokes. The symbol is picked from the part’s card, and set_param sets an inductor’s core or a diode’s type. Multi-line ESD arrays, solid-state relays and logic-output optocouplers stay boxes for now.
  • Fix a drawing by hand: drag a symbol to move it (on the grid, its wires drawn again; what cannot be wired shows as labels), drag a net label round its pin, press R to turn a selected two-pin part or F to mirror an IC or connector, and Delete to take a clicked wire or label (or the selected parts, after asking) away. No new tools or buttons: each gesture is one of the agent’s own operations, one undo step, and a part you placed stays where you put it when the agent redraws. Mirroring a connected IC can send its wires the long way round.
  • A small part placed on its own is wired, not labelled: a resistor, capacitor, LED or other two-pin part placed with place_symbol is wired to the nearest pin of each of its nets when the wire is clean (no crossing, no jog, no detour, short), and connected by net labels otherwise; the result says which pins got wires and why the others did not. Two example circuits placed part by part: 16 net labels down to 11 and 15 to 11.

Board

  • Copper keep-outs: an area of the board where tracks, vias, pours or parts are not allowed, on all layers or the ones named: an antenna’s clearance, the plane cleared under a wide pad or a coil, a no-via zone. A rectangle or a polygon, and it can be attached to a part, so the clearance moves and turns with the antenna. There are no buttons: the agent sets them (add_keepout, edit_keepout, remove_keepout), and its layout guides for antennas and RF connectors tell it when.
  • Everything keeps out of it: pours and planes (inner ones too) are cut round it and the Gerber copper file shows the cleared zone; the router and the placer keep out; draw_track, draw_pair and draw_via refuse to enter one and say where; DRC.KEEPOUT finds copper or a part that is in one anyway. It is hatched in the 2D view, and listed by get_board and in the design document.
  • Pairs routed together: with a differential pair’s impedance rule set, the router lays the pair as two tracks side by side at the rule’s width and gap, and changes layer with a via for each track. Where it cannot keep them together it routes the two nets apart and says so (the route effect, or an IMP.PAIR note on the board). Lines at a set impedance are routed before the other nets, which keep off the plane under them. So far this has been tried on small boards (40 × 20 mm).
  • Length tuning: the new tune_length op adds a meander to a drawn track to reach a length or to match the other member of a pair (or the longest of a group): square bumps with 45° corners on the track’s own layer, clear of other copper. It says the length and skew reached, and where there is no room when there is none.
  • Parts on the bottom side, end to end: place (and the parts of propose_placement and try_placements) take side: "bottom"; nothing flips a part by itself, the agent decides. A bottom part is mirrored, its SMD pads, mask, paste, silkscreen and polarity marks are on the bottom, and its courtyard collides only with parts on the same side (through-hole parts take both). The Layout view’s copper checkboxes carry each side’s parts, and the agent’s guide says when the bottom side pays and what it costs. The pick-and-place writes a bottom part’s rotation as KiBot’s notes describe JLCPCB’s, not from anything JLCPCB publishes: check those parts in the order preview before your first bottom-side order.
  • A steadier placer: moving or locking one part now moves only what the move needs. The parts that follow it go along, the parts it pushes into give way, and everything else stays exactly where it was (on the 130-part bench, six nudged small parts moved 69 others, six main parts 326; now 6 and 26). Incremental routing keeps more of its copper after a move (197 of 201 tracks instead of 168 of 207 on one bench move).
  • Congestion as a placement measure: get_board and try_placements also report where the ratsnest wants more track than the layers carry (congestion_mm, congestion_peak). try_placements, refine_placement, the refinement in propose_placement and the screening in suggest_moves now rank by a routability score that includes it. On a 2-layer bench board the refined placement routes with 124 vias instead of 131.

Checks

  • The schematic, the board and the BOM are checked against each other (XCHK.*, in get_diagnostics and the Inspector): a symbol pin with no pad in the footprint, a pad no pin is on, a pin that matches its pad only in upper/lower case (the board would not connect it), a net left short of pads on the board, a package parameter the footprint does not follow, a part with no footprint that is then in neither the BOM nor the pick-and-place, and a mounting hole, plane, via group or drawn copper on a net the schematic no longer has. Each says what to change.
  • Panel tab zone (PANEL.TAB_ZONE, PANEL.TAB_OVERHANG): parts, pads, tracks and vias within 1.5 mm of a tab are flagged (JLCPCB: ceramic capacitors crack where the board is snapped out), and a part over a board edge that has a tab is an error.
  • Solder-mask webs (DRC.FAB_MASK_WEB) between pads of different nets that fall below the fab profile’s mask bridge (JLCPCB and PCBWay: 0.1 mm), and silkscreen text lower than the fab prints (DRC.FAB_SILK_TEXT).
  • Etching checks, as rules of thumb: acid traps (DRC.ACID_TRAP, tracks of a net meeting below 90° with an empty wedge) and necks (DRC.NECK, a track narrower than its net’s width).
  • Thermal reliefs are checked: DRC.THERMAL_SPOKES for a pad with fewer than two spokes to its pour (an error when it is cut off), DRC.FAB_SPOKE for spokes thinner than the fab’s tracks.
  • Dead copper was already left out of the pours; DRC.DEAD_COPPER (a note) now says where it was.

Enclosure

  • Nothing to install: the box no longer needs OpenSCAD. The agent writes it as a script that the app runs itself, in a sandbox of its own, on Manifold (the geometry engine of OpenSCAD 2025). A small box renders and is checked in a fraction of a second.
  • Round boxes, lights and lenses: round_extrude rounds any outline before the cavity is cut, dome and lens make lights and lenses, and sdf with smooth_union makes forms with no straight edge.
  • What the agent is told: a syntax error is refused when the script is set, every error gives its line, echo prints measures to the report, and a new warning (ENC.NEAR) finds a wall under 0.2 mm from a part. Mistakes that used to pass in silence stop the render, such as a helper that forgot its return.
  • Label capitals are now exactly the size asked (they came about 4.5 % small).
  • The Enclosure view downloads the script as .js; board.scad stays, for a box of your own in OpenSCAD.
  • The cut goes across x, y or z. The buttons for a cut through one opening (“at J2”) are gone; the agent’s own pictures through each opening stay.

Sourcing and assembly

  • Polarity marks the assembler can read: every part that goes one way round is marked on the silkscreen by what it does: a dot by pin 1 (and a chamfered corner on bodies of 2 mm and up), a band at the cathode, a “+” at the plus terminal. The Gerbers, the 2D view and the design document show the same marks, and the old dash beside pad 1 is gone. set_polarity says which way round an imported part goes when its pin names do not, DRC.POLARITY_UNKNOWN finds a diode or LED whose pins say nothing, and DRC.SILK_POLARITY says what is in the way when no mark fits.
  • Each land held against the part the house buys: the stock check lays JLCPCB’s own footprint for the part on the component’s land and pairs them pin by pin. A land that does not fit stops the order, with the reason in words. Eurocircuits and PCBWay keep the check by package name.
  • SMD electrolytics (CAP-4x5.4 to CAP-10x10) get V-chip lands, a pad under each lead as the makers recommend, with the outline chamfered on the + side and a 3D body of base plate and can.
  • The pick-and-place in the house’s own frame: JLCPCB counts a part’s rotation from its own library’s footprint, which differs from ours for many packages, and its engineers turned those parts by hand. Where the stock check has laid that footprint on the part’s land, the row now gives the house’s own rotation and origin; every other part keeps the board’s frame.
  • Fab files check first: exporting runs the stock check when the parts carry the house’s numbers, still writes the zip, and its message names the parts that stop the order.

Parts and datasheets

  • The importer knows inductors, diodes and LEDs as categories of their own, names a polar part’s terminals K/A or +/−, and is told how to name the pins of relays, optocouplers, switches and chokes.

Licenses

  • Third-party notices ship with the app: THIRD-PARTY-NOTICES.txt in the app’s folder has the license of every package and font built into it, such as pdf.js, Manifold and Liberation Sans. The downloads also carry Node’s own license (LICENSE-node, beside the Node binary).

Fixes

  • An imported fuse, ferrite bead, thermistor or choke in a supply line left the net behind it “power not driven”: power now passes through them, though not across varistors or gas discharge tubes.
  • Picking a part in the Inspector, or taking its values, sent JLCPCB’s spelling of an electrolytic’s package, which the kernel refused; it now sets the part’s can.

0.2.0

Release on GitHub

The chat runs on the coding agent you already use, projects are files on your computer, and the agent now takes a board from placement to the last routed connection, designs an enclosure for it, checks stock and cost at three assembly houses and lays lines at a set impedance.

Chat and agents

  • Chat through your coding agent: Claude Code, GitHub Copilot CLI or OpenCode, run by the local server on your own plan or company login, with only the 4k7 tools. Each of them can also import datasheets.
  • API keys for more services: OpenAI, OpenRouter, Google Gemini, a local model (Ollama, LM Studio) or any OpenAI- or Anthropic-compatible address, beside Anthropic; one key per service (Settings → API keys).
  • The model button under the chat box picks the agent or service and its model, with favourites (★), the effort level and web lookups. Switch in the middle of a conversation: the design stays.
  • Settings → Coding agents shows the program each agent runs and its version, takes the path of another one, and Look again finds an agent installed after the server started.
  • Rebuild a schematic from a picture: drop, paste or attach a picture or PDF of a schematic, and the agent reads it, zooming in on values and pin numbers, and rebuilds the circuit.
  • The agent sees your view: each message says which sheet or board you are looking at and, zoomed in, the area and the parts in it, so “improve this area” needs no coordinates.
  • Keep the conversation in the project file (opt-in, Settings → General → Conversation): every message, tool call and decision, with the attached pictures and PDFs. Earlier sessions show read-only at the top of the chat.
  • Drag the edge of the chat or of the side panel to resize it.
  • The chat box starts five lines tall, an empty chat just asks “What do you want to build today?”, and the suggestion chips are gone.
  • The offline demo is gone; a new chat starts on Claude Code.

Projects and settings

  • Projects are files on your computer: one <name>.twd.json per project in ~/Documents/4k7 (or the folder set as "projectsDir" in ~/.4k7/server.json), saved as you work; imported parts, artwork and datasheets go to ~/.4k7. What 0.1 kept in the browser becomes files the first time each browser opens this version. Without the server the header says “not saved”, and the changes are written once it is back.
  • Settings shows one section at a time. General holds the project (its file, Show folder, Save copy as…), Open… and New.
  • Notes for the agent in your own words, sent with every request: for the schematic drawing, the board layout and the enclosure (in Settings).
  • The resistor logo in the app, and browsers now show its icon.

Schematic

  • The agent places parts and draws the sheet: it puts symbols where it wants them (place_symbol), chooses a wire or a net label for each connection (wire, label, erase), or hands a sheet back to the automatic layout (auto_draw). Once it arranges a sheet, the drawing is kept and follows the netlist: removed parts leave, renamed nets follow, new parts go to a free spot, and a connection the drawing does not show gets a label, so none is ever left out.
  • The agent arranges a symbol’s pins as the datasheet draws them (set_symbol), and the arrangement goes back to the library part.
  • Supplies point up and ground points down, always; a divider on an IC pin is one column; pull-ups stand and pull-downs hang.
  • Wires stay tidy as the agent draws: no loops, no runs drawn twice, no humps beside lying parts (a 21-part buck: 144 wire segments down to 87).
  • Drawing checks (SCH.*: crossings, jogs, detours, overlapping text, dangling wires…), each set to Must fix, Warn, Note or Off in Settings → Schematic drawing. ✦ Optimize judges how a drawing reads, and the agent looks once more at the drawing warnings its change brought before it finishes.

Board

  • The agent places the board: it decides where the main parts go and the placer arranges the small parts round them (Propose placement). try_placements measures 2–8 arrangements against each other (ratsnest length, crossings, board size, a trial routing) without changing the design and explores round the best one; refine_placement untangles the small parts.
  • Who placed what: the parts you place are your decisions and stay where you put them; the agent’s choices show dashed, yours solid. Continue layout ✦ hands the board back to the agent.
  • Routing to completion: the router keeps going until nothing is open (a 128-part, 2-layer board: 8 open connections down to 0), and every open connection says why (the nets in the way, the parts nearby). The agent does not hand over a board with open connections without saying why. Routing is drawn live, Stop keeps the best pass so far, and a routed board is saved with the project, so it opens routed.
  • Incremental routing: after a change the copper that still holds stays, and only what is open is routed again (most small moves in 0.3–1.5 s instead of 2–7 s).
  • Drawn copper (opt-in per project, Layout → Copper): the agent lays the tracks and vias itself, each checked as it is drawn, and a part that moves takes its tracks along. The router becomes a helper that routes the connections the agent names around its copper, and suggest_moves finds small part moves that close open connections.
  • Planes and vias: split planes on inner layers (+5V across a layer, +3V3 under the MCU), local pours on the outer layers (GND only round a regulator), plane styles (gaps, thermal reliefs or solid joints), and vias placed on purpose: thermal vias in an exposed pad, stitching grids and fences, and drop vias for high-current pads, each on its own stub.
  • Lines at a set impedance: a stack-up per board (JLCPCB and PCBWay presets, or imported from your fab’s page) and impedance rules per net or differential pair; a 2D field solver works out each layer’s track width and gap. The agent draws pairs side by side and fences RF lines with ground vias, and the IMP.* checks hold the copper to it: width, an unbroken reference plane, pair gap and skew, a ground via beside each signal via. It follows a guide for fast interfaces and RF lines.
  • STEP export (Layout → Files): the assembled board for your mechanical CAD, with its outline, holes and the part bodies as solids, each part a component named by its designator.
  • Silkscreen text from a stroke font, mirrored on the bottom side so it reads from below.
  • Slotted holes and pads with several pins, in the Gerbers, the drill file, the 3D view and the STEP model.
  • A part you or the agent place may go right up to the board edge, such as a USB-C connector flush with it.
  • A Dimensions layer: the board’s size and the mounting holes’ positions and diameters, also drawn in the design document.
  • Pads and planes follow their copper layer’s colour and checkbox.
  • Smooth zoom and pan in Safari (zooming a 252-part board: about 130 ms a frame down to 17 ms).
  • The board actions moved from the tool bar to the side panel (Placement, Copper, Files); click a check to read its whole message.

Enclosure (new)

  • A box for the board, a new step after Layout: the agent agrees a brief with you, writes the box as an OpenSCAD script around the board, renders it with the OpenSCAD on your computer and fixes what the checks find (a part in the way, a blocked opening, no room under the lid, the board not held on its holes) until it is clean. Connectors know which way they are plugged from.
  • Ready to print: one 3MF plate with every piece turned onto the bed, or an STL per piece; warnings for steep overhangs, wide ceilings, thin walls and pieces that may warp.
  • Labels and logos on the box: engraved, raised or inlaid in a second colour, from your artwork library.
  • A cut you move through the box, along x, y or z or across an opening, with the slider or by dragging it. The agent knows where the cut is, so “this wall is too thin” needs no coordinates.
  • Enclosure notes for your printer, material and fasteners (Settings → Enclosure); hide the board to see how the box holds it; plug paths in the Layout’s 3D view.

Sourcing and cost

  • Pick the assembly house (Layout → Sourcing): JLCPCB, Eurocircuits or PCBWay. The checks, the Inspector, the agent and the BOM in the fab files follow it.
  • Live stock from JLCPCB itself, read by the local server; stock that is not known shows as unknown, never as 0.
  • Check stock for the number of boards you build: what stops the order (out of stock, too few, gone, not the part the design asks for), what wants a look, the fees, and in-stock replacements one click away. At PCBWay, which buys every part for the order, Check BOM says what it could not buy.
  • Check cost: the order with every assembly fee (JLCPCB’s Economic and Standard assembly as a range, Eurocircuits’ fees from the price table its calculator runs on, PCBWay’s live quote) and the bare board’s surcharges, with savings one click away.
  • Values check: cheaper ways to make each resistor and capacitor value, such as 31.6 kΩ as 30 kΩ + 1.5 kΩ in series, both Basic parts at JLCPCB.
  • Optimize cost with the agent ✦ goes through the design part by part, following a cost guide, and asks before a change you may care about.

Parts and datasheets

  • Design with the datasheet: an import notes the pages with the typical application, the design procedure and the layout guidelines. The agent starts from them and cites the page each choice comes from; the Parts view links to them.
  • A part with only a link to its datasheet gets the PDF downloaded on the first read.
  • Imports catch a package family that contradicts the package name, and AGND, PGND, AVSS and DVSS count as grounds.

Fixes

  • GitHub Copilot in VS Code left out the design_edit and read_datasheet tools.
  • Saving an imported part failed with “The object can not be cloned” once a second-pass value was picked.
  • Accept and Reject could end up under the layout’s tool bar.
  • Datasheet text could not be read in Safari (search, page text, the pin-row highlight).
  • Pours were drawn wrong: only their thermal spokes showed on free-form outlines, and on rectangular boards the clearances round tracks were filled in.
  • A graphic made of many dots failed with “Maximum call stack size exceeded”.
  • The chat box was clipped and showed a scrollbar.

0.1.0

Release on GitHub

The first release you can download: a Mac app and Linux archives from 4k7.dev, with Node inside, so there is nothing else to install.

  • Describe the circuit in the chat and the agent designs it through a typed operation API; every change is a checked changeset to accept or reject, with Undo and Redo.
  • The schematic draws itself onto A4, A3 or A2 pages, never splitting a functional block, with net labels that show the signal’s direction and a standard title block.
  • The board is placed and routed from the schematic, with a ground pour, parts on both sides, DRC, 2D and 3D views and fabrication panels with mouse bites, and exported as Gerber, drill, BOM and pick-and-place.
  • Manufacturer limits for JLCPCB, PCBWay and Eurocircuits; parts from JLCPCB’s catalogue with their LCSC numbers in the BOM.
  • Parts from datasheet PDFs: the symbol and footprint are generated from the pin table and package the agent reads.
  • A design document from the design: the functional blocks, the board in 3D, an assembly drawing, the BOM and the schematic pages.
  • Chat in the app through Claude Code or with an Anthropic API key, or drive 4k7 from your agent over MCP.